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:javastsworkspacessi_demo	arget	est-classescomssiservice]
[2016-06-25 20:32:10,015] [main] DEBUG - Searching directory [E:javastsworkspacessi_demo	arget	est-classescomssiservice] 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:javastsworkspacessi_demo	argetclassescomssiservice]
[2016-06-25 20:32:10,020] [main] DEBUG - Searching directory [E:javastsworkspacessi_demo	argetclassescomssiservice] 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:javastsworkspacessi_demo	arget	est-classescomssiserviceSpringTestCase.class], file [E:javastsworkspacessi_demo	arget	est-classescomssiserviceUserServiceTest.class], file [E:javastsworkspacessi_demo	argetclassescomssiserviceUserService.class], file [E:javastsworkspacessi_demo	argetclassescomssiserviceUserServiceImpl.class]]
[2016-06-25 20:32:10,021] [main] TRACE - Scanning file [E:javastsworkspacessi_demo	arget	est-classescomssiserviceSpringTestCase.class]
[2016-06-25 20:32:10,051] [main] TRACE - Ignored because not matching any filter: file [E:javastsworkspacessi_demo	arget	est-classescomssiserviceSpringTestCase.class]
[2016-06-25 20:32:10,051] [main] TRACE - Scanning file [E:javastsworkspacessi_demo	arget	est-classescomssiserviceUserServiceTest.class]
[2016-06-25 20:32:10,052] [main] TRACE - Ignored because not matching any filter: file [E:javastsworkspacessi_demo	arget	est-classescomssiserviceUserServiceTest.class]
[2016-06-25 20:32:10,052] [main] TRACE - Scanning file [E:javastsworkspacessi_demo	argetclassescomssiserviceUserService.class]
[2016-06-25 20:32:10,053] [main] TRACE - Ignored because not matching any filter: file [E:javastsworkspacessi_demo	argetclassescomssiserviceUserService.class]
[2016-06-25 20:32:10,053] [main] TRACE - Scanning file [E:javastsworkspacessi_demo	argetclassescomssiserviceUserServiceImpl.class]
[2016-06-25 20:32:10,061] [main] DEBUG - Identified candidate component class: file [E:javastsworkspacessi_demo	argetclassescomssiserviceUserServiceImpl.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:javastsworkspacessi_demo	argetclassescomssidao]
[2016-06-25 20:32:10,236] [main] DEBUG - Searching directory [E:javastsworkspacessi_demo	argetclassescomssidao] 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:javastsworkspacessi_demo	argetclassescomssidaoUserDao.class]]
[2016-06-25 20:32:10,236] [main] TRACE - Scanning file [E:javastsworkspacessi_demo	argetclassescomssidaoUserDao.class]
[2016-06-25 20:32:10,237] [main] DEBUG - Identified candidate component class: file [E:javastsworkspacessi_demo	argetclassescomssidaoUserDao.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:javastsworkspacessi_demo	argetclassesproperties]
[2016-06-25 20:32:10,261] [main] DEBUG - Searching directory [E:javastsworkspacessi_demo	argetclassesproperties] 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:javastsworkspacessi_demo	argetclassespropertiesjdbc.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:javastsworkspacessi_demo	argetclassespropertiesjdbc.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:javastsworkspacessi_demo	argetclassesmapper]
[2016-06-25 20:32:10,355] [main] DEBUG - Searching directory [E:javastsworkspacessi_demo	argetclassesmapper] 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:javastsworkspacessi_demo	argetclassesmapperuserMapper.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:javastsworkspacessi_demo	argetclassesmapperuserMapper.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:javastsworkspace.metadata.pluginsorg.eclipse.wst.server.core	mp1wtpwebappsssi_demoWEB-INFclassescomssicontroller]
[2016-06-25 22:56:32,698] [localhost-startStop-1] DEBUG - Searching directory [E:javastsworkspace.metadata.pluginsorg.eclipse.wst.server.core	mp1wtpwebappsssi_demoWEB-INFclassescomssicontroller] 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:javastsworkspace.metadata.pluginsorg.eclipse.wst.server.core	mp1wtpwebappsssi_demoWEB-INFclassescomssicontrollerUserController.class]]
[2016-06-25 22:56:32,699] [localhost-startStop-1] TRACE - Scanning file [E:javastsworkspace.metadata.pluginsorg.eclipse.wst.server.core	mp1wtpwebappsssi_demoWEB-INFclassescomssicontrollerUserController.class]
[2016-06-25 22:56:32,713] [localhost-startStop-1] DEBUG - Identified candidate component class: file [E:javastsworkspace.metadata.pluginsorg.eclipse.wst.server.core	mp1wtpwebappsssi_demoWEB-INFclassescomssicontrollerUserController.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

原文地址:https://www.cnblogs.com/softidea/p/5616843.html