Spirng+SpringMVC+Maven+Mybatis+MySQL項目搭建(轉)


這篇文章主要講解使用eclipse對Spirng+SpringMVC+Maven+Mybatis+MySQL項目搭建過程,包括里面步驟和里面的配置文件如何配置等等都會詳細說明。

如果還沒有搭建好環境(主要是Maven+MySQL的配置)的猿友可以參考博主以前的一篇文章: 
http://blog.csdn.net/u013142781/article/details/50300233

接下來馬上進入項目搭建過程:

1、創建表,並插入數據:

CREATE DATABASE `ssi` /*!40100 DEFAULT CHARACTER SET utf8 */

 

CREATE TABLE `t_user` (
  `USER_ID` int(11) NOT NULL AUTO_INCREMENT,
  `USER_NAME` char(30) NOT NULL,
  `USER_PASSWORD` char(10) NOT NULL,
  PRIMARY KEY (`USER_ID`),
  KEY `IDX_NAME` (`USER_NAME`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8

 

INSERT INTO t_user (USER_ID, USER_NAME, USER_PASSWORD) VALUES (1, 'luoguohui', '123456');
INSERT INTO t_user (USER_ID, USER_NAME, USER_PASSWORD) VALUES (2, 'zhangsan', '123456');

2、Maven工程創建

這里寫圖片描述

3、選擇快速框架

這里寫圖片描述

4、輸出項目名,包(Packaging,如果只是普通的項目,選jar就好了,如果是web項目就選war,這里是web項目,所以選擇war)

這里寫圖片描述

5、創建好的目錄如下:

這里寫圖片描述

6、添加包的依賴,編輯pom.xml文件添加如下依賴:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.luo</groupId> <artifactId>first_maven_project</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>war</packaging> <properties> <!-- spring版本號 --> <spring.version>3.2.8.RELEASE</spring.version> <!-- log4j日志文件管理包版本 --> <slf4j.version>1.6.6</slf4j.version> <log4j.version>1.2.12</log4j.version> <!-- junit版本號 --> <junit.version>4.10</junit.version> <!-- mybatis版本號 --> <mybatis.version>3.2.1</mybatis.version> </properties> <dependencies> <!-- 添加Spring依賴 --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context-support</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-aop</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-aspects</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-tx</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-jdbc</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>${spring.version}</version> </dependency> <!--單元測試依賴 --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <!-- 日志文件管理包 --> <!-- log start --> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>${log4j.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>${slf4j.version}</version> </dependency> <!-- log end --> <!--spring單元測試依賴 --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>${spring.version}</version> <scope>test</scope> </dependency> <!--mybatis依賴 --> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>${mybatis.version}</version> </dependency> <!-- mybatis/spring包 --> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis-spring</artifactId> <version>1.2.0</version> </dependency> <!-- mysql驅動包 --> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.29</version> </dependency> </dependencies> </project>

7、配置文件:

這里寫圖片描述

7.1、mybatis包下添加mybatis-config.xml文件(mybatis配置文件):

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dtd"> <configuration> </configuration>

7.2、properties包下添加jdbc.properties文件(數據源配置文件):

jdbc_driverClassName=com.mysql.jdbc.Driver jdbc_url=jdbc:mysql://localhost:3306/ssi jdbc_username=root jdbc_password=root

7.3、mapper包下userMapper.xml配置文件(表映射文件):

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.luo.dao.UserDao"> <!--設置domain類和數據庫中表的字段一一對應,注意數據庫字段和domain類中的字段名稱不致,此處一定要!--> <resultMap id="BaseResultMap" type="com.luo.domain.User"> <id column="USER_ID" property="userId" jdbcType="INTEGER" /> <result column="USER_NAME" property="userName" jdbcType="CHAR" /> <result column="USER_PASSWORD" property="userPassword" jdbcType="CHAR" /> </resultMap> <!-- 查詢單條記錄 --> <select id="selectUserById" parameterType="int" resultMap="BaseResultMap"> SELECT * FROM t_user WHERE USER_ID = #{userId} </select> </mapper>

7.4、spring配置文件application.xml:

<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:aop="http://www.springframework.org/schema/aop" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd"> <!-- 引入jdbc配置文件 --> <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="locations"> <list> <value>classpath:properties/*.properties</value> <!--要是有多個配置文件,只需在這里繼續添加即可 --> </list> </property> </bean> <!-- 配置數據源 --> <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource"> <!-- 不使用properties來配置 --> <!-- <property name="driverClassName" value="com.mysql.jdbc.Driver" /> <property name="url" value="jdbc:mysql://localhost:3306/learning" /> <property name="username" value="root" /> <property name="password" value="christmas258@" /> --> <!-- 使用properties來配置 --> <property name="driverClassName"> <value>${jdbc_driverClassName}</value> </property> <property name="url"> <value>${jdbc_url}</value> </property> <property name="username"> <value>${jdbc_username}</value> </property> <property name="password"> <value>${jdbc_password}</value> </property> </bean> <!-- 自動掃描了所有的XxxxMapper.xml對應的mapper接口文件,這樣就不用一個一個手動配置Mpper的映射了,只要Mapper接口類和Mapper映射文件對應起來就可以了。 --> <bean class="org.mybatis.spring.mapper.MapperScannerConfigurer"> <property name="basePackage" value="com.luo.dao" /> </bean> <!-- 配置Mybatis的文件 ,mapperLocations配置**Mapper.xml文件位置,configLocation配置mybatis-config文件位置--> <bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean"> <property name="dataSource" ref="dataSource" /> <property name="mapperLocations" value="classpath:mapper/*.xml"/> <property name="configLocation" value="classpath:mybatis/mybatis-config.xml" /> <!-- <property name="typeAliasesPackage" value="com.tiantian.ckeditor.model" /> --> </bean> <!-- 自動掃描注解的bean --> <context:component-scan base-package="com.luo.service" /> </beans>

8、接口和類的配置:

這里寫圖片描述

8.1、com.luo.domain下添加User.java文件:

package com.ssi.domain;

public class User {
    private Integer userId;
    private String userName;
    private String userPassword;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    @Override
    public String toString() {
        return "User [userId=" + userId + ", userName=" + userName + ", userPassword=" + userPassword + "]";
    }

}
 

8.2、com.luo.dao下添加UserDao.java文件:

package com.luo.dao; import com.luo.domain.User; public interface UserDao { /** * @param userId * @return User */ public User selectUserById(Integer userId); }

8.3、com.luo.service下添加UserService.java接口和UserServiceImpl實現類:

package com.luo.service; import com.luo.domain.User; public interface UserService { User selectUserById(Integer userId); }
package com.luo.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.luo.dao.UserDao; import com.luo.domain.User; @Service public class UserServiceImpl implements UserService { @Autowired private UserDao userDao; public User selectUserById(Integer userId) { return userDao.selectUserById(userId); } 
}  

9、單元測試

這里寫圖片描述

9.1、com.luo.baseTest下添加SpringTestCase.java:

package com.luo.baseTest; import org.junit.runner.RunWith; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; //指定bean注入的配置文件 @ContextConfiguration(locations = { "classpath:application.xml" }) //使用標准的JUnit @RunWith注釋來告訴JUnit使用Spring TestRunner @RunWith(SpringJUnit4ClassRunner.class) public class SpringTestCase extends AbstractJUnit4SpringContextTests { }

9.2、com.luo.service添加UserServiceTest.java:

package com.ssi.service;

import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

import com.ssi.domain.User;

public class UserServiceTest extends SpringTestCase {
    @Autowired
    private UserService userService;

    @Test
    public void selectUserByIdTest() {
        User user = userService.selectUserById(1);
        System.out.println(user);
    }
}

 

src/main/resources包下添加log4j.properties文件(log4j的配置文件):
log4j.rootLogger=all, R1,console
log4j.appender.R1=org.apache.log4j.DailyRollingFileAppender
log4j.appender.R1.File=logs/ssi.log
log4j.appender.R1.DatePattern='_'yyyy-MM-dd'.log'
log4j.appender.R1.layout=org.apache.log4j.PatternLayout
log4j.appender.R1.layout.ConversionPattern=[%d] [%t] %p - %m%n


log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=[%d] [%t] %p - %m%n

 

9.3、運行單元測試,UserServiceTest右鍵Run As –>Junit Test,運行結果:

 

[2016-06-25 20:32:09,567] [main] DEBUG - SpringJUnit4ClassRunner constructor called with [class com.ssi.service.UserServiceTest].
[2016-06-25 20:32:09,598] [main] TRACE - Retrieved @ContextConfiguration [@org.springframework.test.context.ContextConfiguration(inheritInitializers=true, loader=interface org.springframework.test.context.ContextLoader, initializers=[], classes=[], name=, locations=[classpath:application.xml], value=[], inheritLocations=true)] for declaring class [com.ssi.service.SpringTestCase].
[2016-06-25 20:32:09,610] [main] TRACE - Resolved context configuration attributes: [ContextConfigurationAttributes@b8f8f4 declaringClass = 'com.ssi.service.SpringTestCase', locations = '{classpath:application.xml}', classes = '{}', inheritLocations = true, initializers = '{}', inheritInitializers = true, name = [null], contextLoaderClass = 'org.springframework.test.context.ContextLoader']
[2016-06-25 20:32:09,613] [main] TRACE - Processing ContextLoader for context configuration attributes [ContextConfigurationAttributes@b8f8f4 declaringClass = 'com.ssi.service.SpringTestCase', locations = '{classpath:application.xml}', classes = '{}', inheritLocations = true, initializers = '{}', inheritInitializers = true, name = [null], contextLoaderClass = 'org.springframework.test.context.ContextLoader']
[2016-06-25 20:32:09,613] [main] TRACE - Using default ContextLoader class [org.springframework.test.context.support.DelegatingSmartContextLoader] for test class [com.ssi.service.UserServiceTest]
[2016-06-25 20:32:09,635] [main] TRACE - Processing locations and classes for context configuration attributes [ContextConfigurationAttributes@b8f8f4 declaringClass = 'com.ssi.service.SpringTestCase', locations = '{classpath:application.xml}', classes = '{}', inheritLocations = true, initializers = '{}', inheritInitializers = true, name = [null], contextLoaderClass = 'org.springframework.test.context.ContextLoader']
[2016-06-25 20:32:09,636] [main] DEBUG - Delegating to GenericXmlContextLoader to process context configuration [ContextConfigurationAttributes@b8f8f4 declaringClass = 'com.ssi.service.SpringTestCase', locations = '{classpath:application.xml}', classes = '{}', inheritLocations = true, initializers = '{}', inheritInitializers = true, name = [null], contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
[2016-06-25 20:32:09,638] [main] TRACE - Processing context initializers for context configuration attributes [ContextConfigurationAttributes@b8f8f4 declaringClass = 'com.ssi.service.SpringTestCase', locations = '{classpath:application.xml}', classes = '{}', inheritLocations = true, initializers = '{}', inheritInitializers = true, name = [null], contextLoaderClass = 'org.springframework.test.context.ContextLoader']
[2016-06-25 20:32:09,639] [main] DEBUG - Could not find an 'annotation declaring class' for annotation type [org.springframework.test.context.ActiveProfiles] and class [com.ssi.service.UserServiceTest]
[2016-06-25 20:32:09,642] [main] TRACE - Retrieved @TestExecutionListeners [@org.springframework.test.context.TestExecutionListeners(listeners=[], value=[class org.springframework.test.context.web.ServletTestExecutionListener, class org.springframework.test.context.support.DependencyInjectionTestExecutionListener, class org.springframework.test.context.support.DirtiesContextTestExecutionListener], inheritListeners=true)] for declaring class [class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests].
[2016-06-25 20:32:09,649] [main] TRACE - Registering TestExecutionListener: org.springframework.test.context.web.ServletTestExecutionListener@7c703b
[2016-06-25 20:32:09,649] [main] TRACE - Registering TestExecutionListener: org.springframework.test.context.support.DependencyInjectionTestExecutionListener@4aed64
[2016-06-25 20:32:09,649] [main] TRACE - Registering TestExecutionListener: org.springframework.test.context.support.DirtiesContextTestExecutionListener@39f790
[2016-06-25 20:32:09,653] [main] DEBUG - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.ssi.service.UserServiceTest]
[2016-06-25 20:32:09,653] [main] DEBUG - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.ssi.service.UserServiceTest]
[2016-06-25 20:32:09,662] [main] DEBUG - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.ssi.service.UserServiceTest]
[2016-06-25 20:32:09,662] [main] DEBUG - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.ssi.service.UserServiceTest]
[2016-06-25 20:32:09,664] [main] DEBUG - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.ssi.service.UserServiceTest]
[2016-06-25 20:32:09,664] [main] DEBUG - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.ssi.service.UserServiceTest]
[2016-06-25 20:32:09,665] [main] DEBUG - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.ssi.service.UserServiceTest]
[2016-06-25 20:32:09,665] [main] DEBUG - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.ssi.service.UserServiceTest]
[2016-06-25 20:32:09,666] [main] TRACE - beforeTestClass(): class [class com.ssi.service.UserServiceTest]
[2016-06-25 20:32:09,667] [main] DEBUG - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.ssi.service.UserServiceTest]
[2016-06-25 20:32:09,667] [main] DEBUG - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.ssi.service.UserServiceTest]
[2016-06-25 20:32:09,671] [main] TRACE - prepareTestInstance(): instance [com.ssi.service.UserServiceTest@180d80f]
[2016-06-25 20:32:09,678] [main] DEBUG - Performing dependency injection for test context [[TestContext@864e92 testClass = UserServiceTest, testInstance = com.ssi.service.UserServiceTest@180d80f, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@a6d14e testClass = UserServiceTest, locations = '{classpath:application.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]].
[2016-06-25 20:32:09,678] [main] DEBUG - Delegating to GenericXmlContextLoader to load context from [MergedContextConfiguration@a6d14e testClass = UserServiceTest, locations = '{classpath:application.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]].
[2016-06-25 20:32:09,678] [main] DEBUG - Loading ApplicationContext for merged context configuration [[MergedContextConfiguration@a6d14e testClass = UserServiceTest, locations = '{classpath:application.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]].
[2016-06-25 20:32:09,802] [main] DEBUG - Adding [systemProperties] PropertySource with lowest search precedence
[2016-06-25 20:32:09,803] [main] DEBUG - Adding [systemEnvironment] PropertySource with lowest search precedence
[2016-06-25 20:32:09,803] [main] DEBUG - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
[2016-06-25 20:32:09,820] [main] INFO - Loading XML bean definitions from class path resource [application.xml]
[2016-06-25 20:32:09,842] [main] DEBUG - Using JAXP provider [com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl]
[2016-06-25 20:32:09,880] [main] TRACE - Trying to resolve XML entity with public id [null] and system id [http://www.springframework.org/schema/beans/spring-beans-3.0.xsd]
[2016-06-25 20:32:09,880] [main] DEBUG - Loading schema mappings from [META-INF/spring.schemas]
[2016-06-25 20:32:09,885] [main] DEBUG - Loaded schema mappings: {http://mybatis.org/schema/mybatis-spring-1.2.xsd=org/mybatis/spring/config/mybatis-spring-1.2.xsd, http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-3.2.xsd, http://www.springframework.org/schema/jee/spring-jee-3.2.xsd=org/springframework/ejb/config/spring-jee-3.2.xsd, http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd=org/springframework/web/servlet/config/spring-mvc-3.1.xsd, http://www.springframework.org/schema/task/spring-task.xsd=org/springframework/scheduling/config/spring-task-3.2.xsd, http://www.springframework.org/schema/beans/spring-beans-3.1.xsd=org/springframework/beans/factory/xml/spring-beans-3.1.xsd, http://www.springframework.org/schema/cache/spring-cache.xsd=org/springframework/cache/config/spring-cache-3.2.xsd, http://www.springframework.org/schema/aop/spring-aop-3.0.xsd=org/springframework/aop/config/spring-aop-3.0.xsd, http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd, http://www.springframework.org/schema/task/spring-task-3.1.xsd=org/springframework/scheduling/config/spring-task-3.1.xsd, http://www.springframework.org/schema/tool/spring-tool-2.5.xsd=org/springframework/beans/factory/xml/spring-tool-2.5.xsd, http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-3.2.xsd, http://www.springframework.org/schema/jee/spring-jee-2.5.xsd=org/springframework/ejb/config/spring-jee-2.5.xsd, http://www.springframework.org/schema/jdbc/spring-jdbc-3.1.xsd=org/springframework/jdbc/config/spring-jdbc-3.1.xsd, http://www.springframework.org/schema/tool/spring-tool-3.1.xsd=org/springframework/beans/factory/xml/spring-tool-3.1.xsd, http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-3.2.xsd, http://www.springframework.org/schema/jee/spring-jee-3.1.xsd=org/springframework/ejb/config/spring-jee-3.1.xsd, http://www.springframework.org/schema/tx/spring-tx-3.2.xsd=org/springframework/transaction/config/spring-tx-3.2.xsd, http://www.springframework.org/schema/context/spring-context-3.2.xsd=org/springframework/context/config/spring-context-3.2.xsd, http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd, http://www.springframework.org/schema/util/spring-util-3.2.xsd=org/springframework/beans/factory/xml/spring-util-3.2.xsd, http://www.springframework.org/schema/lang/spring-lang-3.2.xsd=org/springframework/scripting/config/spring-lang-3.2.xsd, http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd=org/springframework/web/servlet/config/spring-mvc-3.0.xsd, http://www.springframework.org/schema/beans/spring-beans-3.0.xsd=org/springframework/beans/factory/xml/spring-beans-3.0.xsd, http://www.springframework.org/schema/cache/spring-cache-3.2.xsd=org/springframework/cache/config/spring-cache-3.2.xsd, http://www.springframework.org/schema/task/spring-task-3.0.xsd=org/springframework/scheduling/config/spring-task-3.0.xsd, http://mybatis.org/schema/mybatis-spring.xsd=org/mybatis/spring/config/mybatis-spring-1.2.xsd, http://www.springframework.org/schema/tx/spring-tx-2.5.xsd=org/springframework/transaction/config/spring-tx-2.5.xsd, http://www.springframework.org/schema/context/spring-context-2.5.xsd=org/springframework/context/config/spring-context-2.5.xsd, http://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd=org/springframework/jdbc/config/spring-jdbc-3.0.xsd, http://www.springframework.org/schema/tool/spring-tool-3.0.xsd=org/springframework/beans/factory/xml/spring-tool-3.0.xsd, http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-3.2.xsd, http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-3.2.xsd, http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd, http://www.springframework.org/schema/util/spring-util-2.5.xsd=org/springframework/beans/factory/xml/spring-util-2.5.xsd, http://www.springframework.org/schema/lang/spring-lang-2.5.xsd=org/springframework/scripting/config/spring-lang-2.5.xsd, http://www.springframework.org/schema/aop/spring-aop-3.2.xsd=org/springframework/aop/config/spring-aop-3.2.xsd, http://www.springframework.org/schema/jee/spring-jee-3.0.xsd=org/springframework/ejb/config/spring-jee-3.0.xsd, http://www.springframework.org/schema/tx/spring-tx-3.1.xsd=org/springframework/transaction/config/spring-tx-3.1.xsd, http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd, http://www.springframework.org/schema/context/spring-context-3.1.xsd=org/springframework/context/config/spring-context-3.1.xsd, http://www.springframework.org/schema/util/spring-util-3.1.xsd=org/springframework/beans/factory/xml/spring-util-3.1.xsd, http://www.springframework.org/schema/lang/spring-lang-3.1.xsd=org/springframework/scripting/config/spring-lang-3.1.xsd, http://www.springframework.org/schema/cache/spring-cache-3.1.xsd=org/springframework/cache/config/spring-cache-3.1.xsd, http://www.springframework.org/schema/context/spring-context.xsd=org/springframework/context/config/spring-context-3.2.xsd, http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-3.2.xsd, http://www.springframework.org/schema/aop/spring-aop-2.5.xsd=org/springframework/aop/config/spring-aop-2.5.xsd, http://www.springframework.org/schema/mvc/spring-mvc.xsd=org/springframework/web/servlet/config/spring-mvc-3.2.xsd, http://www.springframework.org/schema/jdbc/spring-jdbc.xsd=org/springframework/jdbc/config/spring-jdbc-3.2.xsd, http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd=org/springframework/web/servlet/config/spring-mvc-3.2.xsd, http://www.springframework.org/schema/beans/spring-beans-3.2.xsd=org/springframework/beans/factory/xml/spring-beans-3.2.xsd, http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd, http://www.springframework.org/schema/aop/spring-aop-3.1.xsd=org/springframework/aop/config/spring-aop-3.1.xsd, http://www.springframework.org/schema/task/spring-task-3.2.xsd=org/springframework/scheduling/config/spring-task-3.2.xsd, http://www.springframework.org/schema/tx/spring-tx-3.0.xsd=org/springframework/transaction/config/spring-tx-3.0.xsd, http://www.springframework.org/schema/context/spring-context-3.0.xsd=org/springframework/context/config/spring-context-3.0.xsd, http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-3.2.xsd, http://www.springframework.org/schema/util/spring-util-3.0.xsd=org/springframework/beans/factory/xml/spring-util-3.0.xsd, http://www.springframework.org/schema/lang/spring-lang-3.0.xsd=org/springframework/scripting/config/spring-lang-3.0.xsd, http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd, http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd, http://www.springframework.org/schema/jdbc/spring-jdbc-3.2.xsd=org/springframework/jdbc/config/spring-jdbc-3.2.xsd, http://www.springframework.org/schema/tool/spring-tool-3.2.xsd=org/springframework/beans/factory/xml/spring-tool-3.2.xsd, http://www.springframework.org/schema/beans/spring-beans-2.5.xsd=org/springframework/beans/factory/xml/spring-beans-2.5.xsd}
[2016-06-25 20:32:09,886] [main] DEBUG - Found XML schema [http://www.springframework.org/schema/beans/spring-beans-3.0.xsd] in classpath: org/springframework/beans/factory/xml/spring-beans-3.0.xsd
[2016-06-25 20:32:09,937] [main] TRACE - Trying to resolve XML entity with public id [null] and system id [http://www.springframework.org/schema/context/spring-context-3.0.xsd]
[2016-06-25 20:32:09,938] [main] DEBUG - Found XML schema [http://www.springframework.org/schema/context/spring-context-3.0.xsd] in classpath: org/springframework/context/config/spring-context-3.0.xsd
[2016-06-25 20:32:09,944] [main] TRACE - Trying to resolve XML entity with public id [null] and system id [http://www.springframework.org/schema/tool/spring-tool-3.0.xsd]
[2016-06-25 20:32:09,944] [main] DEBUG - Found XML schema [http://www.springframework.org/schema/tool/spring-tool-3.0.xsd] in classpath: org/springframework/beans/factory/xml/spring-tool-3.0.xsd
[2016-06-25 20:32:09,961] [main] DEBUG - Loading bean definitions
[2016-06-25 20:32:09,981] [main] DEBUG - Loaded NamespaceHandler mappings: {http://www.springframework.org/schema/p=org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler, http://www.springframework.org/schema/mvc=org.springframework.web.servlet.config.MvcNamespaceHandler, http://www.springframework.org/schema/util=org.springframework.beans.factory.xml.UtilNamespaceHandler, http://www.springframework.org/schema/jee=org.springframework.ejb.config.JeeNamespaceHandler, http://www.springframework.org/schema/aop=org.springframework.aop.config.AopNamespaceHandler, http://www.springframework.org/schema/jdbc=org.springframework.jdbc.config.JdbcNamespaceHandler, http://www.springframework.org/schema/cache=org.springframework.cache.config.CacheNamespaceHandler, http://mybatis.org/schema/mybatis-spring=org.mybatis.spring.config.NamespaceHandler, http://www.springframework.org/schema/c=org.springframework.beans.factory.xml.SimpleConstructorNamespaceHandler, http://www.springframework.org/schema/tx=org.springframework.transaction.config.TxNamespaceHandler, http://www.springframework.org/schema/task=org.springframework.scheduling.config.TaskNamespaceHandler, http://www.springframework.org/schema/lang=org.springframework.scripting.config.LangNamespaceHandler, http://www.springframework.org/schema/context=org.springframework.context.config.ContextNamespaceHandler}
[2016-06-25 20:32:10,006] [main] DEBUG - JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning
[2016-06-25 20:32:10,008] [main] DEBUG - JSR-330 'javax.inject.Named' annotation found and supported for component scanning
[2016-06-25 20:32:10,015] [main] DEBUG - Looking for matching resources in directory tree [E:\java\sts\workspace\ssi_demo\target\test-classes\com\ssi\service]
[2016-06-25 20:32:10,015] [main] DEBUG - Searching directory [E:\java\sts\workspace\ssi_demo\target\test-classes\com\ssi\service] for files matching pattern [E:/java/sts/workspace/ssi_demo/target/test-classes/com/ssi/service/**/*.class]
[2016-06-25 20:32:10,020] [main] DEBUG - Looking for matching resources in directory tree [E:\java\sts\workspace\ssi_demo\target\classes\com\ssi\service]
[2016-06-25 20:32:10,020] [main] DEBUG - Searching directory [E:\java\sts\workspace\ssi_demo\target\classes\com\ssi\service] for files matching pattern [E:/java/sts/workspace/ssi_demo/target/classes/com/ssi/service/**/*.class]
[2016-06-25 20:32:10,021] [main] DEBUG - Resolved location pattern [classpath*:com/ssi/service/**/*.class] to resources [file [E:\java\sts\workspace\ssi_demo\target\test-classes\com\ssi\service\SpringTestCase.class], file [E:\java\sts\workspace\ssi_demo\target\test-classes\com\ssi\service\UserServiceTest.class], file [E:\java\sts\workspace\ssi_demo\target\classes\com\ssi\service\UserService.class], file [E:\java\sts\workspace\ssi_demo\target\classes\com\ssi\service\UserServiceImpl.class]]
[2016-06-25 20:32:10,021] [main] TRACE - Scanning file [E:\java\sts\workspace\ssi_demo\target\test-classes\com\ssi\service\SpringTestCase.class]
[2016-06-25 20:32:10,051] [main] TRACE - Ignored because not matching any filter: file [E:\java\sts\workspace\ssi_demo\target\test-classes\com\ssi\service\SpringTestCase.class]
[2016-06-25 20:32:10,051] [main] TRACE - Scanning file [E:\java\sts\workspace\ssi_demo\target\test-classes\com\ssi\service\UserServiceTest.class]
[2016-06-25 20:32:10,052] [main] TRACE - Ignored because not matching any filter: file [E:\java\sts\workspace\ssi_demo\target\test-classes\com\ssi\service\UserServiceTest.class]
[2016-06-25 20:32:10,052] [main] TRACE - Scanning file [E:\java\sts\workspace\ssi_demo\target\classes\com\ssi\service\UserService.class]
[2016-06-25 20:32:10,053] [main] TRACE - Ignored because not matching any filter: file [E:\java\sts\workspace\ssi_demo\target\classes\com\ssi\service\UserService.class]
[2016-06-25 20:32:10,053] [main] TRACE - Scanning file [E:\java\sts\workspace\ssi_demo\target\classes\com\ssi\service\UserServiceImpl.class]
[2016-06-25 20:32:10,061] [main] DEBUG - Identified candidate component class: file [E:\java\sts\workspace\ssi_demo\target\classes\com\ssi\service\UserServiceImpl.class]
[2016-06-25 20:32:10,085] [main] DEBUG - Neither XML 'id' nor 'name' specified - using generated bean name [org.mybatis.spring.mapper.MapperScannerConfigurer#0]
[2016-06-25 20:32:10,086] [main] DEBUG - Loaded 9 bean definitions from location pattern [classpath:application.xml]
[2016-06-25 20:32:10,090] [main] INFO - Refreshing org.springframework.context.support.GenericApplicationContext@1251891: startup date [Sat Jun 25 20:32:10 CST 2016]; root of context hierarchy
[2016-06-25 20:32:10,090] [main] DEBUG - Bean factory for org.springframework.context.support.GenericApplicationContext@1251891: org.springframework.beans.factory.support.DefaultListableBeanFactory@126f7b2: defining beans [userServiceImpl,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,propertyConfigurer,dataSource,org.mybatis.spring.mapper.MapperScannerConfigurer#0,sqlSessionFactory]; root of factory hierarchy
[2016-06-25 20:32:10,116] [main] DEBUG - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
[2016-06-25 20:32:10,116] [main] DEBUG - Creating instance of bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
[2016-06-25 20:32:10,137] [main] DEBUG - Eagerly caching bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor' to allow for resolving potential circular references
[2016-06-25 20:32:10,140] [main] DEBUG - Finished creating instance of bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
[2016-06-25 20:32:10,140] [main] DEBUG - Creating shared instance of singleton bean 'org.mybatis.spring.mapper.MapperScannerConfigurer#0'
[2016-06-25 20:32:10,140] [main] DEBUG - Creating instance of bean 'org.mybatis.spring.mapper.MapperScannerConfigurer#0'
[2016-06-25 20:32:10,141] [main] DEBUG - Eagerly caching bean 'org.mybatis.spring.mapper.MapperScannerConfigurer#0' to allow for resolving potential circular references
[2016-06-25 20:32:10,164] [main] TRACE - Loaded [org.springframework.beans.BeanInfoFactory] names: [org.springframework.beans.ExtendedBeanInfoFactory]
[2016-06-25 20:32:10,165] [main] TRACE - Getting BeanInfo for class [org.mybatis.spring.mapper.MapperScannerConfigurer]
[2016-06-25 20:32:10,178] [main] TRACE - Caching PropertyDescriptors for class [org.mybatis.spring.mapper.MapperScannerConfigurer]
[2016-06-25 20:32:10,178] [main] TRACE - Found bean property 'addToConfig' of type [boolean]
[2016-06-25 20:32:10,179] [main] TRACE - Found bean property 'annotationClass' of type [java.lang.Class]
[2016-06-25 20:32:10,180] [main] TRACE - Found bean property 'applicationContext' of type [org.springframework.context.ApplicationContext]
[2016-06-25 20:32:10,180] [main] TRACE - Found bean property 'basePackage' of type [java.lang.String]
[2016-06-25 20:32:10,180] [main] TRACE - Found bean property 'beanName' of type [java.lang.String]
[2016-06-25 20:32:10,180] [main] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 20:32:10,180] [main] TRACE - Found bean property 'markerInterface' of type [java.lang.Class]
[2016-06-25 20:32:10,180] [main] TRACE - Found bean property 'nameGenerator' of type [org.springframework.beans.factory.support.BeanNameGenerator]
[2016-06-25 20:32:10,181] [main] TRACE - Found bean property 'processPropertyPlaceHolders' of type [boolean]
[2016-06-25 20:32:10,181] [main] TRACE - Found bean property 'sqlSessionFactory' of type [org.apache.ibatis.session.SqlSessionFactory]
[2016-06-25 20:32:10,181] [main] TRACE - Found bean property 'sqlSessionFactoryBeanName' of type [java.lang.String]
[2016-06-25 20:32:10,181] [main] TRACE - Found bean property 'sqlSessionTemplate' of type [org.mybatis.spring.SqlSessionTemplate]
[2016-06-25 20:32:10,181] [main] TRACE - Found bean property 'sqlSessionTemplateBeanName' of type [java.lang.String]
[2016-06-25 20:32:10,202] [main] DEBUG - Invoking afterPropertiesSet() on bean with name 'org.mybatis.spring.mapper.MapperScannerConfigurer#0'
[2016-06-25 20:32:10,202] [main] DEBUG - Finished creating instance of bean 'org.mybatis.spring.mapper.MapperScannerConfigurer#0'
[2016-06-25 20:32:10,233] [main] DEBUG - Adding [systemProperties] PropertySource with lowest search precedence
[2016-06-25 20:32:10,234] [main] DEBUG - Adding [systemEnvironment] PropertySource with lowest search precedence
[2016-06-25 20:32:10,234] [main] DEBUG - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
[2016-06-25 20:32:10,236] [main] DEBUG - Looking for matching resources in directory tree [E:\java\sts\workspace\ssi_demo\target\classes\com\ssi\dao]
[2016-06-25 20:32:10,236] [main] DEBUG - Searching directory [E:\java\sts\workspace\ssi_demo\target\classes\com\ssi\dao] for files matching pattern [E:/java/sts/workspace/ssi_demo/target/classes/com/ssi/dao/**/*.class]
[2016-06-25 20:32:10,236] [main] DEBUG - Resolved location pattern [classpath*:com/ssi/dao/**/*.class] to resources [file [E:\java\sts\workspace\ssi_demo\target\classes\com\ssi\dao\UserDao.class]]
[2016-06-25 20:32:10,236] [main] TRACE - Scanning file [E:\java\sts\workspace\ssi_demo\target\classes\com\ssi\dao\UserDao.class]
[2016-06-25 20:32:10,237] [main] DEBUG - Identified candidate component class: file [E:\java\sts\workspace\ssi_demo\target\classes\com\ssi\dao\UserDao.class]
[2016-06-25 20:32:10,237] [main] DEBUG - Creating MapperFactoryBean with name 'userDao' and 'com.ssi.dao.UserDao' mapperInterface
[2016-06-25 20:32:10,239] [main] DEBUG - Enabling autowire by type for MapperFactoryBean with name 'userDao'.
[2016-06-25 20:32:10,240] [main] DEBUG - Creating shared instance of singleton bean 'propertyConfigurer'
[2016-06-25 20:32:10,240] [main] DEBUG - Creating instance of bean 'propertyConfigurer'
[2016-06-25 20:32:10,243] [main] DEBUG - Eagerly caching bean 'propertyConfigurer' to allow for resolving potential circular references
[2016-06-25 20:32:10,244] [main] TRACE - Getting BeanInfo for class [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]
[2016-06-25 20:32:10,258] [main] TRACE - Caching PropertyDescriptors for class [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]
[2016-06-25 20:32:10,258] [main] TRACE - Found bean property 'beanFactory' of type [org.springframework.beans.factory.BeanFactory]
[2016-06-25 20:32:10,258] [main] TRACE - Found bean property 'beanName' of type [java.lang.String]
[2016-06-25 20:32:10,258] [main] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 20:32:10,258] [main] TRACE - Found bean property 'fileEncoding' of type [java.lang.String]
[2016-06-25 20:32:10,258] [main] TRACE - Found bean property 'ignoreResourceNotFound' of type [boolean]
[2016-06-25 20:32:10,259] [main] TRACE - Found bean property 'ignoreUnresolvablePlaceholders' of type [boolean]
[2016-06-25 20:32:10,259] [main] TRACE - Found bean property 'localOverride' of type [boolean]
[2016-06-25 20:32:10,259] [main] TRACE - Found bean property 'location' of type [org.springframework.core.io.Resource]
[2016-06-25 20:32:10,259] [main] TRACE - Found bean property 'locations' of type [[Lorg.springframework.core.io.Resource;]
[2016-06-25 20:32:10,259] [main] TRACE - Found bean property 'nullValue' of type [java.lang.String]
[2016-06-25 20:32:10,259] [main] TRACE - Found bean property 'order' of type [int]
[2016-06-25 20:32:10,259] [main] TRACE - Found bean property 'placeholderPrefix' of type [java.lang.String]
[2016-06-25 20:32:10,259] [main] TRACE - Found bean property 'placeholderSuffix' of type [java.lang.String]
[2016-06-25 20:32:10,260] [main] TRACE - Found bean property 'properties' of type [java.util.Properties]
[2016-06-25 20:32:10,260] [main] TRACE - Found bean property 'propertiesArray' of type [[Ljava.util.Properties;]
[2016-06-25 20:32:10,260] [main] TRACE - Found bean property 'propertiesPersister' of type [org.springframework.util.PropertiesPersister]
[2016-06-25 20:32:10,260] [main] TRACE - Found bean property 'searchSystemEnvironment' of type [boolean]
[2016-06-25 20:32:10,260] [main] TRACE - Found bean property 'systemPropertiesMode' of type [int]
[2016-06-25 20:32:10,260] [main] TRACE - Found bean property 'systemPropertiesModeName' of type [java.lang.String]
[2016-06-25 20:32:10,260] [main] TRACE - Found bean property 'valueSeparator' of type [java.lang.String]
[2016-06-25 20:32:10,261] [main] DEBUG - Looking for matching resources in directory tree [E:\java\sts\workspace\ssi_demo\target\classes\properties]
[2016-06-25 20:32:10,261] [main] DEBUG - Searching directory [E:\java\sts\workspace\ssi_demo\target\classes\properties] for files matching pattern [E:/java/sts/workspace/ssi_demo/target/classes/properties/*.properties]
[2016-06-25 20:32:10,262] [main] DEBUG - Resolved location pattern [classpath:properties/*.properties] to resources [file [E:\java\sts\workspace\ssi_demo\target\classes\properties\jdbc.properties]]
[2016-06-25 20:32:10,262] [main] DEBUG - Finished creating instance of bean 'propertyConfigurer'
[2016-06-25 20:32:10,263] [main] INFO - Loading properties file from file [E:\java\sts\workspace\ssi_demo\target\classes\properties\jdbc.properties]
[2016-06-25 20:32:10,266] [main] TRACE - Resolved placeholder 'jdbc_driverClassName'
[2016-06-25 20:32:10,266] [main] TRACE - Resolved placeholder 'jdbc_url'
[2016-06-25 20:32:10,266] [main] TRACE - Resolved placeholder 'jdbc_username'
[2016-06-25 20:32:10,266] [main] TRACE - Resolved placeholder 'jdbc_password'
[2016-06-25 20:32:10,268] [main] DEBUG - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
[2016-06-25 20:32:10,268] [main] DEBUG - Creating instance of bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
[2016-06-25 20:32:10,269] [main] INFO - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
[2016-06-25 20:32:10,269] [main] DEBUG - Eagerly caching bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor' to allow for resolving potential circular references
[2016-06-25 20:32:10,269] [main] DEBUG - Finished creating instance of bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
[2016-06-25 20:32:10,269] [main] DEBUG - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
[2016-06-25 20:32:10,269] [main] DEBUG - Creating instance of bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
[2016-06-25 20:32:10,270] [main] DEBUG - Eagerly caching bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor' to allow for resolving potential circular references
[2016-06-25 20:32:10,270] [main] DEBUG - Finished creating instance of bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
[2016-06-25 20:32:10,270] [main] DEBUG - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
[2016-06-25 20:32:10,270] [main] DEBUG - Creating instance of bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
[2016-06-25 20:32:10,275] [main] DEBUG - Eagerly caching bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor' to allow for resolving potential circular references
[2016-06-25 20:32:10,275] [main] DEBUG - Finished creating instance of bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
[2016-06-25 20:32:10,275] [main] DEBUG - Creating shared instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
[2016-06-25 20:32:10,275] [main] DEBUG - Creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
[2016-06-25 20:32:10,276] [main] DEBUG - Eagerly caching bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor' to allow for resolving potential circular references
[2016-06-25 20:32:10,276] [main] DEBUG - Finished creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
[2016-06-25 20:32:10,279] [main] DEBUG - Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@5fece7]
[2016-06-25 20:32:10,281] [main] DEBUG - Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@1546384]
[2016-06-25 20:32:10,283] [main] INFO - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@126f7b2: defining beans [userServiceImpl,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,propertyConfigurer,dataSource,org.mybatis.spring.mapper.MapperScannerConfigurer#0,sqlSessionFactory,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,userDao]; root of factory hierarchy
[2016-06-25 20:32:10,283] [main] DEBUG - Creating shared instance of singleton bean 'userServiceImpl'
[2016-06-25 20:32:10,283] [main] DEBUG - Creating instance of bean 'userServiceImpl'
[2016-06-25 20:32:10,288] [main] DEBUG - Registered injected element on class [com.ssi.service.UserServiceImpl]: AutowiredFieldElement for private com.ssi.dao.UserDao com.ssi.service.UserServiceImpl.userDao
[2016-06-25 20:32:10,288] [main] DEBUG - Eagerly caching bean 'userServiceImpl' to allow for resolving potential circular references
[2016-06-25 20:32:10,288] [main] TRACE - Getting BeanInfo for class [com.ssi.service.UserServiceImpl]
[2016-06-25 20:32:10,289] [main] TRACE - Caching PropertyDescriptors for class [com.ssi.service.UserServiceImpl]
[2016-06-25 20:32:10,289] [main] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 20:32:10,291] [main] DEBUG - Processing injected method of bean 'userServiceImpl': AutowiredFieldElement for private com.ssi.dao.UserDao com.ssi.service.UserServiceImpl.userDao
[2016-06-25 20:32:10,309] [main] DEBUG - Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.
[2016-06-25 20:32:10,314] [main] DEBUG - Creating shared instance of singleton bean 'userDao'
[2016-06-25 20:32:10,314] [main] DEBUG - Creating instance of bean 'userDao'
[2016-06-25 20:32:10,314] [main] DEBUG - Eagerly caching bean 'userDao' to allow for resolving potential circular references
[2016-06-25 20:32:10,314] [main] TRACE - Getting BeanInfo for class [org.mybatis.spring.mapper.MapperFactoryBean]
[2016-06-25 20:32:10,320] [main] TRACE - Caching PropertyDescriptors for class [org.mybatis.spring.mapper.MapperFactoryBean]
[2016-06-25 20:32:10,320] [main] TRACE - Found bean property 'addToConfig' of type [boolean]
[2016-06-25 20:32:10,320] [main] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 20:32:10,320] [main] TRACE - Found bean property 'mapperInterface' of type [java.lang.Class]
[2016-06-25 20:32:10,320] [main] TRACE - Found bean property 'object' of type [java.lang.Object]
[2016-06-25 20:32:10,320] [main] TRACE - Found bean property 'objectType' of type [java.lang.Class]
[2016-06-25 20:32:10,320] [main] TRACE - Found bean property 'singleton' of type [boolean]
[2016-06-25 20:32:10,320] [main] TRACE - Found bean property 'sqlSession' of type [org.apache.ibatis.session.SqlSession]
[2016-06-25 20:32:10,321] [main] TRACE - Found bean property 'sqlSessionFactory' of type [org.apache.ibatis.session.SqlSessionFactory]
[2016-06-25 20:32:10,321] [main] TRACE - Found bean property 'sqlSessionTemplate' of type [org.mybatis.spring.SqlSessionTemplate]
[2016-06-25 20:32:10,321] [main] DEBUG - Returning eagerly cached instance of singleton bean 'userDao' that is not fully initialized yet - a consequence of a circular reference
[2016-06-25 20:32:10,322] [main] DEBUG - Creating shared instance of singleton bean 'sqlSessionFactory'
[2016-06-25 20:32:10,322] [main] DEBUG - Creating instance of bean 'sqlSessionFactory'
[2016-06-25 20:32:10,325] [main] DEBUG - Eagerly caching bean 'sqlSessionFactory' to allow for resolving potential circular references
[2016-06-25 20:32:10,325] [main] TRACE - Getting BeanInfo for class [org.mybatis.spring.SqlSessionFactoryBean]
[2016-06-25 20:32:10,329] [main] TRACE - Caching PropertyDescriptors for class [org.mybatis.spring.SqlSessionFactoryBean]
[2016-06-25 20:32:10,329] [main] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 20:32:10,329] [main] TRACE - Found bean property 'configLocation' of type [org.springframework.core.io.Resource]
[2016-06-25 20:32:10,329] [main] TRACE - Found bean property 'configurationProperties' of type [java.util.Properties]
[2016-06-25 20:32:10,329] [main] TRACE - Found bean property 'dataSource' of type [javax.sql.DataSource]
[2016-06-25 20:32:10,329] [main] TRACE - Found bean property 'databaseIdProvider' of type [org.apache.ibatis.mapping.DatabaseIdProvider]
[2016-06-25 20:32:10,329] [main] TRACE - Found bean property 'environment' of type [java.lang.String]
[2016-06-25 20:32:10,329] [main] TRACE - Found bean property 'failFast' of type [boolean]
[2016-06-25 20:32:10,330] [main] TRACE - Found bean property 'mapperLocations' of type [[Lorg.springframework.core.io.Resource;]
[2016-06-25 20:32:10,330] [main] TRACE - Found bean property 'object' of type [org.apache.ibatis.session.SqlSessionFactory]
[2016-06-25 20:32:10,330] [main] TRACE - Found bean property 'objectFactory' of type [org.apache.ibatis.reflection.factory.ObjectFactory]
[2016-06-25 20:32:10,330] [main] TRACE - Found bean property 'objectType' of type [java.lang.Class]
[2016-06-25 20:32:10,330] [main] TRACE - Found bean property 'objectWrapperFactory' of type [org.apache.ibatis.reflection.wrapper.ObjectWrapperFactory]
[2016-06-25 20:32:10,330] [main] TRACE - Found bean property 'plugins' of type [[Lorg.apache.ibatis.plugin.Interceptor;]
[2016-06-25 20:32:10,330] [main] TRACE - Found bean property 'singleton' of type [boolean]
[2016-06-25 20:32:10,330] [main] TRACE - Found bean property 'sqlSessionFactoryBuilder' of type [org.apache.ibatis.session.SqlSessionFactoryBuilder]
[2016-06-25 20:32:10,330] [main] TRACE - Found bean property 'transactionFactory' of type [org.apache.ibatis.transaction.TransactionFactory]
[2016-06-25 20:32:10,330] [main] TRACE - Found bean property 'typeAliases' of type [[Ljava.lang.Class;]
[2016-06-25 20:32:10,330] [main] TRACE - Found bean property 'typeAliasesPackage' of type [java.lang.String]
[2016-06-25 20:32:10,330] [main] TRACE - Found bean property 'typeAliasesSuperType' of type [java.lang.Class]
[2016-06-25 20:32:10,330] [main] TRACE - Found bean property 'typeHandlers' of type [[Lorg.apache.ibatis.type.TypeHandler;]
[2016-06-25 20:32:10,331] [main] TRACE - Found bean property 'typeHandlersPackage' of type [java.lang.String]
[2016-06-25 20:32:10,331] [main] DEBUG - Creating shared instance of singleton bean 'dataSource'
[2016-06-25 20:32:10,331] [main] DEBUG - Creating instance of bean 'dataSource'
[2016-06-25 20:32:10,334] [main] DEBUG - Eagerly caching bean 'dataSource' to allow for resolving potential circular references
[2016-06-25 20:32:10,334] [main] TRACE - Getting BeanInfo for class [org.springframework.jdbc.datasource.DriverManagerDataSource]
[2016-06-25 20:32:10,340] [main] TRACE - Caching PropertyDescriptors for class [org.springframework.jdbc.datasource.DriverManagerDataSource]
[2016-06-25 20:32:10,340] [main] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 20:32:10,340] [main] TRACE - Found bean property 'connection' of type [java.sql.Connection]
[2016-06-25 20:32:10,340] [main] TRACE - Found bean property 'connectionProperties' of type [java.util.Properties]
[2016-06-25 20:32:10,340] [main] TRACE - Found bean property 'driverClassName' of type [java.lang.String]
[2016-06-25 20:32:10,340] [main] TRACE - Found bean property 'logWriter' of type [java.io.PrintWriter]
[2016-06-25 20:32:10,340] [main] TRACE - Found bean property 'loginTimeout' of type [int]
[2016-06-25 20:32:10,340] [main] TRACE - Found bean property 'parentLogger' of type [java.util.logging.Logger]
[2016-06-25 20:32:10,340] [main] TRACE - Found bean property 'password' of type [java.lang.String]
[2016-06-25 20:32:10,340] [main] TRACE - Found bean property 'url' of type [java.lang.String]
[2016-06-25 20:32:10,340] [main] TRACE - Found bean property 'username' of type [java.lang.String]
[2016-06-25 20:32:10,354] [main] INFO - Loaded JDBC driver: com.mysql.jdbc.Driver
[2016-06-25 20:32:10,354] [main] DEBUG - Finished creating instance of bean 'dataSource'
[2016-06-25 20:32:10,355] [main] TRACE - Converting String to [class [Lorg.springframework.core.io.Resource;] using property editor [org.springframework.core.io.support.ResourceArrayPropertyEditor@101d134]
[2016-06-25 20:32:10,355] [main] DEBUG - Looking for matching resources in directory tree [E:\java\sts\workspace\ssi_demo\target\classes\mapper]
[2016-06-25 20:32:10,355] [main] DEBUG - Searching directory [E:\java\sts\workspace\ssi_demo\target\classes\mapper] for files matching pattern [E:/java/sts/workspace/ssi_demo/target/classes/mapper/*.xml]
[2016-06-25 20:32:10,357] [main] DEBUG - Resolved location pattern [classpath:mapper/*.xml] to resources [file [E:\java\sts\workspace\ssi_demo\target\classes\mapper\userMapper.xml]]
[2016-06-25 20:32:10,357] [main] TRACE - Converting String to [interface org.springframework.core.io.Resource] using property editor [org.springframework.core.io.ResourceEditor@d3bc22]
[2016-06-25 20:32:10,358] [main] DEBUG - Invoking afterPropertiesSet() on bean with name 'sqlSessionFactory'
[2016-06-25 20:32:10,446] [main] DEBUG - Parsed configuration file: 'class path resource [mybatis/mybatis-config.xml]'
[2016-06-25 20:32:10,448] [main] DEBUG - Creating new JDBC DriverManager Connection to [jdbc:mysql://localhost:3306/ssi]
[2016-06-25 20:32:10,782] [main] DEBUG - Parsed mapper file: 'file [E:\java\sts\workspace\ssi_demo\target\classes\mapper\userMapper.xml]'
[2016-06-25 20:32:10,783] [main] DEBUG - Finished creating instance of bean 'sqlSessionFactory'
[2016-06-25 20:32:10,783] [main] DEBUG - Autowiring by type from bean name 'userDao' via property 'sqlSessionFactory' to bean named 'sqlSessionFactory'
[2016-06-25 20:32:10,783] [main] TRACE - Converting String to [class java.lang.Class] using property editor [org.springframework.beans.propertyeditors.ClassEditor@185a6e9]
[2016-06-25 20:32:10,792] [main] DEBUG - Invoking afterPropertiesSet() on bean with name 'userDao'
[2016-06-25 20:32:10,792] [main] DEBUG - Finished creating instance of bean 'userDao'
[2016-06-25 20:32:10,792] [main] DEBUG - Returning cached instance of singleton bean 'userDao'
[2016-06-25 20:32:10,794] [main] DEBUG - Autowiring by type from bean name 'userServiceImpl' to bean named 'userDao'
[2016-06-25 20:32:10,794] [main] DEBUG - Finished creating instance of bean 'userServiceImpl'
[2016-06-25 20:32:10,794] [main] DEBUG - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
[2016-06-25 20:32:10,795] [main] DEBUG - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
[2016-06-25 20:32:10,795] [main] DEBUG - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
[2016-06-25 20:32:10,795] [main] DEBUG - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
[2016-06-25 20:32:10,795] [main] DEBUG - Returning cached instance of singleton bean 'propertyConfigurer'
[2016-06-25 20:32:10,795] [main] DEBUG - Returning cached instance of singleton bean 'dataSource'
[2016-06-25 20:32:10,795] [main] DEBUG - Returning cached instance of singleton bean 'org.mybatis.spring.mapper.MapperScannerConfigurer#0'
[2016-06-25 20:32:10,795] [main] DEBUG - Returning cached instance of singleton bean 'sqlSessionFactory'
[2016-06-25 20:32:10,795] [main] DEBUG - Returning cached instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
[2016-06-25 20:32:10,795] [main] DEBUG - Returning cached instance of singleton bean 'userDao'
[2016-06-25 20:32:10,797] [main] DEBUG - Unable to locate LifecycleProcessor with name 'lifecycleProcessor': using default [org.springframework.context.support.DefaultLifecycleProcessor@1438269]
[2016-06-25 20:32:10,798] [main] DEBUG - Returning cached instance of singleton bean 'lifecycleProcessor'
[2016-06-25 20:32:10,798] [main] TRACE - Publishing event in org.springframework.context.support.GenericApplicationContext@1251891: org.springframework.context.event.ContextRefreshedEvent[source=org.springframework.context.support.GenericApplicationContext@1251891: startup date [Sat Jun 25 20:32:10 CST 2016]; root of context hierarchy]
[2016-06-25 20:32:10,801] [main] DEBUG - Returning cached instance of singleton bean 'sqlSessionFactory'
[2016-06-25 20:32:10,803] [main] TRACE - getProperty("spring.liveBeansView.mbeanDomain", String)
[2016-06-25 20:32:10,803] [main] DEBUG - Searching for key 'spring.liveBeansView.mbeanDomain' in [systemProperties]
[2016-06-25 20:32:10,803] [main] DEBUG - Searching for key 'spring.liveBeansView.mbeanDomain' in [systemEnvironment]
[2016-06-25 20:32:10,804] [main] TRACE - PropertySource [systemEnvironment] does not contain 'spring.liveBeansView.mbeanDomain'
[2016-06-25 20:32:10,804] [main] TRACE - PropertySource [systemEnvironment] does not contain 'spring_liveBeansView_mbeanDomain'
[2016-06-25 20:32:10,804] [main] TRACE - PropertySource [systemEnvironment] does not contain 'SPRING.LIVEBEANSVIEW.MBEANDOMAIN'
[2016-06-25 20:32:10,804] [main] TRACE - PropertySource [systemEnvironment] does not contain 'SPRING_LIVEBEANSVIEW_MBEANDOMAIN'
[2016-06-25 20:32:10,804] [main] DEBUG - Could not find key 'spring.liveBeansView.mbeanDomain' in any property source. Returning [null]
[2016-06-25 20:32:10,805] [main] DEBUG - Storing ApplicationContext in cache under key [[MergedContextConfiguration@a6d14e testClass = UserServiceTest, locations = '{classpath:application.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]].
[2016-06-25 20:32:10,805] [main] TRACE - Getting BeanInfo for class [com.ssi.service.UserServiceTest]
[2016-06-25 20:32:10,812] [main] TRACE - Caching PropertyDescriptors for class [com.ssi.service.UserServiceTest]
[2016-06-25 20:32:10,812] [main] TRACE - Found bean property 'applicationContext' of type [org.springframework.context.ApplicationContext]
[2016-06-25 20:32:10,812] [main] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 20:32:10,813] [main] DEBUG - Processing injected method of bean 'com.ssi.service.UserServiceTest': AutowiredFieldElement for private com.ssi.service.UserService com.ssi.service.UserServiceTest.userService
[2016-06-25 20:32:10,813] [main] DEBUG - Returning cached instance of singleton bean 'userServiceImpl'
[2016-06-25 20:32:10,813] [main] DEBUG - Autowiring by type from bean name 'com.ssi.service.UserServiceTest' to bean named 'userServiceImpl'
[2016-06-25 20:32:10,815] [main] TRACE - beforeTestMethod(): instance [com.ssi.service.UserServiceTest@180d80f], method [public void com.ssi.service.UserServiceTest.selectUserByIdTest()]
[2016-06-25 20:32:10,824] [main] DEBUG - Creating a new SqlSession
[2016-06-25 20:32:10,831] [main] DEBUG - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@7194ba] was not registered for synchronization because synchronization is not active
[2016-06-25 20:32:10,872] [main] DEBUG - Fetching JDBC Connection from DataSource
[2016-06-25 20:32:10,873] [main] DEBUG - Creating new JDBC DriverManager Connection to [jdbc:mysql://localhost:3306/ssi]
[2016-06-25 20:32:10,885] [main] DEBUG - JDBC Connection [com.mysql.jdbc.JDBC4Connection@97b078] will not be managed by Spring
[2016-06-25 20:32:10,887] [main] DEBUG - ooo Using Connection [com.mysql.jdbc.JDBC4Connection@97b078]
[2016-06-25 20:32:10,893] [main] DEBUG - ==>  Preparing: SELECT * FROM t_user WHERE USER_ID = ? 
[2016-06-25 20:32:10,937] [main] DEBUG - ==> Parameters: 1(Integer)
[2016-06-25 20:32:10,954] [main] TRACE - <==    Columns: USER_ID, USER_NAME, USER_PASSWORD
[2016-06-25 20:32:10,954] [main] TRACE - <==        Row: 1, luoguohui, 123456
[2016-06-25 20:32:10,955] [main] DEBUG - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@7194ba]
[2016-06-25 20:32:10,955] [main] DEBUG - Returning JDBC Connection to DataSource
User [userId=1, userName=luoguohui, userPassword=123456]
[2016-06-25 20:32:10,956] [main] TRACE - afterTestMethod(): instance [com.ssi.service.UserServiceTest@180d80f], method [public void com.ssi.service.UserServiceTest.selectUserByIdTest()], exception [null]
[2016-06-25 20:32:10,957] [main] DEBUG - After test method: context [[TestContext@864e92 testClass = UserServiceTest, testInstance = com.ssi.service.UserServiceTest@180d80f, testMethod = selectUserByIdTest@UserServiceTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@a6d14e testClass = UserServiceTest, locations = '{classpath:application.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], class dirties context [false], class mode [null], method dirties context [false].
[2016-06-25 20:32:10,958] [main] TRACE - afterTestClass(): class [class com.ssi.service.UserServiceTest]
[2016-06-25 20:32:10,958] [main] DEBUG - After test class: context [[TestContext@864e92 testClass = UserServiceTest, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@a6d14e testClass = UserServiceTest, locations = '{classpath:application.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]], dirtiesContext [false].
[2016-06-25 20:32:10,960] [Thread-0] INFO - Closing org.springframework.context.support.GenericApplicationContext@1251891: startup date [Sat Jun 25 20:32:10 CST 2016]; root of context hierarchy
[2016-06-25 20:32:10,960] [Thread-0] TRACE - Publishing event in org.springframework.context.support.GenericApplicationContext@1251891: org.springframework.context.event.ContextClosedEvent[source=org.springframework.context.support.GenericApplicationContext@1251891: startup date [Sat Jun 25 20:32:10 CST 2016]; root of context hierarchy]
[2016-06-25 20:32:10,960] [Thread-0] DEBUG - Returning cached instance of singleton bean 'sqlSessionFactory'
[2016-06-25 20:32:10,961] [Thread-0] DEBUG - Returning cached instance of singleton bean 'lifecycleProcessor'
[2016-06-25 20:32:10,961] [Thread-0] INFO - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@126f7b2: defining beans [userServiceImpl,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,propertyConfigurer,dataSource,org.mybatis.spring.mapper.MapperScannerConfigurer#0,sqlSessionFactory,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,userDao]; root of factory hierarchy
[2016-06-25 20:32:10,961] [Thread-0] DEBUG - Retrieved dependent beans for bean 'userServiceImpl': [com.ssi.service.UserServiceTest]

 

解決的兩個報錯:

(1)
nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
mybatis配置文件的錯誤:
1.spring配置文件中的sqlSessionFactory的property中的Config和Mapper的Location和Locations
的包寫的和配置文件實際所在的位置是否相同,很有可能是少一個或多一個*。
2.mapper.xml中的namespace所指向的DAO有問題。
3.mapper中的標簽中的id和對應的DAO中的方法名不一致。

http://www.cnblogs.com/aztec/p/5101601.html

原因排查:

1.檢查mapper.xml中的namespace是否正確。

image

2.檢查mapper.xml中的方法定義的ID跟Mapper.java是否對應。

image

image

3.檢查參數是否正確。

image

4.確認沒有問題,重新format一下xml文件,保存后重啟tomcat。(這種辦法有時候確實能解決問題)。

http://www.cnblogs.com/sdjnzqr/p/4271660.html

(2)

Java 1.8 ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet

My web application runs fine on JDK 1.7 but crashes on 1.8 with the following exception (during application server startup with Jetty 8). I am using Spring version: 3.2.5.RELEASE.

As @prunge and @Pablo Lozano stated, you need Spring 4 if you want compile code to Java 8 (--target 1.8), but you can still run apps on Java 8 compiled to Java 7 if you run on Spring 3.2.X.

Check out http://docs.spring.io/spring/docs/current/spring-framework-reference/html/new-in-4.0.html

Note that the Java 8 bytecode level (-target 1.8, as required by -source 1.8) is only fully supported as of Spring Framework 4.0. In particular, Spring 3.2 based applications need to be compiled with a maximum of Java 7 as the target, even if they happen to be deployed onto a Java 8 runtime. Please upgrade to Spring 4 for Java 8 based applications.

http://stackoverflow.com/questions/22526695/java-1-8-asm-classreader-failed-to-parse-class-file-probably-due-to-a-new-java



下面加入springmvc,並轉換maven工程為web項目


10、轉換成web項目:

如果上面webapp為空的,說明這個項目還不是web項目:

這里寫圖片描述

接下來打開如下頁面。將紅框里面的勾去掉,確定(OK):

這里寫圖片描述

然后重新打開剛剛那個頁面,把Dynamic web Module勾上,就會看到紅框的內容,點擊:

這里寫圖片描述

然后配置如下:

這里寫圖片描述

那么webapp下就會生成這些東西:

這里寫圖片描述

11、配置springmvc

11.1、pom.xml文件添加依賴,修改后配置如下:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.luo</groupId> <artifactId>first_maven_project</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>war</packaging> <properties> <!-- spring版本號 --> <spring.version>3.2.8.RELEASE</spring.version> <!-- junit版本號 --> <junit.version>4.10</junit.version> <!-- mybatis版本號 --> <mybatis.version>3.2.1</mybatis.version> </properties> <dependencies> <!-- 添加Spring依賴 --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context-support</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-aop</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-aspects</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-tx</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-jdbc</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>${spring.version}</version> </dependency> <!--單元測試依賴 --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <!--spring單元測試依賴 --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>${spring.version}</version> <scope>test</scope> </dependency> <!--mybatis依賴 --> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>${mybatis.version}</version> </dependency> <!-- mybatis/spring包 --> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis-spring</artifactId> <version>1.2.0</version> </dependency> <!-- mysql驅動包 --> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.29</version> </dependency> <!-- javaee-api包 注意和項目使用的JDK版本對應 --> <dependency> <groupId>javax</groupId> <artifactId>javaee-api</artifactId> <version>6.0</version> <scope>provided</scope> </dependency> <!-- javaee-web-api包 注意和項目使用的JDK版本對應 --> <dependency> <groupId>javax</groupId> <artifactId>javaee-web-api</artifactId> <version>6.0</version> <scope>provided</scope> </dependency> </dependencies> </project>

其實也就增加了下面兩個

<!-- javaee-api包 注意和項目使用的JDK版本對應 --> <dependency> <groupId>javax</groupId> <artifactId>javaee-api</artifactId> <version>6.0</version> <scope>provided</scope> </dependency> <!-- javaee-web-api包 注意和項目使用的JDK版本對應 --> <dependency> <groupId>javax</groupId> <artifactId>javaee-web-api</artifactId> <version>6.0</version> <scope>provided</scope> </dependency>

11.2、在src/main/resource中添加springmvc文件夾,然后添加文件spring-mvc.xml,內容如下:

<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:p="http://www.springframework.org/schema/p" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:mvc="http://www.springframework.org/schema/mvc" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd"> <mvc:annotation-driven /> <!-- 掃描controller(controller層注入) --> <context:component-scan base-package="com.luo.controller"/> <!-- 對模型視圖添加前后綴 --> <bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver" p:prefix="/WEB-INF/view/" p:suffix=".jsp"/> </beans>

11.3、配置web.xml

<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5"> <display-name>Archetype Created Web Application</display-name> <!-- 起始歡迎界面 --> <welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> <!-- 讀取spring配置文件 --> <context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath:application.xml</param-value> </context-param> <!-- 設計路徑變量值 --> <context-param> <param-name>webAppRootKey</param-name> <param-value>springmvc.root</param-value> </context-param> <!-- Spring字符集過濾器 --> <filter> <filter-name>SpringEncodingFilter</filter-name> <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> <init-param> <param-name>encoding</param-name> <param-value>UTF-8</param-value> </init-param> <init-param> <param-name>forceEncoding</param-name> <param-value>true</param-value> </init-param> </filter> <filter-mapping> <filter-name>SpringEncodingFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <!-- springMVC核心配置 --> <servlet> <servlet-name>dispatcherServlet</servlet-name> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> <init-param> <param-name>contextConfigLocation</param-name> <!--spingMVC的配置路徑 --> <param-value>classpath:springmvc/spring-mvc.xml</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> <!-- 攔截設置 --> <servlet-mapping> <servlet-name>dispatcherServlet</servlet-name> <url-pattern>/</url-pattern> </servlet-mapping> <!-- 錯誤跳轉頁面 --> <error-page> <!-- 路徑不正確 --> <error-code>404</error-code> <location>/WEB-INF/errorpage/404.jsp</location> </error-page> <error-page> <!-- 沒有訪問權限,訪問被禁止 --> <error-code>405</error-code> <location>/WEB-INF/errorpage/405.jsp</location> </error-page> <error-page> <!-- 內部錯誤 --> <error-code>500</error-code> <location>/WEB-INF/errorpage/500.jsp</location> </error-page> </web-app>

11.4、添加index.jsp,在src/main/webapp/WEB-INF下新建一個文件夾view,添加一個index.jsp,內容如下:

這里寫圖片描述

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <html> <body> <h2>Hello World!</h2> 用戶名: ${user.userName}<br> 密碼:${user.userPassword}<br> </body> </html>

11.5、寫controller

這里寫圖片描述

在src/main/java下新建一個包com.luo.controller.然后新建一個類UserController.java,其內容如下

package com.luo.controller; import javax.annotation.Resource; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.servlet.ModelAndView; import com.luo.domain.User; import com.luo.service.UserService; @Controller public class UserController { @Resource private UserService userService; @RequestMapping("/") public ModelAndView getIndex(){ ModelAndView mav = new ModelAndView("index"); User user = userService.selectUserById(2); mav.addObject("user", user); return mav; } } 

11.6 運行!!!!完成!

[2016-06-25 22:56:32,305] [localhost-startStop-1] DEBUG - Loaded schema mappings: {http://mybatis.org/schema/mybatis-spring-1.2.xsd=org/mybatis/spring/config/mybatis-spring-1.2.xsd, http://www.springframework.org/schema/jee/spring-jee-3.2.xsd=org/springframework/ejb/config/spring-jee-3.2.xsd, http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-3.2.xsd, http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd=org/springframework/web/servlet/config/spring-mvc-3.1.xsd, http://www.springframework.org/schema/task/spring-task.xsd=org/springframework/scheduling/config/spring-task-3.2.xsd, http://www.springframework.org/schema/beans/spring-beans-3.1.xsd=org/springframework/beans/factory/xml/spring-beans-3.1.xsd, http://www.springframework.org/schema/cache/spring-cache.xsd=org/springframework/cache/config/spring-cache-3.2.xsd, http://www.springframework.org/schema/aop/spring-aop-3.0.xsd=org/springframework/aop/config/spring-aop-3.0.xsd, http://www.springframework.org/schema/task/spring-task-3.1.xsd=org/springframework/scheduling/config/spring-task-3.1.xsd, http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd, http://www.springframework.org/schema/tool/spring-tool-2.5.xsd=org/springframework/beans/factory/xml/spring-tool-2.5.xsd, http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-3.2.xsd, http://www.springframework.org/schema/jee/spring-jee-2.5.xsd=org/springframework/ejb/config/spring-jee-2.5.xsd, http://www.springframework.org/schema/jdbc/spring-jdbc-3.1.xsd=org/springframework/jdbc/config/spring-jdbc-3.1.xsd, http://www.springframework.org/schema/tool/spring-tool-3.1.xsd=org/springframework/beans/factory/xml/spring-tool-3.1.xsd, http://www.springframework.org/schema/jee/spring-jee-3.1.xsd=org/springframework/ejb/config/spring-jee-3.1.xsd, http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-3.2.xsd, http://www.springframework.org/schema/tx/spring-tx-3.2.xsd=org/springframework/transaction/config/spring-tx-3.2.xsd, http://www.springframework.org/schema/context/spring-context-3.2.xsd=org/springframework/context/config/spring-context-3.2.xsd, http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd, http://www.springframework.org/schema/util/spring-util-3.2.xsd=org/springframework/beans/factory/xml/spring-util-3.2.xsd, http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd=org/springframework/web/servlet/config/spring-mvc-3.0.xsd, http://www.springframework.org/schema/lang/spring-lang-3.2.xsd=org/springframework/scripting/config/spring-lang-3.2.xsd, http://www.springframework.org/schema/beans/spring-beans-3.0.xsd=org/springframework/beans/factory/xml/spring-beans-3.0.xsd, http://www.springframework.org/schema/cache/spring-cache-3.2.xsd=org/springframework/cache/config/spring-cache-3.2.xsd, http://www.springframework.org/schema/task/spring-task-3.0.xsd=org/springframework/scheduling/config/spring-task-3.0.xsd, http://mybatis.org/schema/mybatis-spring.xsd=org/mybatis/spring/config/mybatis-spring-1.2.xsd, http://www.springframework.org/schema/tx/spring-tx-2.5.xsd=org/springframework/transaction/config/spring-tx-2.5.xsd, http://www.springframework.org/schema/context/spring-context-2.5.xsd=org/springframework/context/config/spring-context-2.5.xsd, http://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd=org/springframework/jdbc/config/spring-jdbc-3.0.xsd, http://www.springframework.org/schema/tool/spring-tool-3.0.xsd=org/springframework/beans/factory/xml/spring-tool-3.0.xsd, http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-3.2.xsd, http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-3.2.xsd, http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd, http://www.springframework.org/schema/util/spring-util-2.5.xsd=org/springframework/beans/factory/xml/spring-util-2.5.xsd, http://www.springframework.org/schema/lang/spring-lang-2.5.xsd=org/springframework/scripting/config/spring-lang-2.5.xsd, http://www.springframework.org/schema/aop/spring-aop-3.2.xsd=org/springframework/aop/config/spring-aop-3.2.xsd, http://www.springframework.org/schema/jee/spring-jee-3.0.xsd=org/springframework/ejb/config/spring-jee-3.0.xsd, http://www.springframework.org/schema/tx/spring-tx-3.1.xsd=org/springframework/transaction/config/spring-tx-3.1.xsd, http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd, http://www.springframework.org/schema/context/spring-context-3.1.xsd=org/springframework/context/config/spring-context-3.1.xsd, http://www.springframework.org/schema/util/spring-util-3.1.xsd=org/springframework/beans/factory/xml/spring-util-3.1.xsd, http://www.springframework.org/schema/lang/spring-lang-3.1.xsd=org/springframework/scripting/config/spring-lang-3.1.xsd, http://www.springframework.org/schema/cache/spring-cache-3.1.xsd=org/springframework/cache/config/spring-cache-3.1.xsd, http://www.springframework.org/schema/context/spring-context.xsd=org/springframework/context/config/spring-context-3.2.xsd, http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-3.2.xsd, http://www.springframework.org/schema/aop/spring-aop-2.5.xsd=org/springframework/aop/config/spring-aop-2.5.xsd, http://www.springframework.org/schema/mvc/spring-mvc.xsd=org/springframework/web/servlet/config/spring-mvc-3.2.xsd, http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd=org/springframework/web/servlet/config/spring-mvc-3.2.xsd, http://www.springframework.org/schema/jdbc/spring-jdbc.xsd=org/springframework/jdbc/config/spring-jdbc-3.2.xsd, http://www.springframework.org/schema/beans/spring-beans-3.2.xsd=org/springframework/beans/factory/xml/spring-beans-3.2.xsd, http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd, http://www.springframework.org/schema/aop/spring-aop-3.1.xsd=org/springframework/aop/config/spring-aop-3.1.xsd, http://www.springframework.org/schema/task/spring-task-3.2.xsd=org/springframework/scheduling/config/spring-task-3.2.xsd, http://www.springframework.org/schema/tx/spring-tx-3.0.xsd=org/springframework/transaction/config/spring-tx-3.0.xsd, http://www.springframework.org/schema/context/spring-context-3.0.xsd=org/springframework/context/config/spring-context-3.0.xsd, http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-3.2.xsd, http://www.springframework.org/schema/util/spring-util-3.0.xsd=org/springframework/beans/factory/xml/spring-util-3.0.xsd, http://www.springframework.org/schema/lang/spring-lang-3.0.xsd=org/springframework/scripting/config/spring-lang-3.0.xsd, http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd, http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd, http://www.springframework.org/schema/jdbc/spring-jdbc-3.2.xsd=org/springframework/jdbc/config/spring-jdbc-3.2.xsd, http://www.springframework.org/schema/tool/spring-tool-3.2.xsd=org/springframework/beans/factory/xml/spring-tool-3.2.xsd, http://www.springframework.org/schema/beans/spring-beans-2.5.xsd=org/springframework/beans/factory/xml/spring-beans-2.5.xsd}
[2016-06-25 22:56:32,307] [localhost-startStop-1] DEBUG - Found XML schema [http://www.springframework.org/schema/beans/spring-beans-3.2.xsd] in classpath: org/springframework/beans/factory/xml/spring-beans-3.2.xsd
[2016-06-25 22:56:32,382] [localhost-startStop-1] TRACE - Trying to resolve XML entity with public id [null] and system id [http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd]
[2016-06-25 22:56:32,383] [localhost-startStop-1] DEBUG - Found XML schema [http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd] in classpath: org/springframework/web/servlet/config/spring-mvc-3.2.xsd
[2016-06-25 22:56:32,531] [localhost-startStop-1] TRACE - Trying to resolve XML entity with public id [null] and system id [http://www.springframework.org/schema/tool/spring-tool-3.2.xsd]
[2016-06-25 22:56:32,533] [localhost-startStop-1] DEBUG - Found XML schema [http://www.springframework.org/schema/tool/spring-tool-3.2.xsd] in classpath: org/springframework/beans/factory/xml/spring-tool-3.2.xsd
[2016-06-25 22:56:32,539] [localhost-startStop-1] TRACE - Trying to resolve XML entity with public id [null] and system id [http://www.springframework.org/schema/context/spring-context-3.2.xsd]
[2016-06-25 22:56:32,540] [localhost-startStop-1] DEBUG - Found XML schema [http://www.springframework.org/schema/context/spring-context-3.2.xsd] in classpath: org/springframework/context/config/spring-context-3.2.xsd
[2016-06-25 22:56:32,608] [localhost-startStop-1] DEBUG - Loading bean definitions
[2016-06-25 22:56:32,611] [localhost-startStop-1] DEBUG - Loaded NamespaceHandler mappings: {http://www.springframework.org/schema/p=org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler, http://www.springframework.org/schema/mvc=org.springframework.web.servlet.config.MvcNamespaceHandler, http://www.springframework.org/schema/util=org.springframework.beans.factory.xml.UtilNamespaceHandler, http://www.springframework.org/schema/jee=org.springframework.ejb.config.JeeNamespaceHandler, http://www.springframework.org/schema/aop=org.springframework.aop.config.AopNamespaceHandler, http://www.springframework.org/schema/jdbc=org.springframework.jdbc.config.JdbcNamespaceHandler, http://www.springframework.org/schema/cache=org.springframework.cache.config.CacheNamespaceHandler, http://mybatis.org/schema/mybatis-spring=org.mybatis.spring.config.NamespaceHandler, http://www.springframework.org/schema/c=org.springframework.beans.factory.xml.SimpleConstructorNamespaceHandler, http://www.springframework.org/schema/tx=org.springframework.transaction.config.TxNamespaceHandler, http://www.springframework.org/schema/task=org.springframework.scheduling.config.TaskNamespaceHandler, http://www.springframework.org/schema/lang=org.springframework.scripting.config.LangNamespaceHandler, http://www.springframework.org/schema/context=org.springframework.context.config.ContextNamespaceHandler}
[2016-06-25 22:56:32,692] [localhost-startStop-1] DEBUG - Adding [systemProperties] PropertySource with lowest search precedence
[2016-06-25 22:56:32,692] [localhost-startStop-1] DEBUG - Adding [systemEnvironment] PropertySource with lowest search precedence
[2016-06-25 22:56:32,692] [localhost-startStop-1] DEBUG - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
[2016-06-25 22:56:32,693] [localhost-startStop-1] DEBUG - JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning
[2016-06-25 22:56:32,697] [localhost-startStop-1] DEBUG - Looking for matching resources in directory tree [E:\java\sts\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ssi_demo\WEB-INF\classes\com\ssi\controller]
[2016-06-25 22:56:32,698] [localhost-startStop-1] DEBUG - Searching directory [E:\java\sts\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ssi_demo\WEB-INF\classes\com\ssi\controller] for files matching pattern [E:/java/sts/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/ssi_demo/WEB-INF/classes/com/ssi/controller/**/*.class]
[2016-06-25 22:56:32,699] [localhost-startStop-1] DEBUG - Resolved location pattern [classpath*:com/ssi/controller/**/*.class] to resources [file [E:\java\sts\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ssi_demo\WEB-INF\classes\com\ssi\controller\UserController.class]]
[2016-06-25 22:56:32,699] [localhost-startStop-1] TRACE - Scanning file [E:\java\sts\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ssi_demo\WEB-INF\classes\com\ssi\controller\UserController.class]
[2016-06-25 22:56:32,713] [localhost-startStop-1] DEBUG - Identified candidate component class: file [E:\java\sts\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ssi_demo\WEB-INF\classes\com\ssi\controller\UserController.class]
[2016-06-25 22:56:32,716] [localhost-startStop-1] DEBUG - Loaded 17 bean definitions from location pattern [classpath:spring-mvc.xml]
[2016-06-25 22:56:32,716] [localhost-startStop-1] DEBUG - Bean factory for WebApplicationContext for namespace 'ssi-servlet': org.springframework.beans.factory.support.DefaultListableBeanFactory@6d2058: defining beans [mvcContentNegotiationManager,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0,org.springframework.format.support.FormattingConversionServiceFactoryBean#0,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter#0,org.springframework.web.servlet.handler.MappedInterceptor#0,org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver#0,org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver#0,org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver#0,org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping,org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter,org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter,userController,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,viewResolver]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@1203c7a
[2016-06-25 22:56:32,723] [localhost-startStop-1] DEBUG - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
[2016-06-25 22:56:32,723] [localhost-startStop-1] DEBUG - Creating instance of bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
[2016-06-25 22:56:32,723] [localhost-startStop-1] DEBUG - Eagerly caching bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor' to allow for resolving potential circular references
[2016-06-25 22:56:32,723] [localhost-startStop-1] DEBUG - Finished creating instance of bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
[2016-06-25 22:56:32,802] [localhost-startStop-1] DEBUG - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
[2016-06-25 22:56:32,802] [localhost-startStop-1] DEBUG - Creating instance of bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
[2016-06-25 22:56:32,804] [localhost-startStop-1] DEBUG - Eagerly caching bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor' to allow for resolving potential circular references
[2016-06-25 22:56:32,804] [localhost-startStop-1] DEBUG - Finished creating instance of bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
[2016-06-25 22:56:32,804] [localhost-startStop-1] DEBUG - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
[2016-06-25 22:56:32,804] [localhost-startStop-1] DEBUG - Creating instance of bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
[2016-06-25 22:56:32,804] [localhost-startStop-1] DEBUG - Eagerly caching bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor' to allow for resolving potential circular references
[2016-06-25 22:56:32,804] [localhost-startStop-1] DEBUG - Finished creating instance of bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
[2016-06-25 22:56:32,804] [localhost-startStop-1] DEBUG - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
[2016-06-25 22:56:32,804] [localhost-startStop-1] DEBUG - Creating instance of bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
[2016-06-25 22:56:32,805] [localhost-startStop-1] DEBUG - Eagerly caching bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor' to allow for resolving potential circular references
[2016-06-25 22:56:32,805] [localhost-startStop-1] DEBUG - Finished creating instance of bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
[2016-06-25 22:56:32,805] [localhost-startStop-1] DEBUG - Creating shared instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
[2016-06-25 22:56:32,805] [localhost-startStop-1] DEBUG - Creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
[2016-06-25 22:56:32,805] [localhost-startStop-1] DEBUG - Eagerly caching bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor' to allow for resolving potential circular references
[2016-06-25 22:56:32,805] [localhost-startStop-1] DEBUG - Finished creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
[2016-06-25 22:56:32,805] [localhost-startStop-1] DEBUG - Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@4c8697]
[2016-06-25 22:56:32,806] [localhost-startStop-1] DEBUG - Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@1ca1b5c]
[2016-06-25 22:56:32,806] [localhost-startStop-1] DEBUG - Unable to locate ThemeSource with name 'themeSource': using default [org.springframework.ui.context.support.DelegatingThemeSource@8c63c9]
[2016-06-25 22:56:32,809] [localhost-startStop-1] INFO - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@6d2058: defining beans [mvcContentNegotiationManager,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0,org.springframework.format.support.FormattingConversionServiceFactoryBean#0,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter#0,org.springframework.web.servlet.handler.MappedInterceptor#0,org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver#0,org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver#0,org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver#0,org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping,org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter,org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter,userController,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,viewResolver,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@1203c7a
[2016-06-25 22:56:32,809] [localhost-startStop-1] DEBUG - Creating shared instance of singleton bean 'mvcContentNegotiationManager'
[2016-06-25 22:56:32,809] [localhost-startStop-1] DEBUG - Creating instance of bean 'mvcContentNegotiationManager'
[2016-06-25 22:56:32,810] [localhost-startStop-1] DEBUG - Eagerly caching bean 'mvcContentNegotiationManager' to allow for resolving potential circular references
[2016-06-25 22:56:32,810] [localhost-startStop-1] TRACE - Getting BeanInfo for class [org.springframework.web.accept.ContentNegotiationManagerFactoryBean]
[2016-06-25 22:56:32,816] [localhost-startStop-1] TRACE - Caching PropertyDescriptors for class [org.springframework.web.accept.ContentNegotiationManagerFactoryBean]
[2016-06-25 22:56:32,816] [localhost-startStop-1] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 22:56:32,816] [localhost-startStop-1] TRACE - Found bean property 'defaultContentType' of type [org.springframework.http.MediaType]
[2016-06-25 22:56:32,816] [localhost-startStop-1] TRACE - Found bean property 'favorParameter' of type [boolean]
[2016-06-25 22:56:32,816] [localhost-startStop-1] TRACE - Found bean property 'favorPathExtension' of type [boolean]
[2016-06-25 22:56:32,816] [localhost-startStop-1] TRACE - Found bean property 'ignoreAcceptHeader' of type [boolean]
[2016-06-25 22:56:32,817] [localhost-startStop-1] TRACE - Found bean property 'mediaTypes' of type [java.util.Properties]
[2016-06-25 22:56:32,817] [localhost-startStop-1] TRACE - Found bean property 'object' of type [org.springframework.web.accept.ContentNegotiationManager]
[2016-06-25 22:56:32,817] [localhost-startStop-1] TRACE - Found bean property 'objectType' of type [java.lang.Class]
[2016-06-25 22:56:32,817] [localhost-startStop-1] TRACE - Found bean property 'parameterName' of type [java.lang.String]
[2016-06-25 22:56:32,817] [localhost-startStop-1] TRACE - Found bean property 'servletContext' of type [javax.servlet.ServletContext]
[2016-06-25 22:56:32,817] [localhost-startStop-1] TRACE - Found bean property 'singleton' of type [boolean]
[2016-06-25 22:56:32,817] [localhost-startStop-1] TRACE - Found bean property 'useJaf' of type [boolean]
[2016-06-25 22:56:32,834] [localhost-startStop-1] DEBUG - Invoking afterPropertiesSet() on bean with name 'mvcContentNegotiationManager'
[2016-06-25 22:56:32,839] [localhost-startStop-1] DEBUG - Finished creating instance of bean 'mvcContentNegotiationManager'
[2016-06-25 22:56:32,839] [localhost-startStop-1] DEBUG - Creating shared instance of singleton bean 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0'
[2016-06-25 22:56:32,839] [localhost-startStop-1] DEBUG - Creating instance of bean 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0'
[2016-06-25 22:56:32,847] [localhost-startStop-1] DEBUG - Eagerly caching bean 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0' to allow for resolving potential circular references
[2016-06-25 22:56:32,847] [localhost-startStop-1] TRACE - Getting BeanInfo for class [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping]
[2016-06-25 22:56:32,873] [localhost-startStop-1] TRACE - Caching PropertyDescriptors for class [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping]
[2016-06-25 22:56:32,873] [localhost-startStop-1] TRACE - Found bean property 'alwaysUseFullPath' of type [boolean]
[2016-06-25 22:56:32,874] [localhost-startStop-1] TRACE - Found bean property 'applicationContext' of type [org.springframework.context.ApplicationContext]
[2016-06-25 22:56:32,874] [localhost-startStop-1] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 22:56:32,874] [localhost-startStop-1] TRACE - Found bean property 'contentNegotiationManager' of type [org.springframework.web.accept.ContentNegotiationManager]
[2016-06-25 22:56:32,874] [localhost-startStop-1] TRACE - Found bean property 'defaultHandler' of type [java.lang.Object]
[2016-06-25 22:56:32,874] [localhost-startStop-1] TRACE - Found bean property 'detectHandlerMethodsInAncestorContexts' of type [boolean]
[2016-06-25 22:56:32,874] [localhost-startStop-1] TRACE - Found bean property 'embeddedValueResolver' of type [org.springframework.util.StringValueResolver]
[2016-06-25 22:56:32,874] [localhost-startStop-1] TRACE - Found bean property 'fileExtensions' of type [java.util.List]
[2016-06-25 22:56:32,874] [localhost-startStop-1] TRACE - Found bean property 'handlerMethods' of type [java.util.Map]
[2016-06-25 22:56:32,874] [localhost-startStop-1] TRACE - Found bean property 'interceptors' of type [[Ljava.lang.Object;]
[2016-06-25 22:56:32,875] [localhost-startStop-1] TRACE - Found bean property 'order' of type [int]
[2016-06-25 22:56:32,875] [localhost-startStop-1] TRACE - Found bean property 'pathMatcher' of type [org.springframework.util.PathMatcher]
[2016-06-25 22:56:32,875] [localhost-startStop-1] TRACE - Found bean property 'removeSemicolonContent' of type [boolean]
[2016-06-25 22:56:32,875] [localhost-startStop-1] TRACE - Found bean property 'servletContext' of type [javax.servlet.ServletContext]
[2016-06-25 22:56:32,875] [localhost-startStop-1] TRACE - Found bean property 'urlDecode' of type [boolean]
[2016-06-25 22:56:32,875] [localhost-startStop-1] TRACE - Found bean property 'urlPathHelper' of type [org.springframework.web.util.UrlPathHelper]
[2016-06-25 22:56:32,875] [localhost-startStop-1] TRACE - Found bean property 'useRegisteredSuffixPatternMatch' of type [boolean]
[2016-06-25 22:56:32,875] [localhost-startStop-1] TRACE - Found bean property 'useSuffixPatternMatch' of type [boolean]
[2016-06-25 22:56:32,875] [localhost-startStop-1] TRACE - Found bean property 'useTrailingSlashMatch' of type [boolean]
[2016-06-25 22:56:32,877] [localhost-startStop-1] DEBUG - Returning cached instance of singleton bean 'mvcContentNegotiationManager'
[2016-06-25 22:56:32,880] [localhost-startStop-1] DEBUG - Creating shared instance of singleton bean 'org.springframework.web.servlet.handler.MappedInterceptor#0'
[2016-06-25 22:56:32,881] [localhost-startStop-1] DEBUG - Creating instance of bean 'org.springframework.web.servlet.handler.MappedInterceptor#0'
[2016-06-25 22:56:33,073] [localhost-startStop-1] DEBUG - Creating instance of bean '(inner bean)'
[2016-06-25 22:56:33,133] [localhost-startStop-1] DEBUG - Creating shared instance of singleton bean 'org.springframework.format.support.FormattingConversionServiceFactoryBean#0'
[2016-06-25 22:56:33,134] [localhost-startStop-1] DEBUG - Creating instance of bean 'org.springframework.format.support.FormattingConversionServiceFactoryBean#0'
[2016-06-25 22:56:33,134] [localhost-startStop-1] DEBUG - Eagerly caching bean 'org.springframework.format.support.FormattingConversionServiceFactoryBean#0' to allow for resolving potential circular references
[2016-06-25 22:56:33,134] [localhost-startStop-1] TRACE - Getting BeanInfo for class [org.springframework.format.support.FormattingConversionServiceFactoryBean]
[2016-06-25 22:56:33,139] [localhost-startStop-1] TRACE - Caching PropertyDescriptors for class [org.springframework.format.support.FormattingConversionServiceFactoryBean]
[2016-06-25 22:56:33,139] [localhost-startStop-1] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 22:56:33,139] [localhost-startStop-1] TRACE - Found bean property 'converters' of type [java.util.Set]
[2016-06-25 22:56:33,139] [localhost-startStop-1] TRACE - Found bean property 'embeddedValueResolver' of type [org.springframework.util.StringValueResolver]
[2016-06-25 22:56:33,140] [localhost-startStop-1] TRACE - Found bean property 'formatterRegistrars' of type [java.util.Set]
[2016-06-25 22:56:33,140] [localhost-startStop-1] TRACE - Found bean property 'formatters' of type [java.util.Set]
[2016-06-25 22:56:33,140] [localhost-startStop-1] TRACE - Found bean property 'object' of type [org.springframework.format.support.FormattingConversionService]
[2016-06-25 22:56:33,140] [localhost-startStop-1] TRACE - Found bean property 'objectType' of type [java.lang.Class]
[2016-06-25 22:56:33,140] [localhost-startStop-1] TRACE - Found bean property 'registerDefaultFormatters' of type [boolean]
[2016-06-25 22:56:33,140] [localhost-startStop-1] TRACE - Found bean property 'singleton' of type [boolean]
[2016-06-25 22:56:33,141] [localhost-startStop-1] DEBUG - Invoking afterPropertiesSet() on bean with name 'org.springframework.format.support.FormattingConversionServiceFactoryBean#0'
[2016-06-25 22:56:33,165] [localhost-startStop-1] DEBUG - Finished creating instance of bean 'org.springframework.format.support.FormattingConversionServiceFactoryBean#0'
[2016-06-25 22:56:33,172] [localhost-startStop-1] TRACE - Getting BeanInfo for class [org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor]
[2016-06-25 22:56:33,178] [localhost-startStop-1] TRACE - Caching PropertyDescriptors for class [org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor]
[2016-06-25 22:56:33,178] [localhost-startStop-1] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 22:56:33,179] [localhost-startStop-1] DEBUG - Finished creating instance of bean '(inner bean)'
[2016-06-25 22:56:33,184] [localhost-startStop-1] TRACE - Ignoring constructor [public org.springframework.web.servlet.handler.MappedInterceptor(java.lang.String[],java.lang.String[],org.springframework.web.context.request.WebRequestInterceptor)] of bean 'org.springframework.web.servlet.handler.MappedInterceptor#0': org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.web.servlet.handler.MappedInterceptor#0': Unsatisfied dependency expressed through constructor argument with index 1 of type [java.lang.String[]]: Could not convert constructor argument value of type [org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor] to required type [[Ljava.lang.String;]: Failed to convert value of type 'org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor' to required type 'java.lang.String[]'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor] to required type [java.lang.String]: no matching editors or conversion strategy found
[2016-06-25 22:56:33,184] [localhost-startStop-1] TRACE - Ignoring constructor [public org.springframework.web.servlet.handler.MappedInterceptor(java.lang.String[],java.lang.String[],org.springframework.web.servlet.HandlerInterceptor)] of bean 'org.springframework.web.servlet.handler.MappedInterceptor#0': org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.web.servlet.handler.MappedInterceptor#0': Unsatisfied dependency expressed through constructor argument with index 1 of type [java.lang.String[]]: Could not convert constructor argument value of type [org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor] to required type [[Ljava.lang.String;]: Failed to convert value of type 'org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor' to required type 'java.lang.String[]'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor] to required type [java.lang.String]: no matching editors or conversion strategy found
[2016-06-25 22:56:33,186] [localhost-startStop-1] DEBUG - No property editor [org.springframework.web.context.request.WebRequestInterceptorEditor] found for type org.springframework.web.context.request.WebRequestInterceptor according to 'Editor' suffix convention
[2016-06-25 22:56:33,186] [localhost-startStop-1] TRACE - Ignoring constructor [public org.springframework.web.servlet.handler.MappedInterceptor(java.lang.String[],org.springframework.web.context.request.WebRequestInterceptor)] of bean 'org.springframework.web.servlet.handler.MappedInterceptor#0': org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.web.servlet.handler.MappedInterceptor#0': Unsatisfied dependency expressed through constructor argument with index 1 of type [org.springframework.web.context.request.WebRequestInterceptor]: Could not convert constructor argument value of type [org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor] to required type [org.springframework.web.context.request.WebRequestInterceptor]: Failed to convert value of type 'org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor' to required type 'org.springframework.web.context.request.WebRequestInterceptor'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor] to required type [org.springframework.web.context.request.WebRequestInterceptor]: no matching editors or conversion strategy found
[2016-06-25 22:56:33,186] [localhost-startStop-1] DEBUG - Eagerly caching bean 'org.springframework.web.servlet.handler.MappedInterceptor#0' to allow for resolving potential circular references
[2016-06-25 22:56:33,186] [localhost-startStop-1] TRACE - Getting BeanInfo for class [org.springframework.web.servlet.handler.MappedInterceptor]
[2016-06-25 22:56:33,190] [localhost-startStop-1] TRACE - Caching PropertyDescriptors for class [org.springframework.web.servlet.handler.MappedInterceptor]
[2016-06-25 22:56:33,190] [localhost-startStop-1] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 22:56:33,190] [localhost-startStop-1] TRACE - Found bean property 'interceptor' of type [org.springframework.web.servlet.HandlerInterceptor]
[2016-06-25 22:56:33,190] [localhost-startStop-1] TRACE - Found bean property 'pathPatterns' of type [[Ljava.lang.String;]
[2016-06-25 22:56:33,191] [localhost-startStop-1] DEBUG - Finished creating instance of bean 'org.springframework.web.servlet.handler.MappedInterceptor#0'
[2016-06-25 22:56:33,191] [localhost-startStop-1] DEBUG - Invoking afterPropertiesSet() on bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0'
[2016-06-25 22:56:33,191] [localhost-startStop-1] DEBUG - Looking for request mappings in application context: WebApplicationContext for namespace 'ssi-servlet': startup date [Sat Jun 25 22:56:32 CST 2016]; parent: Root WebApplicationContext
[2016-06-25 22:56:33,215] [localhost-startStop-1] INFO - Mapped "{[/],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public org.springframework.web.servlet.ModelAndView com.ssi.controller.UserController.getIndex()
[2016-06-25 22:56:33,216] [localhost-startStop-1] DEBUG - Finished creating instance of bean 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0'
[2016-06-25 22:56:33,216] [localhost-startStop-1] DEBUG - Returning cached instance of singleton bean 'org.springframework.format.support.FormattingConversionServiceFactoryBean#0'
[2016-06-25 22:56:33,216] [localhost-startStop-1] DEBUG - Creating shared instance of singleton bean 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter#0'
[2016-06-25 22:56:33,216] [localhost-startStop-1] DEBUG - Creating instance of bean 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter#0'
[2016-06-25 22:56:42,856] [localhost-startStop-1] DEBUG - Eagerly caching bean 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter#0' to allow for resolving potential circular references
[2016-06-25 22:56:42,856] [localhost-startStop-1] TRACE - Getting BeanInfo for class [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]
[2016-06-25 22:56:42,875] [localhost-startStop-1] TRACE - Caching PropertyDescriptors for class [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]
[2016-06-25 22:56:42,875] [localhost-startStop-1] TRACE - Found bean property 'alwaysMustRevalidate' of type [boolean]
[2016-06-25 22:56:42,875] [localhost-startStop-1] TRACE - Found bean property 'applicationContext' of type [org.springframework.context.ApplicationContext]
[2016-06-25 22:56:42,875] [localhost-startStop-1] TRACE - Found bean property 'argumentResolvers' of type [org.springframework.web.method.support.HandlerMethodArgumentResolverComposite]
[2016-06-25 22:56:42,875] [localhost-startStop-1] TRACE - Found bean property 'asyncRequestTimeout' of type [long]
[2016-06-25 22:56:42,875] [localhost-startStop-1] TRACE - Found bean property 'beanFactory' of type [org.springframework.beans.factory.BeanFactory]
[2016-06-25 22:56:42,875] [localhost-startStop-1] TRACE - Found bean property 'cacheSeconds' of type [int]
[2016-06-25 22:56:42,875] [localhost-startStop-1] TRACE - Found bean property 'cacheSecondsForSessionAttributeHandlers' of type [int]
[2016-06-25 22:56:42,875] [localhost-startStop-1] TRACE - Found bean property 'callableInterceptors' of type [java.util.List]
[2016-06-25 22:56:42,875] [localhost-startStop-1] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 22:56:42,876] [localhost-startStop-1] TRACE - Found bean property 'contentNegotiationManager' of type [org.springframework.web.accept.ContentNegotiationManager]
[2016-06-25 22:56:42,876] [localhost-startStop-1] TRACE - Found bean property 'customArgumentResolvers' of type [java.util.List]
[2016-06-25 22:56:42,876] [localhost-startStop-1] TRACE - Found bean property 'customReturnValueHandlers' of type [java.util.List]
[2016-06-25 22:56:42,876] [localhost-startStop-1] TRACE - Found bean property 'deferredResultInterceptors' of type [java.util.List]
[2016-06-25 22:56:42,876] [localhost-startStop-1] TRACE - Found bean property 'ignoreDefaultModelOnRedirect' of type [boolean]
[2016-06-25 22:56:42,876] [localhost-startStop-1] TRACE - Found bean property 'initBinderArgumentResolvers' of type [org.springframework.web.method.support.HandlerMethodArgumentResolverComposite]
[2016-06-25 22:56:42,876] [localhost-startStop-1] TRACE - Found bean property 'messageConverters' of type [java.util.List]
[2016-06-25 22:56:42,876] [localhost-startStop-1] TRACE - Found bean property 'modelAndViewResolvers' of type [java.util.List]
[2016-06-25 22:56:42,876] [localhost-startStop-1] TRACE - Found bean property 'order' of type [int]
[2016-06-25 22:56:42,876] [localhost-startStop-1] TRACE - Found bean property 'parameterNameDiscoverer' of type [org.springframework.core.ParameterNameDiscoverer]
[2016-06-25 22:56:42,876] [localhost-startStop-1] TRACE - Found bean property 'requireSession' of type [boolean]
[2016-06-25 22:56:42,876] [localhost-startStop-1] TRACE - Found bean property 'returnValueHandlers' of type [org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite]
[2016-06-25 22:56:42,876] [localhost-startStop-1] TRACE - Found bean property 'servletContext' of type [javax.servlet.ServletContext]
[2016-06-25 22:56:42,877] [localhost-startStop-1] TRACE - Found bean property 'sessionAttributeStore' of type [org.springframework.web.bind.support.SessionAttributeStore]
[2016-06-25 22:56:42,877] [localhost-startStop-1] TRACE - Found bean property 'supportedMethods' of type [[Ljava.lang.String;]
[2016-06-25 22:56:42,877] [localhost-startStop-1] TRACE - Found bean property 'synchronizeOnSession' of type [boolean]
[2016-06-25 22:56:42,877] [localhost-startStop-1] TRACE - Found bean property 'taskExecutor' of type [org.springframework.core.task.AsyncTaskExecutor]
[2016-06-25 22:56:42,877] [localhost-startStop-1] TRACE - Found bean property 'useCacheControlHeader' of type [boolean]
[2016-06-25 22:56:42,877] [localhost-startStop-1] TRACE - Found bean property 'useCacheControlNoStore' of type [boolean]
[2016-06-25 22:56:42,877] [localhost-startStop-1] TRACE - Found bean property 'useExpiresHeader' of type [boolean]
[2016-06-25 22:56:42,877] [localhost-startStop-1] TRACE - Found bean property 'webBindingInitializer' of type [org.springframework.web.bind.support.WebBindingInitializer]
[2016-06-25 22:56:42,879] [localhost-startStop-1] DEBUG - Returning cached instance of singleton bean 'mvcContentNegotiationManager'
[2016-06-25 22:56:42,879] [localhost-startStop-1] DEBUG - Creating instance of bean '(inner bean)#1'
[2016-06-25 22:56:42,881] [localhost-startStop-1] TRACE - Getting BeanInfo for class [org.springframework.web.bind.support.ConfigurableWebBindingInitializer]
[2016-06-25 22:56:42,885] [localhost-startStop-1] TRACE - Caching PropertyDescriptors for class [org.springframework.web.bind.support.ConfigurableWebBindingInitializer]
[2016-06-25 22:56:42,885] [localhost-startStop-1] TRACE - Found bean property 'autoGrowNestedPaths' of type [boolean]
[2016-06-25 22:56:42,885] [localhost-startStop-1] TRACE - Found bean property 'bindingErrorProcessor' of type [org.springframework.validation.BindingErrorProcessor]
[2016-06-25 22:56:42,885] [localhost-startStop-1] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 22:56:42,885] [localhost-startStop-1] TRACE - Found bean property 'conversionService' of type [org.springframework.core.convert.ConversionService]
[2016-06-25 22:56:42,885] [localhost-startStop-1] TRACE - Found bean property 'directFieldAccess' of type [boolean]
[2016-06-25 22:56:42,885] [localhost-startStop-1] TRACE - Found bean property 'messageCodesResolver' of type [org.springframework.validation.MessageCodesResolver]
[2016-06-25 22:56:42,886] [localhost-startStop-1] TRACE - Found bean property 'propertyEditorRegistrar' of type [org.springframework.beans.PropertyEditorRegistrar]
[2016-06-25 22:56:42,886] [localhost-startStop-1] TRACE - Found bean property 'propertyEditorRegistrars' of type [[Lorg.springframework.beans.PropertyEditorRegistrar;]
[2016-06-25 22:56:42,886] [localhost-startStop-1] TRACE - Found bean property 'validator' of type [org.springframework.validation.Validator]
[2016-06-25 22:56:42,886] [localhost-startStop-1] DEBUG - Returning cached instance of singleton bean 'org.springframework.format.support.FormattingConversionServiceFactoryBean#0'
[2016-06-25 22:56:42,886] [localhost-startStop-1] DEBUG - Finished creating instance of bean '(inner bean)#1'
[2016-06-25 22:56:42,886] [localhost-startStop-1] DEBUG - Creating instance of bean '(inner bean)#2'
[2016-06-25 22:56:42,888] [localhost-startStop-1] TRACE - Getting BeanInfo for class [org.springframework.http.converter.ByteArrayHttpMessageConverter]
[2016-06-25 22:56:42,895] [localhost-startStop-1] TRACE - Caching PropertyDescriptors for class [org.springframework.http.converter.ByteArrayHttpMessageConverter]
[2016-06-25 22:56:42,895] [localhost-startStop-1] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 22:56:42,895] [localhost-startStop-1] TRACE - Found bean property 'supportedMediaTypes' of type [java.util.List]
[2016-06-25 22:56:42,895] [localhost-startStop-1] DEBUG - Finished creating instance of bean '(inner bean)#2'
[2016-06-25 22:56:42,895] [localhost-startStop-1] DEBUG - Creating instance of bean '(inner bean)#3'
[2016-06-25 22:56:42,897] [localhost-startStop-1] TRACE - Getting BeanInfo for class [org.springframework.http.converter.StringHttpMessageConverter]
[2016-06-25 22:56:42,902] [localhost-startStop-1] TRACE - Caching PropertyDescriptors for class [org.springframework.http.converter.StringHttpMessageConverter]
[2016-06-25 22:56:42,902] [localhost-startStop-1] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 22:56:42,902] [localhost-startStop-1] TRACE - Found bean property 'supportedMediaTypes' of type [java.util.List]
[2016-06-25 22:56:42,903] [localhost-startStop-1] TRACE - Found bean property 'writeAcceptCharset' of type [boolean]
[2016-06-25 22:56:42,903] [localhost-startStop-1] DEBUG - Finished creating instance of bean '(inner bean)#3'
[2016-06-25 22:56:42,903] [localhost-startStop-1] DEBUG - Creating instance of bean '(inner bean)#4'
[2016-06-25 22:56:42,905] [localhost-startStop-1] TRACE - Getting BeanInfo for class [org.springframework.http.converter.ResourceHttpMessageConverter]
[2016-06-25 22:56:42,909] [localhost-startStop-1] TRACE - Caching PropertyDescriptors for class [org.springframework.http.converter.ResourceHttpMessageConverter]
[2016-06-25 22:56:42,910] [localhost-startStop-1] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 22:56:42,910] [localhost-startStop-1] TRACE - Found bean property 'supportedMediaTypes' of type [java.util.List]
[2016-06-25 22:56:42,910] [localhost-startStop-1] DEBUG - Finished creating instance of bean '(inner bean)#4'
[2016-06-25 22:56:42,911] [localhost-startStop-1] DEBUG - Creating instance of bean '(inner bean)#5'
[2016-06-25 22:56:42,915] [localhost-startStop-1] TRACE - Getting BeanInfo for class [org.springframework.http.converter.xml.SourceHttpMessageConverter]
[2016-06-25 22:56:42,920] [localhost-startStop-1] TRACE - Caching PropertyDescriptors for class [org.springframework.http.converter.xml.SourceHttpMessageConverter]
[2016-06-25 22:56:42,921] [localhost-startStop-1] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 22:56:42,921] [localhost-startStop-1] TRACE - Found bean property 'processExternalEntities' of type [boolean]
[2016-06-25 22:56:42,921] [localhost-startStop-1] TRACE - Found bean property 'supportedMediaTypes' of type [java.util.List]
[2016-06-25 22:56:42,921] [localhost-startStop-1] DEBUG - Finished creating instance of bean '(inner bean)#5'
[2016-06-25 22:56:42,921] [localhost-startStop-1] DEBUG - Creating instance of bean '(inner bean)#6'
[2016-06-25 22:56:42,924] [localhost-startStop-1] TRACE - Getting BeanInfo for class [org.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter]
[2016-06-25 22:56:42,930] [localhost-startStop-1] TRACE - Caching PropertyDescriptors for class [org.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter]
[2016-06-25 22:56:42,930] [localhost-startStop-1] TRACE - Found bean property 'charset' of type [java.nio.charset.Charset]
[2016-06-25 22:56:42,930] [localhost-startStop-1] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 22:56:42,930] [localhost-startStop-1] TRACE - Found bean property 'partConverters' of type [java.util.List]
[2016-06-25 22:56:42,930] [localhost-startStop-1] TRACE - Found bean property 'supportedMediaTypes' of type [java.util.List]
[2016-06-25 22:56:42,931] [localhost-startStop-1] DEBUG - Finished creating instance of bean '(inner bean)#6'
[2016-06-25 22:56:42,931] [localhost-startStop-1] DEBUG - Creating instance of bean '(inner bean)#7'
[2016-06-25 22:56:42,934] [localhost-startStop-1] TRACE - Getting BeanInfo for class [org.springframework.http.converter.xml.Jaxb2RootElementHttpMessageConverter]
[2016-06-25 22:56:42,945] [localhost-startStop-1] TRACE - Caching PropertyDescriptors for class [org.springframework.http.converter.xml.Jaxb2RootElementHttpMessageConverter]
[2016-06-25 22:56:42,946] [localhost-startStop-1] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 22:56:42,946] [localhost-startStop-1] TRACE - Found bean property 'processExternalEntities' of type [boolean]
[2016-06-25 22:56:42,946] [localhost-startStop-1] TRACE - Found bean property 'supportedMediaTypes' of type [java.util.List]
[2016-06-25 22:56:42,946] [localhost-startStop-1] DEBUG - Finished creating instance of bean '(inner bean)#7'
[2016-06-25 22:56:42,947] [localhost-startStop-1] DEBUG - Invoking afterPropertiesSet() on bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter#0'
[2016-06-25 22:56:42,996] [localhost-startStop-1] DEBUG - Looking for controller advice: WebApplicationContext for namespace 'ssi-servlet': startup date [Sat Jun 25 22:56:32 CST 2016]; parent: Root WebApplicationContext
[2016-06-25 22:56:42,999] [localhost-startStop-1] DEBUG - Finished creating instance of bean 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter#0'
[2016-06-25 22:56:42,999] [localhost-startStop-1] DEBUG - Returning cached instance of singleton bean 'org.springframework.web.servlet.handler.MappedInterceptor#0'
[2016-06-25 22:56:43,000] [localhost-startStop-1] DEBUG - Creating shared instance of singleton bean 'org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver#0'
[2016-06-25 22:56:43,000] [localhost-startStop-1] DEBUG - Creating instance of bean 'org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver#0'
[2016-06-25 22:56:43,003] [localhost-startStop-1] DEBUG - Eagerly caching bean 'org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver#0' to allow for resolving potential circular references
[2016-06-25 22:56:43,003] [localhost-startStop-1] TRACE - Getting BeanInfo for class [org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver]
[2016-06-25 22:56:43,012] [localhost-startStop-1] TRACE - Caching PropertyDescriptors for class [org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver]
[2016-06-25 22:56:43,012] [localhost-startStop-1] TRACE - Found bean property 'applicationContext' of type [org.springframework.context.ApplicationContext]
[2016-06-25 22:56:43,013] [localhost-startStop-1] TRACE - Found bean property 'argumentResolvers' of type [org.springframework.web.method.support.HandlerMethodArgumentResolverComposite]
[2016-06-25 22:56:43,013] [localhost-startStop-1] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 22:56:43,013] [localhost-startStop-1] TRACE - Found bean property 'contentNegotiationManager' of type [org.springframework.web.accept.ContentNegotiationManager]
[2016-06-25 22:56:43,013] [localhost-startStop-1] TRACE - Found bean property 'customArgumentResolvers' of type [java.util.List]
[2016-06-25 22:56:43,013] [localhost-startStop-1] TRACE - Found bean property 'customReturnValueHandlers' of type [java.util.List]
[2016-06-25 22:56:43,013] [localhost-startStop-1] TRACE - Found bean property 'mappedHandlerClasses' of type [[Ljava.lang.Class;]
[2016-06-25 22:56:43,013] [localhost-startStop-1] TRACE - Found bean property 'mappedHandlers' of type [java.util.Set]
[2016-06-25 22:56:43,014] [localhost-startStop-1] TRACE - Found bean property 'messageConverters' of type [java.util.List]
[2016-06-25 22:56:43,014] [localhost-startStop-1] TRACE - Found bean property 'order' of type [int]
[2016-06-25 22:56:43,014] [localhost-startStop-1] TRACE - Found bean property 'preventResponseCaching' of type [boolean]
[2016-06-25 22:56:43,014] [localhost-startStop-1] TRACE - Found bean property 'returnValueHandlers' of type [org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite]
[2016-06-25 22:56:43,014] [localhost-startStop-1] TRACE - Found bean property 'warnLogCategory' of type [java.lang.String]
[2016-06-25 22:56:43,019] [localhost-startStop-1] DEBUG - Returning cached instance of singleton bean 'mvcContentNegotiationManager'
[2016-06-25 22:56:43,019] [localhost-startStop-1] DEBUG - Creating instance of bean '(inner bean)#8'
[2016-06-25 22:56:43,020] [localhost-startStop-1] DEBUG - Finished creating instance of bean '(inner bean)#8'
[2016-06-25 22:56:43,020] [localhost-startStop-1] DEBUG - Creating instance of bean '(inner bean)#9'
[2016-06-25 22:56:43,022] [localhost-startStop-1] DEBUG - Finished creating instance of bean '(inner bean)#9'
[2016-06-25 22:56:43,022] [localhost-startStop-1] DEBUG - Creating instance of bean '(inner bean)#10'
[2016-06-25 22:56:43,023] [localhost-startStop-1] DEBUG - Finished creating instance of bean '(inner bean)#10'
[2016-06-25 22:56:43,023] [localhost-startStop-1] DEBUG - Creating instance of bean '(inner bean)#11'
[2016-06-25 22:56:43,025] [localhost-startStop-1] DEBUG - Finished creating instance of bean '(inner bean)#11'
[2016-06-25 22:56:43,025] [localhost-startStop-1] DEBUG - Creating instance of bean '(inner bean)#12'
[2016-06-25 22:56:43,026] [localhost-startStop-1] DEBUG - Finished creating instance of bean '(inner bean)#12'
[2016-06-25 22:56:43,027] [localhost-startStop-1] DEBUG - Creating instance of bean '(inner bean)#13'
[2016-06-25 22:56:43,027] [localhost-startStop-1] DEBUG - Finished creating instance of bean '(inner bean)#13'
[2016-06-25 22:56:43,028] [localhost-startStop-1] DEBUG - Invoking afterPropertiesSet() on bean with name 'org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver#0'
[2016-06-25 22:56:43,028] [localhost-startStop-1] DEBUG - Looking for exception mappings: WebApplicationContext for namespace 'ssi-servlet': startup date [Sat Jun 25 22:56:32 CST 2016]; parent: Root WebApplicationContext
[2016-06-25 22:56:43,029] [localhost-startStop-1] DEBUG - Finished creating instance of bean 'org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver#0'
[2016-06-25 22:56:43,029] [localhost-startStop-1] DEBUG - Creating shared instance of singleton bean 'org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver#0'
[2016-06-25 22:56:43,029] [localhost-startStop-1] DEBUG - Creating instance of bean 'org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver#0'
[2016-06-25 22:56:43,029] [localhost-startStop-1] DEBUG - Eagerly caching bean 'org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver#0' to allow for resolving potential circular references
[2016-06-25 22:56:43,029] [localhost-startStop-1] TRACE - Getting BeanInfo for class [org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver]
[2016-06-25 22:56:43,034] [localhost-startStop-1] TRACE - Caching PropertyDescriptors for class [org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver]
[2016-06-25 22:56:43,034] [localhost-startStop-1] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 22:56:43,034] [localhost-startStop-1] TRACE - Found bean property 'mappedHandlerClasses' of type [[Ljava.lang.Class;]
[2016-06-25 22:56:43,034] [localhost-startStop-1] TRACE - Found bean property 'mappedHandlers' of type [java.util.Set]
[2016-06-25 22:56:43,034] [localhost-startStop-1] TRACE - Found bean property 'messageSource' of type [org.springframework.context.MessageSource]
[2016-06-25 22:56:43,034] [localhost-startStop-1] TRACE - Found bean property 'order' of type [int]
[2016-06-25 22:56:43,034] [localhost-startStop-1] TRACE - Found bean property 'preventResponseCaching' of type [boolean]
[2016-06-25 22:56:43,034] [localhost-startStop-1] TRACE - Found bean property 'warnLogCategory' of type [java.lang.String]
[2016-06-25 22:56:43,035] [localhost-startStop-1] DEBUG - Finished creating instance of bean 'org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver#0'
[2016-06-25 22:56:43,035] [localhost-startStop-1] DEBUG - Creating shared instance of singleton bean 'org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver#0'
[2016-06-25 22:56:43,035] [localhost-startStop-1] DEBUG - Creating instance of bean 'org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver#0'
[2016-06-25 22:56:43,035] [localhost-startStop-1] DEBUG - Eagerly caching bean 'org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver#0' to allow for resolving potential circular references
[2016-06-25 22:56:43,035] [localhost-startStop-1] TRACE - Getting BeanInfo for class [org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver]
[2016-06-25 22:56:43,045] [localhost-startStop-1] TRACE - Caching PropertyDescriptors for class [org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver]
[2016-06-25 22:56:43,045] [localhost-startStop-1] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 22:56:43,045] [localhost-startStop-1] TRACE - Found bean property 'mappedHandlerClasses' of type [[Ljava.lang.Class;]
[2016-06-25 22:56:43,045] [localhost-startStop-1] TRACE - Found bean property 'mappedHandlers' of type [java.util.Set]
[2016-06-25 22:56:43,045] [localhost-startStop-1] TRACE - Found bean property 'order' of type [int]
[2016-06-25 22:56:43,045] [localhost-startStop-1] TRACE - Found bean property 'preventResponseCaching' of type [boolean]
[2016-06-25 22:56:43,045] [localhost-startStop-1] TRACE - Found bean property 'warnLogCategory' of type [java.lang.String]
[2016-06-25 22:56:43,046] [localhost-startStop-1] DEBUG - Finished creating instance of bean 'org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver#0'
[2016-06-25 22:56:43,046] [localhost-startStop-1] DEBUG - Creating shared instance of singleton bean 'org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping'
[2016-06-25 22:56:43,046] [localhost-startStop-1] DEBUG - Creating instance of bean 'org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping'
[2016-06-25 22:56:43,047] [localhost-startStop-1] DEBUG - Eagerly caching bean 'org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping' to allow for resolving potential circular references
[2016-06-25 22:56:43,047] [localhost-startStop-1] TRACE - Getting BeanInfo for class [org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping]
[2016-06-25 22:56:43,060] [localhost-startStop-1] TRACE - Caching PropertyDescriptors for class [org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping]
[2016-06-25 22:56:43,088] [localhost-startStop-1] TRACE - Found bean property 'alwaysUseFullPath' of type [boolean]
[2016-06-25 22:56:43,088] [localhost-startStop-1] TRACE - Found bean property 'applicationContext' of type [org.springframework.context.ApplicationContext]
[2016-06-25 22:56:43,088] [localhost-startStop-1] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 22:56:43,088] [localhost-startStop-1] TRACE - Found bean property 'defaultHandler' of type [java.lang.Object]
[2016-06-25 22:56:43,088] [localhost-startStop-1] TRACE - Found bean property 'detectHandlersInAncestorContexts' of type [boolean]
[2016-06-25 22:56:43,088] [localhost-startStop-1] TRACE - Found bean property 'handlerMap' of type [java.util.Map]
[2016-06-25 22:56:43,089] [localhost-startStop-1] TRACE - Found bean property 'interceptors' of type [[Ljava.lang.Object;]
[2016-06-25 22:56:43,089] [localhost-startStop-1] TRACE - Found bean property 'lazyInitHandlers' of type [boolean]
[2016-06-25 22:56:43,089] [localhost-startStop-1] TRACE - Found bean property 'order' of type [int]
[2016-06-25 22:56:43,089] [localhost-startStop-1] TRACE - Found bean property 'pathMatcher' of type [org.springframework.util.PathMatcher]
[2016-06-25 22:56:43,089] [localhost-startStop-1] TRACE - Found bean property 'removeSemicolonContent' of type [boolean]
[2016-06-25 22:56:43,089] [localhost-startStop-1] TRACE - Found bean property 'rootHandler' of type [java.lang.Object]
[2016-06-25 22:56:43,089] [localhost-startStop-1] TRACE - Found bean property 'servletContext' of type [javax.servlet.ServletContext]
[2016-06-25 22:56:43,089] [localhost-startStop-1] TRACE - Found bean property 'urlDecode' of type [boolean]
[2016-06-25 22:56:43,089] [localhost-startStop-1] TRACE - Found bean property 'urlPathHelper' of type [org.springframework.web.util.UrlPathHelper]
[2016-06-25 22:56:43,090] [localhost-startStop-1] DEBUG - Returning cached instance of singleton bean 'org.springframework.web.servlet.handler.MappedInterceptor#0'
[2016-06-25 22:56:43,090] [localhost-startStop-1] DEBUG - Looking for URL mappings in application context: WebApplicationContext for namespace 'ssi-servlet': startup date [Sat Jun 25 22:56:32 CST 2016]; parent: Root WebApplicationContext
[2016-06-25 22:56:43,091] [localhost-startStop-1] DEBUG - Rejected bean name 'mvcContentNegotiationManager': no URL paths identified
[2016-06-25 22:56:43,091] [localhost-startStop-1] DEBUG - Rejected bean name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0': no URL paths identified
[2016-06-25 22:56:43,091] [localhost-startStop-1] DEBUG - Rejected bean name 'org.springframework.format.support.FormattingConversionServiceFactoryBean#0': no URL paths identified
[2016-06-25 22:56:43,091] [localhost-startStop-1] DEBUG - Rejected bean name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter#0': no URL paths identified
[2016-06-25 22:56:43,091] [localhost-startStop-1] DEBUG - Rejected bean name 'org.springframework.web.servlet.handler.MappedInterceptor#0': no URL paths identified
[2016-06-25 22:56:43,091] [localhost-startStop-1] DEBUG - Rejected bean name 'org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver#0': no URL paths identified
[2016-06-25 22:56:43,091] [localhost-startStop-1] DEBUG - Rejected bean name 'org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver#0': no URL paths identified
[2016-06-25 22:56:43,091] [localhost-startStop-1] DEBUG - Rejected bean name 'org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver#0': no URL paths identified
[2016-06-25 22:56:43,091] [localhost-startStop-1] DEBUG - Rejected bean name 'org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping': no URL paths identified
[2016-06-25 22:56:43,091] [localhost-startStop-1] DEBUG - Rejected bean name 'org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter': no URL paths identified
[2016-06-25 22:56:43,091] [localhost-startStop-1] DEBUG - Rejected bean name 'org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter': no URL paths identified
[2016-06-25 22:56:43,091] [localhost-startStop-1] DEBUG - Rejected bean name 'userController': no URL paths identified
[2016-06-25 22:56:43,091] [localhost-startStop-1] DEBUG - Rejected bean name 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor': no URL paths identified
[2016-06-25 22:56:43,091] [localhost-startStop-1] DEBUG - Rejected bean name 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor': no URL paths identified
[2016-06-25 22:56:43,091] [localhost-startStop-1] DEBUG - Rejected bean name 'org.springframework.context.annotation.internalRequiredAnnotationProcessor': no URL paths identified
[2016-06-25 22:56:43,091] [localhost-startStop-1] DEBUG - Rejected bean name 'org.springframework.context.annotation.internalCommonAnnotationProcessor': no URL paths identified
[2016-06-25 22:56:43,091] [localhost-startStop-1] DEBUG - Rejected bean name 'viewResolver': no URL paths identified
[2016-06-25 22:56:43,092] [localhost-startStop-1] DEBUG - Rejected bean name 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor': no URL paths identified
[2016-06-25 22:56:43,092] [localhost-startStop-1] DEBUG - Rejected bean name 'environment': no URL paths identified
[2016-06-25 22:56:43,092] [localhost-startStop-1] DEBUG - Rejected bean name 'systemProperties': no URL paths identified
[2016-06-25 22:56:43,092] [localhost-startStop-1] DEBUG - Rejected bean name 'systemEnvironment': no URL paths identified
[2016-06-25 22:56:43,092] [localhost-startStop-1] DEBUG - Rejected bean name 'servletConfig': no URL paths identified
[2016-06-25 22:56:43,092] [localhost-startStop-1] DEBUG - Rejected bean name 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importRegistry': no URL paths identified
[2016-06-25 22:56:43,092] [localhost-startStop-1] DEBUG - Rejected bean name 'messageSource': no URL paths identified
[2016-06-25 22:56:43,092] [localhost-startStop-1] DEBUG - Rejected bean name 'applicationEventMulticaster': no URL paths identified
[2016-06-25 22:56:43,092] [localhost-startStop-1] DEBUG - Finished creating instance of bean 'org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping'
[2016-06-25 22:56:43,092] [localhost-startStop-1] DEBUG - Creating shared instance of singleton bean 'org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter'
[2016-06-25 22:56:43,092] [localhost-startStop-1] DEBUG - Creating instance of bean 'org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter'
[2016-06-25 22:56:43,092] [localhost-startStop-1] DEBUG - Eagerly caching bean 'org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter' to allow for resolving potential circular references
[2016-06-25 22:56:43,092] [localhost-startStop-1] TRACE - Getting BeanInfo for class [org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter]
[2016-06-25 22:56:43,095] [localhost-startStop-1] TRACE - Caching PropertyDescriptors for class [org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter]
[2016-06-25 22:56:43,095] [localhost-startStop-1] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 22:56:43,096] [localhost-startStop-1] DEBUG - Finished creating instance of bean 'org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter'
[2016-06-25 22:56:43,096] [localhost-startStop-1] DEBUG - Creating shared instance of singleton bean 'org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter'
[2016-06-25 22:56:43,096] [localhost-startStop-1] DEBUG - Creating instance of bean 'org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter'
[2016-06-25 22:56:43,096] [localhost-startStop-1] DEBUG - Eagerly caching bean 'org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter' to allow for resolving potential circular references
[2016-06-25 22:56:43,096] [localhost-startStop-1] TRACE - Getting BeanInfo for class [org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter]
[2016-06-25 22:56:43,099] [localhost-startStop-1] TRACE - Caching PropertyDescriptors for class [org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter]
[2016-06-25 22:56:43,099] [localhost-startStop-1] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 22:56:43,099] [localhost-startStop-1] DEBUG - Finished creating instance of bean 'org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter'
[2016-06-25 22:56:43,100] [localhost-startStop-1] DEBUG - Creating shared instance of singleton bean 'userController'
[2016-06-25 22:56:43,100] [localhost-startStop-1] DEBUG - Creating instance of bean 'userController'
[2016-06-25 22:56:43,107] [localhost-startStop-1] DEBUG - Registered injected element on class [com.ssi.controller.UserController]: ResourceElement for private com.ssi.service.UserService com.ssi.controller.UserController.userService
[2016-06-25 22:56:43,107] [localhost-startStop-1] DEBUG - Eagerly caching bean 'userController' to allow for resolving potential circular references
[2016-06-25 22:56:43,107] [localhost-startStop-1] TRACE - Getting BeanInfo for class [com.ssi.controller.UserController]
[2016-06-25 22:56:43,109] [localhost-startStop-1] TRACE - Caching PropertyDescriptors for class [com.ssi.controller.UserController]
[2016-06-25 22:56:43,109] [localhost-startStop-1] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 22:56:43,109] [localhost-startStop-1] TRACE - Found bean property 'index' of type [org.springframework.web.servlet.ModelAndView]
[2016-06-25 22:56:43,110] [localhost-startStop-1] DEBUG - Processing injected method of bean 'userController': ResourceElement for private com.ssi.service.UserService com.ssi.controller.UserController.userService
[2016-06-25 22:56:43,110] [localhost-startStop-1] DEBUG - Returning cached instance of singleton bean 'userServiceImpl'
[2016-06-25 22:56:43,110] [localhost-startStop-1] DEBUG - Finished creating instance of bean 'userController'
[2016-06-25 22:56:43,110] [localhost-startStop-1] DEBUG - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
[2016-06-25 22:56:43,110] [localhost-startStop-1] DEBUG - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
[2016-06-25 22:56:43,111] [localhost-startStop-1] DEBUG - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
[2016-06-25 22:56:43,111] [localhost-startStop-1] DEBUG - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
[2016-06-25 22:56:43,111] [localhost-startStop-1] DEBUG - Creating shared instance of singleton bean 'viewResolver'
[2016-06-25 22:56:43,111] [localhost-startStop-1] DEBUG - Creating instance of bean 'viewResolver'
[2016-06-25 22:56:43,120] [localhost-startStop-1] DEBUG - Eagerly caching bean 'viewResolver' to allow for resolving potential circular references
[2016-06-25 22:56:43,120] [localhost-startStop-1] TRACE - Getting BeanInfo for class [org.springframework.web.servlet.view.InternalResourceViewResolver]
[2016-06-25 22:56:43,132] [localhost-startStop-1] TRACE - Caching PropertyDescriptors for class [org.springframework.web.servlet.view.InternalResourceViewResolver]
[2016-06-25 22:56:43,132] [localhost-startStop-1] TRACE - Found bean property 'alwaysInclude' of type [boolean]
[2016-06-25 22:56:43,132] [localhost-startStop-1] TRACE - Found bean property 'applicationContext' of type [org.springframework.context.ApplicationContext]
[2016-06-25 22:56:43,132] [localhost-startStop-1] TRACE - Found bean property 'attributes' of type [java.util.Properties]
[2016-06-25 22:56:43,132] [localhost-startStop-1] TRACE - Found bean property 'attributesMap' of type [java.util.Map]
[2016-06-25 22:56:43,132] [localhost-startStop-1] TRACE - Found bean property 'cache' of type [boolean]
[2016-06-25 22:56:43,132] [localhost-startStop-1] TRACE - Found bean property 'cacheLimit' of type [int]
[2016-06-25 22:56:43,133] [localhost-startStop-1] TRACE - Found bean property 'cacheUnresolved' of type [boolean]
[2016-06-25 22:56:43,133] [localhost-startStop-1] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 22:56:43,133] [localhost-startStop-1] TRACE - Found bean property 'contentType' of type [java.lang.String]
[2016-06-25 22:56:43,133] [localhost-startStop-1] TRACE - Found bean property 'exposeContextBeansAsAttributes' of type [boolean]
[2016-06-25 22:56:43,133] [localhost-startStop-1] TRACE - Found bean property 'exposePathVariables' of type [java.lang.Boolean]
[2016-06-25 22:56:43,133] [localhost-startStop-1] TRACE - Found bean property 'exposedContextBeanNames' of type [[Ljava.lang.String;]
[2016-06-25 22:56:43,133] [localhost-startStop-1] TRACE - Found bean property 'order' of type [int]
[2016-06-25 22:56:43,133] [localhost-startStop-1] TRACE - Found bean property 'prefix' of type [java.lang.String]
[2016-06-25 22:56:43,133] [localhost-startStop-1] TRACE - Found bean property 'redirectContextRelative' of type [boolean]
[2016-06-25 22:56:43,133] [localhost-startStop-1] TRACE - Found bean property 'redirectHttp10Compatible' of type [boolean]
[2016-06-25 22:56:43,133] [localhost-startStop-1] TRACE - Found bean property 'requestContextAttribute' of type [java.lang.String]
[2016-06-25 22:56:43,133] [localhost-startStop-1] TRACE - Found bean property 'servletContext' of type [javax.servlet.ServletContext]
[2016-06-25 22:56:43,133] [localhost-startStop-1] TRACE - Found bean property 'suffix' of type [java.lang.String]
[2016-06-25 22:56:43,133] [localhost-startStop-1] TRACE - Found bean property 'viewClass' of type [java.lang.Class]
[2016-06-25 22:56:43,133] [localhost-startStop-1] TRACE - Found bean property 'viewNames' of type [[Ljava.lang.String;]
[2016-06-25 22:56:43,135] [localhost-startStop-1] DEBUG - Finished creating instance of bean 'viewResolver'
[2016-06-25 22:56:43,135] [localhost-startStop-1] DEBUG - Returning cached instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
[2016-06-25 22:56:43,135] [localhost-startStop-1] DEBUG - Unable to locate LifecycleProcessor with name 'lifecycleProcessor': using default [org.springframework.context.support.DefaultLifecycleProcessor@1c402e]
[2016-06-25 22:56:43,135] [localhost-startStop-1] DEBUG - Returning cached instance of singleton bean 'lifecycleProcessor'
[2016-06-25 22:56:43,135] [localhost-startStop-1] TRACE - Publishing event in WebApplicationContext for namespace 'ssi-servlet': org.springframework.context.event.ContextRefreshedEvent[source=WebApplicationContext for namespace 'ssi-servlet': startup date [Sat Jun 25 22:56:32 CST 2016]; parent: Root WebApplicationContext]
[2016-06-25 22:56:43,135] [localhost-startStop-1] TRACE - No bean named 'multipartResolver' found in org.springframework.beans.factory.support.DefaultListableBeanFactory@1203c7a: defining beans [userServiceImpl,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,propertyConfigurer,dataSource,org.mybatis.spring.mapper.MapperScannerConfigurer#0,sqlSessionFactory,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,userDao]; root of factory hierarchy
[2016-06-25 22:56:43,136] [localhost-startStop-1] DEBUG - Unable to locate MultipartResolver with name 'multipartResolver': no multipart request handling provided
[2016-06-25 22:56:43,136] [localhost-startStop-1] TRACE - No bean named 'localeResolver' found in org.springframework.beans.factory.support.DefaultListableBeanFactory@1203c7a: defining beans [userServiceImpl,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,propertyConfigurer,dataSource,org.mybatis.spring.mapper.MapperScannerConfigurer#0,sqlSessionFactory,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,userDao]; root of factory hierarchy
[2016-06-25 22:56:43,138] [localhost-startStop-1] DEBUG - Creating instance of bean 'org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver'
[2016-06-25 22:56:43,139] [localhost-startStop-1] TRACE - Getting BeanInfo for class [org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver]
[2016-06-25 22:56:43,142] [localhost-startStop-1] TRACE - Caching PropertyDescriptors for class [org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver]
[2016-06-25 22:56:43,142] [localhost-startStop-1] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 22:56:43,143] [localhost-startStop-1] DEBUG - Finished creating instance of bean 'org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver'
[2016-06-25 22:56:43,143] [localhost-startStop-1] DEBUG - Unable to locate LocaleResolver with name 'localeResolver': using default [org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver@e92d86]
[2016-06-25 22:56:43,143] [localhost-startStop-1] TRACE - No bean named 'themeResolver' found in org.springframework.beans.factory.support.DefaultListableBeanFactory@1203c7a: defining beans [userServiceImpl,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,propertyConfigurer,dataSource,org.mybatis.spring.mapper.MapperScannerConfigurer#0,sqlSessionFactory,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,userDao]; root of factory hierarchy
[2016-06-25 22:56:43,145] [localhost-startStop-1] DEBUG - Creating instance of bean 'org.springframework.web.servlet.theme.FixedThemeResolver'
[2016-06-25 22:56:43,145] [localhost-startStop-1] TRACE - Getting BeanInfo for class [org.springframework.web.servlet.theme.FixedThemeResolver]
[2016-06-25 22:56:43,151] [localhost-startStop-1] TRACE - Caching PropertyDescriptors for class [org.springframework.web.servlet.theme.FixedThemeResolver]
[2016-06-25 22:56:43,151] [localhost-startStop-1] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 22:56:43,151] [localhost-startStop-1] TRACE - Found bean property 'defaultThemeName' of type [java.lang.String]
[2016-06-25 22:56:43,151] [localhost-startStop-1] DEBUG - Finished creating instance of bean 'org.springframework.web.servlet.theme.FixedThemeResolver'
[2016-06-25 22:56:43,151] [localhost-startStop-1] DEBUG - Unable to locate ThemeResolver with name 'themeResolver': using default [org.springframework.web.servlet.theme.FixedThemeResolver@1da783f]
[2016-06-25 22:56:43,151] [localhost-startStop-1] DEBUG - Returning cached instance of singleton bean 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0'
[2016-06-25 22:56:43,151] [localhost-startStop-1] DEBUG - Returning cached instance of singleton bean 'org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping'
[2016-06-25 22:56:43,152] [localhost-startStop-1] DEBUG - Returning cached instance of singleton bean 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter#0'
[2016-06-25 22:56:43,152] [localhost-startStop-1] DEBUG - Returning cached instance of singleton bean 'org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter'
[2016-06-25 22:56:43,152] [localhost-startStop-1] DEBUG - Returning cached instance of singleton bean 'org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter'
[2016-06-25 22:56:43,152] [localhost-startStop-1] DEBUG - Returning cached instance of singleton bean 'org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver#0'
[2016-06-25 22:56:43,152] [localhost-startStop-1] DEBUG - Returning cached instance of singleton bean 'org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver#0'
[2016-06-25 22:56:43,152] [localhost-startStop-1] DEBUG - Returning cached instance of singleton bean 'org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver#0'
[2016-06-25 22:56:43,152] [localhost-startStop-1] TRACE - No bean named 'viewNameTranslator' found in org.springframework.beans.factory.support.DefaultListableBeanFactory@1203c7a: defining beans [userServiceImpl,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,propertyConfigurer,dataSource,org.mybatis.spring.mapper.MapperScannerConfigurer#0,sqlSessionFactory,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,userDao]; root of factory hierarchy
[2016-06-25 22:56:43,154] [localhost-startStop-1] DEBUG - Creating instance of bean 'org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator'
[2016-06-25 22:56:43,154] [localhost-startStop-1] TRACE - Getting BeanInfo for class [org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator]
[2016-06-25 22:56:43,158] [localhost-startStop-1] TRACE - Caching PropertyDescriptors for class [org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator]
[2016-06-25 22:56:43,158] [localhost-startStop-1] TRACE - Found bean property 'alwaysUseFullPath' of type [boolean]
[2016-06-25 22:56:43,158] [localhost-startStop-1] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 22:56:43,158] [localhost-startStop-1] TRACE - Found bean property 'prefix' of type [java.lang.String]
[2016-06-25 22:56:43,158] [localhost-startStop-1] TRACE - Found bean property 'removeSemicolonContent' of type [boolean]
[2016-06-25 22:56:43,158] [localhost-startStop-1] TRACE - Found bean property 'separator' of type [java.lang.String]
[2016-06-25 22:56:43,158] [localhost-startStop-1] TRACE - Found bean property 'stripExtension' of type [boolean]
[2016-06-25 22:56:43,158] [localhost-startStop-1] TRACE - Found bean property 'stripLeadingSlash' of type [boolean]
[2016-06-25 22:56:43,158] [localhost-startStop-1] TRACE - Found bean property 'stripTrailingSlash' of type [boolean]
[2016-06-25 22:56:43,158] [localhost-startStop-1] TRACE - Found bean property 'suffix' of type [java.lang.String]
[2016-06-25 22:56:43,158] [localhost-startStop-1] TRACE - Found bean property 'urlDecode' of type [boolean]
[2016-06-25 22:56:43,158] [localhost-startStop-1] TRACE - Found bean property 'urlPathHelper' of type [org.springframework.web.util.UrlPathHelper]
[2016-06-25 22:56:43,158] [localhost-startStop-1] DEBUG - Finished creating instance of bean 'org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator'
[2016-06-25 22:56:43,158] [localhost-startStop-1] DEBUG - Unable to locate RequestToViewNameTranslator with name 'viewNameTranslator': using default [org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator@eb97dd]
[2016-06-25 22:56:43,159] [localhost-startStop-1] DEBUG - Returning cached instance of singleton bean 'viewResolver'
[2016-06-25 22:56:43,159] [localhost-startStop-1] TRACE - No bean named 'flashMapManager' found in org.springframework.beans.factory.support.DefaultListableBeanFactory@1203c7a: defining beans [userServiceImpl,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,propertyConfigurer,dataSource,org.mybatis.spring.mapper.MapperScannerConfigurer#0,sqlSessionFactory,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,userDao]; root of factory hierarchy
[2016-06-25 22:56:43,160] [localhost-startStop-1] DEBUG - Creating instance of bean 'org.springframework.web.servlet.support.SessionFlashMapManager'
[2016-06-25 22:56:43,163] [localhost-startStop-1] TRACE - Getting BeanInfo for class [org.springframework.web.servlet.support.SessionFlashMapManager]
[2016-06-25 22:56:43,168] [localhost-startStop-1] TRACE - Caching PropertyDescriptors for class [org.springframework.web.servlet.support.SessionFlashMapManager]
[2016-06-25 22:56:43,168] [localhost-startStop-1] TRACE - Found bean property 'class' of type [java.lang.Class]
[2016-06-25 22:56:43,168] [localhost-startStop-1] TRACE - Found bean property 'flashMapTimeout' of type [int]
[2016-06-25 22:56:43,168] [localhost-startStop-1] TRACE - Found bean property 'urlPathHelper' of type [org.springframework.web.util.UrlPathHelper]
[2016-06-25 22:56:43,168] [localhost-startStop-1] DEBUG - Finished creating instance of bean 'org.springframework.web.servlet.support.SessionFlashMapManager'
[2016-06-25 22:56:43,168] [localhost-startStop-1] DEBUG - Unable to locate FlashMapManager with name 'flashMapManager': using default [org.springframework.web.servlet.support.SessionFlashMapManager@2f6fe5]
[2016-06-25 22:56:43,169] [localhost-startStop-1] TRACE - Publishing event in Root WebApplicationContext: org.springframework.context.event.ContextRefreshedEvent[source=WebApplicationContext for namespace 'ssi-servlet': startup date [Sat Jun 25 22:56:32 CST 2016]; parent: Root WebApplicationContext]
[2016-06-25 22:56:43,169] [localhost-startStop-1] TRACE - getProperty("spring.liveBeansView.mbeanDomain", String)
[2016-06-25 22:56:43,169] [localhost-startStop-1] DEBUG - Searching for key 'spring.liveBeansView.mbeanDomain' in [servletConfigInitParams]
[2016-06-25 22:56:43,169] [localhost-startStop-1] DEBUG - Searching for key 'spring.liveBeansView.mbeanDomain' in [servletContextInitParams]
[2016-06-25 22:56:43,169] [localhost-startStop-1] DEBUG - Searching for key 'spring.liveBeansView.mbeanDomain' in [jndiProperties]
[2016-06-25 22:56:43,169] [localhost-startStop-1] DEBUG - Looking up JNDI object with name [java:comp/env/spring.liveBeansView.mbeanDomain]
[2016-06-25 22:56:43,170] [localhost-startStop-1] DEBUG - Converted JNDI name [java:comp/env/spring.liveBeansView.mbeanDomain] not found - trying original name [spring.liveBeansView.mbeanDomain]. javax.naming.NameNotFoundException: Name [spring.liveBeansView.mbeanDomain] is not bound in this Context. Unable to find [spring.liveBeansView.mbeanDomain].
[2016-06-25 22:56:43,170] [localhost-startStop-1] DEBUG - Looking up JNDI object with name [spring.liveBeansView.mbeanDomain]
[2016-06-25 22:56:43,170] [localhost-startStop-1] DEBUG - JNDI lookup for name [spring.liveBeansView.mbeanDomain] threw NamingException with message: Name [spring.liveBeansView.mbeanDomain] is not bound in this Context. Unable to find [spring.liveBeansView.mbeanDomain].. Returning null.
[2016-06-25 22:56:43,170] [localhost-startStop-1] DEBUG - Searching for key 'spring.liveBeansView.mbeanDomain' in [systemProperties]
[2016-06-25 22:56:43,170] [localhost-startStop-1] DEBUG - Searching for key 'spring.liveBeansView.mbeanDomain' in [systemEnvironment]
[2016-06-25 22:56:43,170] [localhost-startStop-1] TRACE - PropertySource [systemEnvironment] does not contain 'spring.liveBeansView.mbeanDomain'
[2016-06-25 22:56:43,170] [localhost-startStop-1] TRACE - PropertySource [systemEnvironment] does not contain 'spring_liveBeansView_mbeanDomain'
[2016-06-25 22:56:43,170] [localhost-startStop-1] TRACE - PropertySource [systemEnvironment] does not contain 'SPRING.LIVEBEANSVIEW.MBEANDOMAIN'
[2016-06-25 22:56:43,170] [localhost-startStop-1] TRACE - PropertySource [systemEnvironment] does not contain 'SPRING_LIVEBEANSVIEW_MBEANDOMAIN'
[2016-06-25 22:56:43,170] [localhost-startStop-1] DEBUG - Could not find key 'spring.liveBeansView.mbeanDomain' in any property source. Returning [null]
[2016-06-25 22:56:43,170] [localhost-startStop-1] DEBUG - Published WebApplicationContext of servlet 'ssi' as ServletContext attribute with name [org.springframework.web.servlet.FrameworkServlet.CONTEXT.ssi]
[2016-06-25 22:56:43,170] [localhost-startStop-1] INFO - FrameworkServlet 'ssi': initialization completed in 10925 ms
[2016-06-25 22:56:43,171] [localhost-startStop-1] DEBUG - Servlet 'ssi' configured successfully
六月 25, 2016 10:56:43 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-nio-8080"]
六月 25, 2016 10:56:43 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-nio-8009"]
六月 25, 2016 10:56:43 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 16498 ms
[2016-06-25 22:57:10,561] [http-nio-8080-exec-2] TRACE - Bound request context to thread: org.apache.catalina.connector.RequestFacade@11d312c
[2016-06-25 22:57:10,572] [http-nio-8080-exec-2] DEBUG - DispatcherServlet with name 'ssi' processing GET request for [/webserver/]
[2016-06-25 22:57:10,581] [http-nio-8080-exec-2] TRACE - Testing handler map [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping@13fb8fd] in DispatcherServlet with name 'ssi'
[2016-06-25 22:57:10,582] [http-nio-8080-exec-2] DEBUG - Looking up handler method for path /
[2016-06-25 22:57:10,588] [http-nio-8080-exec-2] TRACE - Found 1 matching mapping(s) for [/] : [{[/],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}]
[2016-06-25 22:57:10,589] [http-nio-8080-exec-2] DEBUG - Returning handler method [public org.springframework.web.servlet.ModelAndView com.ssi.controller.UserController.getIndex()]
[2016-06-25 22:57:10,589] [http-nio-8080-exec-2] DEBUG - Returning cached instance of singleton bean 'userController'
[2016-06-25 22:57:10,591] [http-nio-8080-exec-2] TRACE - Testing handler adapter [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter@1e78213]
[2016-06-25 22:57:10,591] [http-nio-8080-exec-2] DEBUG - Last-Modified value for [/webserver/] is: -1
[2016-06-25 22:57:10,617] [http-nio-8080-exec-2] TRACE - Invoking [UserController.getIndex] method with arguments []
[2016-06-25 22:57:10,635] [http-nio-8080-exec-2] DEBUG - Creating a new SqlSession
[2016-06-25 22:57:10,648] [http-nio-8080-exec-2] DEBUG - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@15eeec8] was not registered for synchronization because synchronization is not active
[2016-06-25 22:57:10,756] [http-nio-8080-exec-2] DEBUG - Fetching JDBC Connection from DataSource
[2016-06-25 22:57:10,756] [http-nio-8080-exec-2] DEBUG - Creating new JDBC DriverManager Connection to [jdbc:mysql://localhost:3306/ssi]
[2016-06-25 22:57:10,780] [http-nio-8080-exec-2] DEBUG - JDBC Connection [com.mysql.jdbc.JDBC4Connection@10ca634] will not be managed by Spring
[2016-06-25 22:57:10,792] [http-nio-8080-exec-2] DEBUG - ooo Using Connection [com.mysql.jdbc.JDBC4Connection@10ca634]
[2016-06-25 22:57:10,804] [http-nio-8080-exec-2] DEBUG - ==>  Preparing: SELECT * FROM t_user WHERE USER_ID = ? 
[2016-06-25 22:57:10,851] [http-nio-8080-exec-2] DEBUG - ==> Parameters: 2(Integer)
[2016-06-25 22:57:10,874] [http-nio-8080-exec-2] TRACE - <==    Columns: USER_ID, USER_NAME, USER_PASSWORD
[2016-06-25 22:57:10,874] [http-nio-8080-exec-2] TRACE - <==        Row: 2, zhangsan, 123456
[2016-06-25 22:57:10,877] [http-nio-8080-exec-2] DEBUG - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@15eeec8]
[2016-06-25 22:57:10,877] [http-nio-8080-exec-2] DEBUG - Returning JDBC Connection to DataSource
[2016-06-25 22:57:10,878] [http-nio-8080-exec-2] TRACE - Method [getIndex] returned [ModelAndView: reference to view with name 'index'; model is {user=User [userId=2, userName=zhangsan, userPassword=123456]}]
[2016-06-25 22:57:10,878] [http-nio-8080-exec-2] TRACE - Testing if return value handler [org.springframework.web.servlet.mvc.method.annotation.ModelAndViewMethodReturnValueHandler@189ded1] supports [class org.springframework.web.servlet.ModelAndView]
[2016-06-25 22:57:10,939] [http-nio-8080-exec-2] DEBUG - Invoking afterPropertiesSet() on bean with name 'index'
[2016-06-25 22:57:10,939] [http-nio-8080-exec-2] TRACE - Cached view [index]
[2016-06-25 22:57:10,939] [http-nio-8080-exec-2] DEBUG - Rendering view [org.springframework.web.servlet.view.InternalResourceView: name 'index'; URL [/WEB-INF/view/index.jsp]] in DispatcherServlet with name 'ssi'
[2016-06-25 22:57:10,939] [http-nio-8080-exec-2] TRACE - Rendering view with name 'index' with model {user=User [userId=2, userName=zhangsan, userPassword=123456], org.springframework.validation.BindingResult.user=org.springframework.validation.BeanPropertyBindingResult: 0 errors} and static attributes {}
[2016-06-25 22:57:10,940] [http-nio-8080-exec-2] DEBUG - Added model object 'user' of type [com.ssi.domain.User] to request in view with name 'index'
[2016-06-25 22:57:10,940] [http-nio-8080-exec-2] DEBUG - Added model object 'org.springframework.validation.BindingResult.user' of type [org.springframework.validation.BeanPropertyBindingResult] to request in view with name 'index'
[2016-06-25 22:57:10,941] [http-nio-8080-exec-2] DEBUG - Forwarding to resource [/WEB-INF/view/index.jsp] in InternalResourceView 'index'
[2016-06-25 22:57:12,420] [http-nio-8080-exec-2] TRACE - Cleared thread-bound request context: org.apache.catalina.connector.RequestFacade@11d312c
[2016-06-25 22:57:12,420] [http-nio-8080-exec-2] DEBUG - Successfully completed request
[2016-06-25 22:57:12,421] [http-nio-8080-exec-2] TRACE - Publishing event in WebApplicationContext for namespace 'ssi-servlet': ServletRequestHandledEvent: url=[/webserver/]; client=[0:0:0:0:0:0:0:1]; method=[GET]; servlet=[ssi]; session=[65DB910590025F3A18DBFB55994F141E]; user=[null]; time=[1868ms]; status=[OK]
[2016-06-25 22:57:12,421] [http-nio-8080-exec-2] TRACE - Publishing event in Root WebApplicationContext: ServletRequestHandledEvent: url=[/webserver/]; client=[0:0:0:0:0:0:0:1]; method=[GET]; servlet=[ssi]; session=[65DB910590025F3A18DBFB55994F141E]; user=[null]; time=[1868ms]; status=[OK]
[2016-06-25 22:57:12,421] [http-nio-8080-exec-2] DEBUG - Returning cached instance of singleton bean 'sqlSessionFactory'

 

遇到的問題解決辦法:

六月 25, 2016 10:19:57 下午 org.apache.catalina.core.StandardContext listenerStart
嚴重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1305)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1157)
	at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:520)
	at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:501)
	at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:120)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4651)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

六月 25, 2016 10:19:57 下午 org.apache.catalina.core.StandardContext listenerStart
嚴重: Skipped installing application listeners due to previous error(s)

解決辦法:

需要修改的有兩個地方
1.項目根目錄下的.project文件,用記事本打開,加入以下代碼(把原來的<buildSpec>節點和<natures>替換了):

復制代碼
  <buildSpec>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.maven.ide.eclipse.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.maven.ide.eclipse.maven2Nature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
復制代碼


2.項目根目錄下的.classpath,找到

<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>

替換為:

復制代碼
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
</attributes>
</classpathentry>
復制代碼

OK,到這一步已經完成了,到eclipse中刷新項目,然后重新啟動tomcat,錯誤已經解決!

http://www.cnblogs.com/zhouyalei/archive/2011/11/30/2268606.html

 

12、源碼下載

http://download.csdn.net/detail/u013142781/9376381

13、可能會遇到的錯

之前有個兄弟按照我的配置,但是發現pom.xml文件報如下錯誤:

Cannot detect Web Project version. Please specify version of Web Project through <version> configuration property of war plugin. E.g.: <plugin> <artifactId>maven-war-plugin</artifactId> <configuration> <version>3.0<ersion> </configuration> </plugin>

解決方案是,如下的三個地方jdk版本需要保持一致:

1、項目右鍵->屬性->Java Compiler:

這里寫圖片描述

2、項目右鍵->屬性->Project Facets:

這里寫圖片描述

3、如果pom.xml配置了如下的插件的話:

<build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.7</source> <target>1.7</target> </configuration> </plugin> <plugin> <artifactId>maven-war-plugin</artifactId> <version>2.4</version> <configuration> <version>3.0</version> </configuration> </plugin> </plugins> <finalName>webserver</finalName> </build>

這里也要跟上面兩個保持一致:

這里寫圖片描述

http://blog.csdn.net/u013142781/article/details/50380920

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM