基于maven的spring mvc项目

applicationContext.xml

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:context="http://www.springframework.org/schema/context"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
	xmlns:tx="http://www.springframework.org/schema/tx" xmlns:p="http://www.springframework.org/schema/p"
	xmlns:util="http://www.springframework.org/schema/util" xmlns:jdbc="http://www.springframework.org/schema/jdbc"
	xmlns:cache="http://www.springframework.org/schema/cache"
	xsi:schemaLocation="  
    http://www.springframework.org/schema/context  
    http://www.springframework.org/schema/context/spring-context.xsd  
    http://www.springframework.org/schema/beans  
    http://www.springframework.org/schema/beans/spring-beans.xsd  
    http://www.springframework.org/schema/tx  
    http://www.springframework.org/schema/tx/spring-tx.xsd  
    http://www.springframework.org/schema/jdbc  
    http://www.springframework.org/schema/jdbc/spring-jdbc-3.1.xsd  
    http://www.springframework.org/schema/cache  
    http://www.springframework.org/schema/cache/spring-cache-3.1.xsd  
    http://www.springframework.org/schema/aop  
    http://www.springframework.org/schema/aop/spring-aop.xsd  
    http://www.springframework.org/schema/util  
    http://www.springframework.org/schema/util/spring-util.xsd">

	<!-- jdbc.properties文件路径 -->
	<bean
		class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
		<property name="locations"
			value="classpath*:jdbc.properties" />
	</bean>
	<!-- 数据源的配置 -->
	<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"
		destroy-method="close">
		<property name="driverClassName" value="${driver}" />
		<property name="url" value="${url}" />
		<property name="username" value="${user}" />
		<property name="password" value="${password}" />
		<!-- data source configuration -->
		<property name="initialSize" value="60" />
		<!-- initial connections -->
		<property name="maxActive" value="100" />
		<!-- MAX connections -->
		<property name="maxIdle" value="50" />
		<!-- MAX idle connections -->
		<property name="minIdle" value="10" />
		<!-- MIN idle connections -->
		<!-- 处理mysql 8小时自动断开连接的问题 -->
		<property name="testWhileIdle" value="true" />
		<property name="testOnBorrow" value="false" />
		<property name="testOnReturn" value="false" />
		<property name="validationQuery" value="select 1" />
		<property name="timeBetweenEvictionRunsMillis" value="20000" />
		<property name="numTestsPerEvictionRun" value="100" />
	</bean>
	<!-- 事务相关控制 -->
	<bean id="transactionManager"
		class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
		<property name="dataSource" ref="dataSource" />
	</bean>
<!-- 	<tx:advice id="userTxAdvice" transaction-manager="transactionManager"> -->
<!-- 		<tx:attributes> -->
<!-- 			<tx:method name="*" propagation="REQUIRED" read-only="false" -->
<!-- 				rollback-for="java.lang.Exception" /> -->
<!-- 		</tx:attributes> -->
<!-- 	</tx:advice> -->
<!-- 	<aop:config> -->
<!-- 		<aop:pointcut id="pc" -->
<!-- 			expression="execution(* com.chenjun.mall.service.*.*(..))" /> -->
		<!--把事务控制在Business层 -->
<!-- 		<aop:advisor pointcut-ref="pc" advice-ref="userTxAdvice" /> -->
<!-- 	</aop:config> -->

	<!-- MyBatis sqlSessionFactory 配置 mybatis -->
	<bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean">
		<property name="configLocation"
			value="classpath:mybatis-config.xml" />
		<property name="dataSource" ref="dataSource" />
	</bean>
	<bean id="sqlSession" class="org.mybatis.spring.SqlSessionTemplate">
		<constructor-arg index="0" ref="sqlSessionFactory" />
	</bean>
</beans>

jdbc.properties

driver=com.mysql.jdbc.Driver
url=jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf-8
user=root
password=root

log4j.properties

#\u914D\u7F6E\u4E86\u63A7\u5236\u53F0\u548C\u6587\u672C\u8BB0\u5F55\u4E24\u79CD\u65B9\u5F0F
log4j.rootLogger=DEBUG,CONSOLE,FILEOUT
log4j.addivity.org.apache=true

# CONSOLE
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.Threshold=DEBUG
log4j.appender.CONSOLE.Target=System.out
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
#log4j.appender.CONSOLE.layout.ConversionPattern=[framework] %d \u2013 %c -%-4r [%t] %-5p %c %x \u2013 %m%n
log4j.appender.CONSOLE.layout.ConversionPattern=[%-5p] %d{yyyy-MM-dd HH\:mm\:ss} \:%m%n

#
# FILEOUT
log4j.appender.FILEOUT=org.apache.log4j.RollingFileAppender
log4j.appender.FILEOUT.File=${catalina.home}\\file.log
log4j.appender.fileout.MaxFileSize=100000KB
# default is true\uFF0Cappend to the file; if false, the replace the log file whenever restart system
log4j.appender.FILEOUT.Append=true
#RollingFileAppender\u6CA1\u6709DatePattern\u8FD9\u4E2A\u5C5E\u6027
log4j.appender.FILEOUT.layout=org.apache.log4j.PatternLayout
#log4j.appender.CONSOLE.layout.ConversionPattern=[framework] %d \u2013 %c -%-4r [%t] %-5p %c %x \u2013 %m%n
log4j.appender.FILEOUT.layout.ConversionPattern=[%-5p]_%d{yyyy-MM-dd HH\:mm\:ss} \:%m%n

mybatis-config.xml

<?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>
        <!-- 命名空间 -->
    <typeAliases>
         <typeAlias alias="User" type="com.chenjun.mall.entity.User"/>
    </typeAliases>
 
    <!-- 映射map -->
    <mappers>
    </mappers>
</configuration>

springMVC.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:p="http://www.springframework.org/schema/p"
	xmlns:context="http://www.springframework.org/schema/context"
	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/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
       http://www.springframework.org/schema/context
       http://www.springframework.org/schema/context/spring-context-3.0.xsd">

	<context:annotation-config />
	<!-- 把标记了注解的类转换为bean ,这里并不是只扫描controller,要不然concroller注入报错-->
	<context:component-scan base-package="com.chenjun.mall" />

	<!-- 启动Spring MVC的注解功能,完成请求和注解POJO的映射 -->
	<bean
		class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter" />
	<!-- 视图 beans -->
	<bean id="jspViewResolver"
		class="org.springframework.web.servlet.view.InternalResourceViewResolver">
		<property name="prefix">
			<value>/WEB-INF/jsp/</value>
		</property>
		<property name="suffix">
			<value>.jsp</value>
		</property>
		<property name="order" value="1" /><!-- 默认视图解析器 -->
	</bean>

	<!-- FreeMarker视图解析 如返回userinfo。。在这里配置后缀名ftl和视图解析器。。 -->
	<bean id="freeMarkerViewResolver"
		class="org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver">
		<property name="viewClass"
			value="org.springframework.web.servlet.view.freemarker.FreeMarkerView" />
		<property name="suffix" value=".ftl" />
		<property name="contentType" value="text/html;charset=GBK" />
		<property name="exposeRequestAttributes" value="true" />
		<property name="exposeSessionAttributes" value="true" />
		<property name="exposeSpringMacroHelpers" value="true" />
		<property name="order" value="2" />
	</bean>
	<!-- Controller 跳转的JSP页面路径 和 文件的后缀 -->

	<!-- 避免IE在ajax请求时,返回json出现下载 -->
	<bean id="jacksonMessageConverter"
		class="org.springframework.http.converter.json.MappingJacksonHttpMessageConverter">
		<property name="supportedMediaTypes">
			<list>
				<value>text/html;charset=UTF-8</value>
			</list>
		</property>
	</bean>

	<!-- 文件上传 -->
	<bean id="multipartResolver"
		class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
		<!-- set the max upload size100MB -->
		<property name="maxUploadSize">
			<value>104857600</value>
		</property>
		<property name="maxInMemorySize">
			<value>1024000</value>
		</property>
	</bean>
</beans>

web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
     http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

	<display-name>eshop</display-name>

	<context-param>
		<param-name>contextConfigLocation</param-name>
		<param-value>classpath*:ApplicationContext.xml</param-value>
	</context-param>

	<listener>
		<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class><!-- 
			以spring方式启动 -->
	</listener>

	<!-- springMVC核心配置 -->
	<servlet>
		<servlet-name>springmvc</servlet-name>
		<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class><!-- 
			该工程为springmvc项目 -->
		<init-param>
			<param-name>contextConfigLocation</param-name>
			<param-value>classpath*:SpringMVC.xml</param-value>
		</init-param>
		<load-on-startup>1</load-on-startup>
	</servlet>
	<servlet-mapping>
		<servlet-name>springmvc</servlet-name>
		<url-pattern>/</url-pattern>
	</servlet-mapping>

	<!-- <filter> -->
	<!-- <filter-name>encodingFilter</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>encodingFilter</filter-name> -->
	<!-- <url-pattern>/*</url-pattern> -->
	<!-- </filter-mapping> -->

	<!-- 读取spring配置文件 -->
	<!-- <context-param> -->
	<!-- <param-name>contextConfigLocation</param-name> -->
	<!-- <param-value>classpath:ApplicationContext.xml -->
	<!-- </param-value> -->
	<!-- </context-param> -->



	<!-- 日志记录 -->
	<!-- <context-param> -->
	<!-- 日志配置文件路径 -->
	<!-- <param-name>log4jConfigLocation</param-name> -->
	<!-- <param-value>classpath:log4j.properties</param-value> -->
	<!-- </context-param> -->
	<!-- <context-param> -->
	<!-- 日志页面的刷新间隔 -->
	<!-- <param-name>log4jRefreshInterval</param-name> -->
	<!-- <param-value>6000</param-value> -->
	<!-- </context-param> -->
	<!-- <listener> -->
	<!-- <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class> -->
	<!-- </listener> -->


	<welcome-file-list>
		<welcome-file>index.jsp</welcome-file>
	</welcome-file-list>

</web-app>

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.chenjun</groupId>
	<artifactId>eshop</artifactId>
	<version>0.0.1-SNAPSHOT</version>
	<packaging>war</packaging>
	<name>eshop</name>
	<description />
	<url>http://maven.apache.org/</url>

	<properties>
		<org.springframework.version>3.0.0.RELEASE</org.springframework.version>
	</properties>

	<dependencies>
		<!-- Core utilities used by other modules. Define this if you use Spring 
			Utility APIs (org.springframework.core.*/org.springframework.util.*) -->

		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-core</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>

		<!-- Expression Language (depends on spring-core) Define this if you use 
			Spring Expression APIs (org.springframework.expression.*) -->

		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-expression</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>

		<!--Bean Factory and JavaBeans utilities (depends on spring-core) Define 
			this if you use Spring Bean APIs (org.springframework.beans.*) -->

		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-beans</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>

		<!-- Aspect Oriented Programming (AOP) Framework (depends on spring-core, 
			spring-beans) Define this if you use Spring AOP APIs (org.springframework.aop.*) -->
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-aop</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>

		<!-- Application Context (depends on spring-core, spring-expression, spring-aop, 
			spring-beans) This is the central artifact for Spring’s Dependency Injection 
			Container and is generally always defined -->
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-context</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>

		<!-- Various Application Context utilities, including EhCache, JavaMail, 
			Quartz, and Freemarker integration Define this if you need any of these integrations -->
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-context-support</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>

		<!-- Transaction Management Abstraction (depends on spring-core, spring-beans, 
			spring-aop, spring-context) Define this if you use Spring Transactions or 
			DAO Exception Hierarchy (org.springframework.transaction.*/org.springframework.dao.*) -->
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-tx</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>

		<!-- JDBC Data Access Library (depends on spring-core, spring-beans, spring-context, 
			spring-tx) Define this if you use Spring’s JdbcTemplate API (org.springframework.jdbc.*) -->
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-jdbc</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>

		<!-- Object-to-Relation-Mapping (ORM) integration with Hibernate, JPA, 
			and iBatis. (depends on spring-core, spring-beans, spring-context, spring-tx) 
			Define this if you need ORM (org.springframework.orm.*) -->
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-orm</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>

		<!-- Object-to-XML Mapping (OXM) abstraction and integration with JAXB, 
			JiBX, Castor, XStream, and XML Beans. (depends on spring-core, spring-beans, 
			spring-context) Define this if you need OXM (org.springframework.oxm.*) -->
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-oxm</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>

		<!-- Web application development utilities applicable to both Servlet and 
			Portlet Environments (depends on spring-core, spring-beans, spring-context) 
			Define this if you use Spring MVC, or wish to use Struts, JSF, or another 
			web framework with Spring (org.springframework.web.*) -->
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-web</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>

		<!-- Spring MVC for Servlet Environments (depends on spring-core, spring-beans, 
			spring-context, spring-web) Define this if you use Spring MVC with a Servlet 
			Container such as Apache Tomcat (org.springframework.web.servlet.*) -->
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-webmvc</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>

		<!-- Spring MVC for Portlet Environments (depends on spring-core, spring-beans, 
			spring-context, spring-web) Define this if you use Spring MVC with a Portlet 
			Container (org.springframework.web.portlet.*) -->
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-webmvc-portlet</artifactId>
			<version>${org.springframework.version}</version>
		</dependency>

		<!-- Support for testing Spring applications with tools such as JUnit and 
			TestNG This artifact is generally always defined with a ‘test’ scope for 
			the integration testing framework and unit testing stubs -->
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-test</artifactId>
			<version>${org.springframework.version}</version>
			<scope>test</scope>
		</dependency>

		<!-- Mybatis 开发包 -->
		<dependency>
			<groupId>org.mybatis</groupId>
			<artifactId>mybatis-spring</artifactId>
			<version>1.1.1</version>
		</dependency>

		<!-- Mybatis 和Spring的 整合包,是mybatis出的 -->
		<dependency>
			<groupId>org.mybatis</groupId>
			<artifactId>mybatis</artifactId>
			<version>3.1.1</version>
		</dependency>

		<!-- tomcat servlet开发包 -->
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>jstl</artifactId>
			<version>1.2</version>
		</dependency>

		<!-- JSTL标签库 -->
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>servlet-api</artifactId>
			<version>2.5</version>
		</dependency>

		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>jsp-api</artifactId>
			<version>2.0</version>
			<scope>provided</scope>
		</dependency>

		<!-- mysql的数据库驱动包 -->
		<dependency>
			<groupId>mysql</groupId>
			<artifactId>mysql-connector-java</artifactId>
			<version>5.1.21</version>
		</dependency>

		<!-- 日志打印 log4j包 -->
		<dependency>
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
			<version>1.2.14</version>
			<scope>runtime</scope>
		</dependency>

		<!-- 下面两个包 commons-dbcp,commons-pool 是配置数据源的包 -->
		<dependency>
			<groupId>commons-dbcp</groupId>
			<artifactId>commons-dbcp</artifactId>
			<version>1.4</version>
		</dependency>
		<dependency>
			<groupId>commons-pool</groupId>
			<artifactId>commons-pool</artifactId>
			<version>1.4</version>
		</dependency>

		<!-- 日志记录依赖包,很多都依赖此包,像log4j,json-lib等等 -->
		<dependency>
			<groupId>commons-logging</groupId>
			<artifactId>commons-logging-api</artifactId>
			<version>1.1</version>
		</dependency>

		<!-- Spring 文件上传的包 -->
		<dependency>
			<groupId>commons-fileupload</groupId>
			<artifactId>commons-fileupload</artifactId>
			<version>1.2.2</version>
		</dependency>

		<!-- Spring 文件上传的依赖包 -->
		<dependency>
			<groupId>org.apache.commons</groupId>
			<artifactId>commons-io</artifactId>
			<version>1.3.2</version>
		</dependency>

		<!-- dom4j 解析 XML文件的包 -->
		<dependency>
			<groupId>dom4j</groupId>
			<artifactId>dom4j</artifactId>
			<version>1.6.1</version>
		</dependency>
		<!-- 下面的三个包是在配置事务的时候用到的 spring的依赖包 -->
		<dependency>
			<groupId>org.aspectj</groupId>
			<artifactId>aspectjweaver</artifactId>
			<version>1.7.0</version>
		</dependency>
		<dependency>
			<groupId>aopalliance</groupId>
			<artifactId>aopalliance</artifactId>
			<version>1.0</version>
		</dependency>
		<dependency>
			<groupId>cglib</groupId>
			<artifactId>cglib-nodep</artifactId>
			<version>2.2.2</version>
		</dependency>



		<!-- json数据 -->
		<dependency>
			<groupId>org.codehaus.jackson</groupId>
			<artifactId>jackson-core-asl</artifactId>
			<version>1.6.0</version>
		</dependency>
		<dependency>
			<groupId>org.codehaus.jackson</groupId>
			<artifactId>jackson-mapper-asl</artifactId>
			<version>1.6.0</version>
		</dependency>

		<dependency>
			<groupId>commons-beanutils</groupId>
			<artifactId>commons-beanutils</artifactId>
			<version>1.8.3</version>
		</dependency>
		<dependency>
			<groupId>commons-collections</groupId>
			<artifactId>commons-collections</artifactId>
			<version>3.2.1</version>
		</dependency>
		<dependency>
			<groupId>commons-lang</groupId>
			<artifactId>commons-lang</artifactId>
			<version>2.6</version>
		</dependency>
		<dependency>
			<groupId>net.sf.ezmorph</groupId>
			<artifactId>ezmorph</artifactId>
			<version>1.0.5</version>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>3.8.1</version>
			<scope>test</scope>
		</dependency>
	</dependencies>

	<build>



		<plugins>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-war-plugin</artifactId><!-- 这个插件一直忘了加,结果一直报错 -->
				<version>2.1.1</version>
				<configuration>
					<webResources>
						<resource>
							<directory>src/main/webapp</directory>
							<excludes>
								<exclude>**/*.jpg</exclude>
							</excludes>
						</resource>
					</webResources>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.mortbay.jetty</groupId>
				<artifactId>jetty-maven-plugin</artifactId><!-- 注意在 6之前名称是maven-jetty-plugin -->
				<version>7.2.0.v20101020</version>
				<configuration>
					<scanIntervalSeconds>10</scanIntervalSeconds>
					<stopPort>9966</stopPort>
					<stopKey>foo</stopKey>
					<connectors>
						<connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
							<port>7777</port>
							<maxIdleTime>60000</maxIdleTime>
						</connector>
					</connectors>
					<webAppConfig> <!-- 这是jetty7+才新加的,之前是没有的,由clipse管理 -->
						<contextPath>/eshop</contextPath>
					</webAppConfig>

				</configuration>
			</plugin>


		</plugins>
	</build>

</project>

启动如下;

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building eshop 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] >>> jetty-maven-plugin:7.2.0.v20101020:run-exploded (default-cli) @ eshop >>>
[WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocated to commons-io:commons-io:jar:1.3.2
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ eshop ---
[debug] execute contextualize
[WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 5 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ eshop ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ eshop ---
[debug] execute contextualize
[WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ eshop ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ eshop ---
[INFO] Surefire report directory: G:\projects\eshop\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running eshop.UserTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-war-plugin:2.1.1:war (default-war) @ eshop ---
[INFO] Packaging webapp
[INFO] Assembling webapp [eshop] in [G:\projects\eshop\target\eshop-0.0.1-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp webResources [G:\projects\eshop\src/main/webapp] to [G:\projects\eshop\target\eshop-0.0.1-SNAPSHOT]
[INFO] Copying webapp resources [G:\projects\eshop\src\main\webapp]
[INFO] Webapp assembled in [311 msecs]
[INFO] Building war: G:\projects\eshop\target\eshop-0.0.1-SNAPSHOT.war
[WARNING] Warning: selected war files include a WEB-INF/web.xml which will be ignored 
(webxml attribute is missing from war task, or ignoreWebxml attribute is specified as 'true')
[INFO] 
[INFO] <<< jetty-maven-plugin:7.2.0.v20101020:run-exploded (default-cli) @ eshop <<<
[INFO] 
[INFO] --- jetty-maven-plugin:7.2.0.v20101020:run-exploded (default-cli) @ eshop ---
[INFO] Configuring Jetty for project: eshop
[INFO] Context path = /eshop
[INFO] Tmp directory = G:\projects\eshop\target\tmp
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
[INFO] Web overrides =  none
[INFO] Starting jetty 7.2.0.v20101020 ...
2015-04-20 22:21:48.254:INFO::jetty-7.2.0.v20101020
2015-04-20 22:21:49.305:INFO::No Transaction manager found - if your webapp requires one, please configure one.
2015-04-20 22:21:49.696:INFO:/eshop:Initializing Spring root WebApplicationContext
[INFO ] 2015-04-20 22:21:49 :Root WebApplicationContext: initialization started
[INFO ] 2015-04-20 22:21:49 :Refreshing Root WebApplicationContext: startup date [Mon Apr 20 22:21:49 CST 2015]; root of context hierarchy
[INFO ] 2015-04-20 22:21:49 :Loading XML bean definitions from URL [file:/G:/projects/eshop/target/eshop-0.0.1-SNAPSHOT/WEB-INF/classes/ApplicationContext.xml]
[DEBUG] 2015-04-20 22:21:49 :Using JAXP provider [com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl]
[DEBUG] 2015-04-20 22:21:49 :Loading schema mappings from [META-INF/spring.schemas]
[DEBUG] 2015-04-20 22:21:49 :Loaded schema mappings: {http://www.springframework.org/schema/oxm/spring-oxm-3.0.xsd=org/springframework/oxm/config/spring-oxm-3.0.xsd, http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-3.0.xsd, http://www.springframework.org/schema/task/spring-task.xsd=org/springframework/scheduling/config/spring-task-3.0.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/oxm/spring-oxm.xsd=org/springframework/oxm/config/spring-oxm-3.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.0.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/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-3.0.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/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/task/spring-task-3.0.xsd=org/springframework/scheduling/config/spring-task-3.0.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.0.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.xsd=org/springframework/scripting/config/spring-lang-3.0.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/jee/spring-jee-3.0.xsd=org/springframework/ejb/config/spring-jee-3.0.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.xsd=org/springframework/context/config/spring-context-3.0.xsd, http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-3.0.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.0.xsd, http://www.springframework.org/schema/jdbc/spring-jdbc.xsd=org/springframework/jdbc/config/spring-jdbc-3.0.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/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.0.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/beans/spring-beans-2.5.xsd=org/springframework/beans/factory/xml/spring-beans-2.5.xsd}
[DEBUG] 2015-04-20 22:21:49 :Found XML schema [http://www.springframework.org/schema/beans/spring-beans.xsd] in classpath: org/springframework/beans/factory/xml/spring-beans-3.0.xsd
[DEBUG] 2015-04-20 22:21:50 :Loading bean definitions
[DEBUG] 2015-04-20 22:21:50 :Neither XML 'id' nor 'name' specified - using generated bean name [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0]
[DEBUG] 2015-04-20 22:21:50 :Loaded 5 bean definitions from location pattern [classpath*:ApplicationContext.xml]
[DEBUG] 2015-04-20 22:21:50 :Bean factory for Root WebApplicationContext: org.springframework.beans.factory.support.DefaultListableBeanFactory@fb39f6: defining beans [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,dataSource,transactionManager,sqlSessionFactory,sqlSession]; root of factory hierarchy
[DEBUG] 2015-04-20 22:21:50 :Creating shared instance of singleton bean 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0'
[DEBUG] 2015-04-20 22:21:50 :Creating instance of bean 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0'
[DEBUG] 2015-04-20 22:21:50 :Eagerly caching bean 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' to allow for resolving potential circular references
[DEBUG] 2015-04-20 22:21:50 :Finished creating instance of bean 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0'
[INFO ] 2015-04-20 22:21:50 :Loading properties file from URL [file:/G:/projects/eshop/target/eshop-0.0.1-SNAPSHOT/WEB-INF/classes/jdbc.properties]
[DEBUG] 2015-04-20 22:21:50 :Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@1588de9]
[DEBUG] 2015-04-20 22:21:50 :Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@ea288f]
[DEBUG] 2015-04-20 22:21:50 :Unable to locate ThemeSource with name 'themeSource': using default [org.springframework.ui.context.support.ResourceBundleThemeSource@874cc3]
[INFO ] 2015-04-20 22:21:50 :Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@fb39f6: defining beans [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,dataSource,transactionManager,sqlSessionFactory,sqlSession]; root of factory hierarchy
[DEBUG] 2015-04-20 22:21:50 :Returning cached instance of singleton bean 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0'
[DEBUG] 2015-04-20 22:21:50 :Creating shared instance of singleton bean 'dataSource'
[DEBUG] 2015-04-20 22:21:50 :Creating instance of bean 'dataSource'
[DEBUG] 2015-04-20 22:21:50 :Eagerly caching bean 'dataSource' to allow for resolving potential circular references
[DEBUG] 2015-04-20 22:21:50 :Finished creating instance of bean 'dataSource'
[DEBUG] 2015-04-20 22:21:50 :Creating shared instance of singleton bean 'transactionManager'
[DEBUG] 2015-04-20 22:21:50 :Creating instance of bean 'transactionManager'
[DEBUG] 2015-04-20 22:21:50 :Eagerly caching bean 'transactionManager' to allow for resolving potential circular references
[DEBUG] 2015-04-20 22:21:50 :Returning cached instance of singleton bean 'dataSource'
[DEBUG] 2015-04-20 22:21:50 :Invoking afterPropertiesSet() on bean with name 'transactionManager'
[DEBUG] 2015-04-20 22:21:50 :Finished creating instance of bean 'transactionManager'
[DEBUG] 2015-04-20 22:21:50 :Creating shared instance of singleton bean 'sqlSessionFactory'
[DEBUG] 2015-04-20 22:21:50 :Creating instance of bean 'sqlSessionFactory'
[DEBUG] 2015-04-20 22:21:50 :Logging initialized using 'org.apache.ibatis.logging.commons.JakartaCommonsLoggingImpl' adapter.
[DEBUG] 2015-04-20 22:21:50 :Eagerly caching bean 'sqlSessionFactory' to allow for resolving potential circular references
[DEBUG] 2015-04-20 22:21:50 :Returning cached instance of singleton bean 'dataSource'
[DEBUG] 2015-04-20 22:21:50 :Invoking afterPropertiesSet() on bean with name 'sqlSessionFactory'
[DEBUG] 2015-04-20 22:21:50 :Parsed configuration file: 'class path resource [mybatis-config.xml]'
[DEBUG] 2015-04-20 22:21:52 :Property 'mapperLocations' was not specified or no matching resources found
[DEBUG] 2015-04-20 22:21:52 :Finished creating instance of bean 'sqlSessionFactory'
[DEBUG] 2015-04-20 22:21:52 :Creating shared instance of singleton bean 'sqlSession'
[DEBUG] 2015-04-20 22:21:52 :Creating instance of bean 'sqlSession'
[DEBUG] 2015-04-20 22:21:52 :Returning cached instance of singleton bean 'sqlSessionFactory'
[DEBUG] 2015-04-20 22:21:52 :Eagerly caching bean 'sqlSession' to allow for resolving potential circular references
[DEBUG] 2015-04-20 22:21:52 :Finished creating instance of bean 'sqlSession'
[DEBUG] 2015-04-20 22:21:52 :Unable to locate LifecycleProcessor with name 'lifecycleProcessor': using default [org.springframework.context.support.DefaultLifecycleProcessor@a7ac22]
[DEBUG] 2015-04-20 22:21:52 :Returning cached instance of singleton bean 'lifecycleProcessor'
[DEBUG] 2015-04-20 22:21:52 :Returning cached instance of singleton bean 'sqlSessionFactory'
[DEBUG] 2015-04-20 22:21:52 :Published root WebApplicationContext as ServletContext attribute with name [org.springframework.web.context.WebApplicationContext.ROOT]
[INFO ] 2015-04-20 22:21:52 :Root WebApplicationContext: initialization completed in 3232 ms
[DEBUG] 2015-04-20 22:21:53 :Initializing servlet 'springmvc'
2015-04-20 22:21:53.108:INFO:/eshop:Initializing Spring FrameworkServlet 'springmvc'
[INFO ] 2015-04-20 22:21:53 :FrameworkServlet 'springmvc': initialization started
[DEBUG] 2015-04-20 22:21:53 :Servlet with name 'springmvc' will try to create custom WebApplicationContext context of class 'org.springframework.web.context.support.XmlWebApplicationContext', using parent context [Root WebApplicationContext: startup date [Mon Apr 20 22:21:49 CST 2015]; root of context hierarchy]
[INFO ] 2015-04-20 22:21:53 :Refreshing WebApplicationContext for namespace 'springmvc-servlet': startup date [Mon Apr 20 22:21:53 CST 2015]; parent: Root WebApplicationContext
[INFO ] 2015-04-20 22:21:53 :Loading XML bean definitions from URL [file:/G:/projects/eshop/target/eshop-0.0.1-SNAPSHOT/WEB-INF/classes/SpringMVC.xml]
[DEBUG] 2015-04-20 22:21:53 :Using JAXP provider [com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl]
[DEBUG] 2015-04-20 22:21:53 :Loading schema mappings from [META-INF/spring.schemas]
[DEBUG] 2015-04-20 22:21:53 :Loaded schema mappings: {http://www.springframework.org/schema/oxm/spring-oxm-3.0.xsd=org/springframework/oxm/config/spring-oxm-3.0.xsd, http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-3.0.xsd, http://www.springframework.org/schema/task/spring-task.xsd=org/springframework/scheduling/config/spring-task-3.0.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/oxm/spring-oxm.xsd=org/springframework/oxm/config/spring-oxm-3.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.0.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/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-3.0.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/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/task/spring-task-3.0.xsd=org/springframework/scheduling/config/spring-task-3.0.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.0.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.xsd=org/springframework/scripting/config/spring-lang-3.0.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/jee/spring-jee-3.0.xsd=org/springframework/ejb/config/spring-jee-3.0.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.xsd=org/springframework/context/config/spring-context-3.0.xsd, http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-3.0.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.0.xsd, http://www.springframework.org/schema/jdbc/spring-jdbc.xsd=org/springframework/jdbc/config/spring-jdbc-3.0.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/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.0.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/beans/spring-beans-2.5.xsd=org/springframework/beans/factory/xml/spring-beans-2.5.xsd}
[DEBUG] 2015-04-20 22:21:53 :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
[DEBUG] 2015-04-20 22:21:53 :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
[DEBUG] 2015-04-20 22:21:53 :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
[DEBUG] 2015-04-20 22:21:53 :Loading bean definitions
[DEBUG] 2015-04-20 22:21:53 :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/oxm=org.springframework.oxm.config.OxmNamespaceHandler, http://www.springframework.org/schema/jdbc=org.springframework.jdbc.config.JdbcNamespaceHandler, 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}
[DEBUG] 2015-04-20 22:21:53 :Looking for matching resources in directory tree [G:\projects\eshop\target\eshop-0.0.1-SNAPSHOT\WEB-INF\classes\com\chenjun\mall]
[DEBUG] 2015-04-20 22:21:53 :Searching directory [G:\projects\eshop\target\eshop-0.0.1-SNAPSHOT\WEB-INF\classes\com\chenjun\mall] for files matching pattern [G:/projects/eshop/target/eshop-0.0.1-SNAPSHOT/WEB-INF/classes/com/chenjun/mall/**/*.class]
[DEBUG] 2015-04-20 22:21:53 :Searching directory [G:\projects\eshop\target\eshop-0.0.1-SNAPSHOT\WEB-INF\classes\com\chenjun\mall\controllers] for files matching pattern [G:/projects/eshop/target/eshop-0.0.1-SNAPSHOT/WEB-INF/classes/com/chenjun/mall/**/*.class]
[DEBUG] 2015-04-20 22:21:53 :Searching directory [G:\projects\eshop\target\eshop-0.0.1-SNAPSHOT\WEB-INF\classes\com\chenjun\mall\dao] for files matching pattern [G:/projects/eshop/target/eshop-0.0.1-SNAPSHOT/WEB-INF/classes/com/chenjun/mall/**/*.class]
[DEBUG] 2015-04-20 22:21:53 :Searching directory [G:\projects\eshop\target\eshop-0.0.1-SNAPSHOT\WEB-INF\classes\com\chenjun\mall\dao\impl] for files matching pattern [G:/projects/eshop/target/eshop-0.0.1-SNAPSHOT/WEB-INF/classes/com/chenjun/mall/**/*.class]
[DEBUG] 2015-04-20 22:21:53 :Searching directory [G:\projects\eshop\target\eshop-0.0.1-SNAPSHOT\WEB-INF\classes\com\chenjun\mall\entity] for files matching pattern [G:/projects/eshop/target/eshop-0.0.1-SNAPSHOT/WEB-INF/classes/com/chenjun/mall/**/*.class]
[DEBUG] 2015-04-20 22:21:53 :Searching directory [G:\projects\eshop\target\eshop-0.0.1-SNAPSHOT\WEB-INF\classes\com\chenjun\mall\service] for files matching pattern [G:/projects/eshop/target/eshop-0.0.1-SNAPSHOT/WEB-INF/classes/com/chenjun/mall/**/*.class]
[DEBUG] 2015-04-20 22:21:53 :Searching directory [G:\projects\eshop\target\eshop-0.0.1-SNAPSHOT\WEB-INF\classes\com\chenjun\mall\service\impl] for files matching pattern [G:/projects/eshop/target/eshop-0.0.1-SNAPSHOT/WEB-INF/classes/com/chenjun/mall/**/*.class]
[DEBUG] 2015-04-20 22:21:53 :Resolved location pattern [classpath*:com/chenjun/mall/**/*.class] to resources [file [G:\projects\eshop\target\eshop-0.0.1-SNAPSHOT\WEB-INF\classes\com\chenjun\mall\controllers\UserController.class], file [G:\projects\eshop\target\eshop-0.0.1-SNAPSHOT\WEB-INF\classes\com\chenjun\mall\dao\impl\UserDaoImpl.class], file [G:\projects\eshop\target\eshop-0.0.1-SNAPSHOT\WEB-INF\classes\com\chenjun\mall\dao\UserDao.class], file [G:\projects\eshop\target\eshop-0.0.1-SNAPSHOT\WEB-INF\classes\com\chenjun\mall\entity\User.class], file [G:\projects\eshop\target\eshop-0.0.1-SNAPSHOT\WEB-INF\classes\com\chenjun\mall\service\impl\UserServiceImpl.class], file [G:\projects\eshop\target\eshop-0.0.1-SNAPSHOT\WEB-INF\classes\com\chenjun\mall\service\UserService.class]]
[DEBUG] 2015-04-20 22:21:53 :Identified candidate component class: file [G:\projects\eshop\target\eshop-0.0.1-SNAPSHOT\WEB-INF\classes\com\chenjun\mall\controllers\UserController.class]
[DEBUG] 2015-04-20 22:21:53 :Identified candidate component class: file [G:\projects\eshop\target\eshop-0.0.1-SNAPSHOT\WEB-INF\classes\com\chenjun\mall\dao\impl\UserDaoImpl.class]
[DEBUG] 2015-04-20 22:21:53 :Identified candidate component class: file [G:\projects\eshop\target\eshop-0.0.1-SNAPSHOT\WEB-INF\classes\com\chenjun\mall\service\impl\UserServiceImpl.class]
[DEBUG] 2015-04-20 22:21:53 :Neither XML 'id' nor 'name' specified - using generated bean name [org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0]
[DEBUG] 2015-04-20 22:21:53 :Loaded 12 bean definitions from location pattern [classpath*:SpringMVC.xml]
[DEBUG] 2015-04-20 22:21:53 :Bean factory for WebApplicationContext for namespace 'springmvc-servlet': org.springframework.beans.factory.support.DefaultListableBeanFactory@48cca4: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,userController,userDao,userService,org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0,jspViewResolver,freeMarkerViewResolver,jacksonMessageConverter,multipartResolver]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@fb39f6
[DEBUG] 2015-04-20 22:21:53 :Creating shared instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
[DEBUG] 2015-04-20 22:21:53 :Creating instance of bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
[DEBUG] 2015-04-20 22:21:53 :Eagerly caching bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor' to allow for resolving potential circular references
[DEBUG] 2015-04-20 22:21:53 :Finished creating instance of bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
[DEBUG] 2015-04-20 22:21:53 :Creating shared instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
[DEBUG] 2015-04-20 22:21:53 :Creating instance of bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
[DEBUG] 2015-04-20 22:21:53 :Eagerly caching bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor' to allow for resolving potential circular references
[DEBUG] 2015-04-20 22:21:53 :Finished creating instance of bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
[DEBUG] 2015-04-20 22:21:53 :Creating shared instance of singleton bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
[DEBUG] 2015-04-20 22:21:53 :Creating instance of bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
[DEBUG] 2015-04-20 22:21:53 :Eagerly caching bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor' to allow for resolving potential circular references
[DEBUG] 2015-04-20 22:21:53 :Finished creating instance of bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
[DEBUG] 2015-04-20 22:21:53 :Creating shared instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
[DEBUG] 2015-04-20 22:21:53 :Creating instance of bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
[DEBUG] 2015-04-20 22:21:53 :Eagerly caching bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor' to allow for resolving potential circular references
[DEBUG] 2015-04-20 22:21:53 :Finished creating instance of bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
[DEBUG] 2015-04-20 22:21:53 :Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@18b8b57]
[DEBUG] 2015-04-20 22:21:53 :Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@6909db]
[DEBUG] 2015-04-20 22:21:53 :Unable to locate ThemeSource with name 'themeSource': using default [org.springframework.ui.context.support.DelegatingThemeSource@165e140]
[INFO ] 2015-04-20 22:21:53 :Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@48cca4: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,userController,userDao,userService,org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0,jspViewResolver,freeMarkerViewResolver,jacksonMessageConverter,multipartResolver]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@fb39f6
[DEBUG] 2015-04-20 22:21:53 :Returning cached instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
[DEBUG] 2015-04-20 22:21:53 :Returning cached instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
[DEBUG] 2015-04-20 22:21:53 :Returning cached instance of singleton bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
[DEBUG] 2015-04-20 22:21:53 :Returning cached instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
[DEBUG] 2015-04-20 22:21:53 :Creating shared instance of singleton bean 'userController'
[DEBUG] 2015-04-20 22:21:53 :Creating instance of bean 'userController'
[DEBUG] 2015-04-20 22:21:53 :Found injected element on class [com.chenjun.mall.controllers.UserController]: ResourceElement for private com.chenjun.mall.service.UserService com.chenjun.mall.controllers.UserController.userService
[DEBUG] 2015-04-20 22:21:53 :Eagerly caching bean 'userController' to allow for resolving potential circular references
[DEBUG] 2015-04-20 22:21:53 :Processing injected method of bean 'userController': ResourceElement for private com.chenjun.mall.service.UserService com.chenjun.mall.controllers.UserController.userService
[DEBUG] 2015-04-20 22:21:53 :Creating shared instance of singleton bean 'userService'
[DEBUG] 2015-04-20 22:21:53 :Creating instance of bean 'userService'
[DEBUG] 2015-04-20 22:21:53 :Found injected element on class [com.chenjun.mall.service.impl.UserServiceImpl]: ResourceElement for private com.chenjun.mall.dao.UserDao com.chenjun.mall.service.impl.UserServiceImpl.userDao
[DEBUG] 2015-04-20 22:21:53 :Eagerly caching bean 'userService' to allow for resolving potential circular references
[DEBUG] 2015-04-20 22:21:53 :Processing injected method of bean 'userService': ResourceElement for private com.chenjun.mall.dao.UserDao com.chenjun.mall.service.impl.UserServiceImpl.userDao
[DEBUG] 2015-04-20 22:21:53 :Creating shared instance of singleton bean 'userDao'
[DEBUG] 2015-04-20 22:21:53 :Creating instance of bean 'userDao'
[DEBUG] 2015-04-20 22:21:53 :Eagerly caching bean 'userDao' to allow for resolving potential circular references
[DEBUG] 2015-04-20 22:21:53 :Finished creating instance of bean 'userDao'
[DEBUG] 2015-04-20 22:21:53 :Finished creating instance of bean 'userService'
[DEBUG] 2015-04-20 22:21:53 :Finished creating instance of bean 'userController'
[DEBUG] 2015-04-20 22:21:53 :Returning cached instance of singleton bean 'userDao'
[DEBUG] 2015-04-20 22:21:53 :Returning cached instance of singleton bean 'userService'
[DEBUG] 2015-04-20 22:21:53 :Creating shared instance of singleton bean 'org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0'
[DEBUG] 2015-04-20 22:21:53 :Creating instance of bean 'org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0'
[DEBUG] 2015-04-20 22:21:53 :Eagerly caching bean 'org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0' to allow for resolving potential circular references
[DEBUG] 2015-04-20 22:21:53 :Finished creating instance of bean 'org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0'
[DEBUG] 2015-04-20 22:21:53 :Creating shared instance of singleton bean 'jspViewResolver'
[DEBUG] 2015-04-20 22:21:53 :Creating instance of bean 'jspViewResolver'
[DEBUG] 2015-04-20 22:21:53 :Eagerly caching bean 'jspViewResolver' to allow for resolving potential circular references
[DEBUG] 2015-04-20 22:21:54 :Finished creating instance of bean 'jspViewResolver'
[DEBUG] 2015-04-20 22:21:54 :Creating shared instance of singleton bean 'freeMarkerViewResolver'
[DEBUG] 2015-04-20 22:21:54 :Creating instance of bean 'freeMarkerViewResolver'
[DEBUG] 2015-04-20 22:21:54 :Eagerly caching bean 'freeMarkerViewResolver' to allow for resolving potential circular references
[DEBUG] 2015-04-20 22:21:54 :Finished creating instance of bean 'freeMarkerViewResolver'
[DEBUG] 2015-04-20 22:21:54 :Creating shared instance of singleton bean 'jacksonMessageConverter'
[DEBUG] 2015-04-20 22:21:54 :Creating instance of bean 'jacksonMessageConverter'
[DEBUG] 2015-04-20 22:21:54 :Eagerly caching bean 'jacksonMessageConverter' to allow for resolving potential circular references
[DEBUG] 2015-04-20 22:21:54 :Finished creating instance of bean 'jacksonMessageConverter'
[DEBUG] 2015-04-20 22:21:54 :Creating shared instance of singleton bean 'multipartResolver'
[DEBUG] 2015-04-20 22:21:54 :Creating instance of bean 'multipartResolver'
[DEBUG] 2015-04-20 22:21:54 :Eagerly caching bean 'multipartResolver' to allow for resolving potential circular references
[DEBUG] 2015-04-20 22:21:54 :Finished creating instance of bean 'multipartResolver'
[DEBUG] 2015-04-20 22:21:54 :Unable to locate LifecycleProcessor with name 'lifecycleProcessor': using default [org.springframework.context.support.DefaultLifecycleProcessor@13743ac]
[DEBUG] 2015-04-20 22:21:54 :Returning cached instance of singleton bean 'lifecycleProcessor'
[DEBUG] 2015-04-20 22:21:54 :Returning cached instance of singleton bean 'multipartResolver'
[DEBUG] 2015-04-20 22:21:54 :Using MultipartResolver [org.springframework.web.multipart.commons.CommonsMultipartResolver@13bd1d3]
[DEBUG] 2015-04-20 22:21:54 :Creating instance of bean 'org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver'
[DEBUG] 2015-04-20 22:21:54 :Finished creating instance of bean 'org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver'
[DEBUG] 2015-04-20 22:21:54 :Unable to locate LocaleResolver with name 'localeResolver': using default [org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver@1123d8b]
[DEBUG] 2015-04-20 22:21:54 :Creating instance of bean 'org.springframework.web.servlet.theme.FixedThemeResolver'
[DEBUG] 2015-04-20 22:21:54 :Finished creating instance of bean 'org.springframework.web.servlet.theme.FixedThemeResolver'
[DEBUG] 2015-04-20 22:21:54 :Unable to locate ThemeResolver with name 'themeResolver': using default [org.springframework.web.servlet.theme.FixedThemeResolver@1137c6]
[DEBUG] 2015-04-20 22:21:54 :Creating instance of bean 'org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping'
[DEBUG] 2015-04-20 22:21:54 :Looking for URL mappings in application context: WebApplicationContext for namespace 'springmvc-servlet': startup date [Mon Apr 20 22:21:53 CST 2015]; parent: Root WebApplicationContext
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'org.springframework.context.annotation.internalRequiredAnnotationProcessor': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'org.springframework.context.annotation.internalCommonAnnotationProcessor': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'userController': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'userDao': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'userService': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'jspViewResolver': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'freeMarkerViewResolver': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'jacksonMessageConverter': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'multipartResolver': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'servletConfig': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'messageSource': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'applicationEventMulticaster': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'lifecycleProcessor': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Finished creating instance of bean 'org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping'
[DEBUG] 2015-04-20 22:21:54 :Creating instance of bean 'org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping'
[DEBUG] 2015-04-20 22:21:54 :Looking for URL mappings in application context: WebApplicationContext for namespace 'springmvc-servlet': startup date [Mon Apr 20 22:21:53 CST 2015]; parent: Root WebApplicationContext
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'org.springframework.context.annotation.internalRequiredAnnotationProcessor': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'org.springframework.context.annotation.internalCommonAnnotationProcessor': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Returning cached instance of singleton bean 'userController'
[INFO ] 2015-04-20 22:21:54 :Mapped URL path [/user/login] onto handler [com.chenjun.mall.controllers.UserController@17f3e7]
[DEBUG] 2015-04-20 22:21:54 :Returning cached instance of singleton bean 'userController'
[INFO ] 2015-04-20 22:21:54 :Mapped URL path [/user/login.*] onto handler [com.chenjun.mall.controllers.UserController@17f3e7]
[DEBUG] 2015-04-20 22:21:54 :Returning cached instance of singleton bean 'userController'
[INFO ] 2015-04-20 22:21:54 :Mapped URL path [/user/login/] onto handler [com.chenjun.mall.controllers.UserController@17f3e7]
[DEBUG] 2015-04-20 22:21:54 :Returning cached instance of singleton bean 'userController'
[INFO ] 2015-04-20 22:21:54 :Mapped URL path [/user/toLogin] onto handler [com.chenjun.mall.controllers.UserController@17f3e7]
[DEBUG] 2015-04-20 22:21:54 :Returning cached instance of singleton bean 'userController'
[INFO ] 2015-04-20 22:21:54 :Mapped URL path [/user/toLogin.*] onto handler [com.chenjun.mall.controllers.UserController@17f3e7]
[DEBUG] 2015-04-20 22:21:54 :Returning cached instance of singleton bean 'userController'
[INFO ] 2015-04-20 22:21:54 :Mapped URL path [/user/toLogin/] onto handler [com.chenjun.mall.controllers.UserController@17f3e7]
[DEBUG] 2015-04-20 22:21:54 :Returning cached instance of singleton bean 'userController'
[INFO ] 2015-04-20 22:21:54 :Mapped URL path [/user] onto handler [com.chenjun.mall.controllers.UserController@17f3e7]
[DEBUG] 2015-04-20 22:21:54 :Returning cached instance of singleton bean 'userController'
[INFO ] 2015-04-20 22:21:54 :Mapped URL path [/user.*] onto handler [com.chenjun.mall.controllers.UserController@17f3e7]
[DEBUG] 2015-04-20 22:21:54 :Returning cached instance of singleton bean 'userController'
[INFO ] 2015-04-20 22:21:54 :Mapped URL path [/user/] onto handler [com.chenjun.mall.controllers.UserController@17f3e7]
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'userDao': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'userService': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'jspViewResolver': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'freeMarkerViewResolver': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'jacksonMessageConverter': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'multipartResolver': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'servletConfig': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'messageSource': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'applicationEventMulticaster': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Rejected bean name 'lifecycleProcessor': no URL paths identified
[DEBUG] 2015-04-20 22:21:54 :Finished creating instance of bean 'org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping'
[DEBUG] 2015-04-20 22:21:54 :No HandlerMappings found in servlet 'springmvc': using default
[DEBUG] 2015-04-20 22:21:54 :Returning cached instance of singleton bean 'org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0'
[DEBUG] 2015-04-20 22:21:54 :Creating instance of bean 'org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerExceptionResolver'
[DEBUG] 2015-04-20 22:21:54 :Finished creating instance of bean 'org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerExceptionResolver'
[DEBUG] 2015-04-20 22:21:54 :Creating instance of bean 'org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver'
[DEBUG] 2015-04-20 22:21:54 :Finished creating instance of bean 'org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver'
[DEBUG] 2015-04-20 22:21:54 :Creating instance of bean 'org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver'
[DEBUG] 2015-04-20 22:21:54 :Finished creating instance of bean 'org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver'
[DEBUG] 2015-04-20 22:21:54 :No HandlerExceptionResolvers found in servlet 'springmvc': using default
[DEBUG] 2015-04-20 22:21:54 :Creating instance of bean 'org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator'
[DEBUG] 2015-04-20 22:21:54 :Finished creating instance of bean 'org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator'
[DEBUG] 2015-04-20 22:21:54 :Unable to locate RequestToViewNameTranslator with name 'viewNameTranslator': using default [org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator@1ca7bad]
[DEBUG] 2015-04-20 22:21:54 :Returning cached instance of singleton bean 'jspViewResolver'
[DEBUG] 2015-04-20 22:21:54 :Returning cached instance of singleton bean 'freeMarkerViewResolver'
[DEBUG] 2015-04-20 22:21:54 :Returning cached instance of singleton bean 'sqlSessionFactory'
[DEBUG] 2015-04-20 22:21:54 :Published WebApplicationContext of servlet 'springmvc' as ServletContext attribute with name [org.springframework.web.servlet.FrameworkServlet.CONTEXT.springmvc]
[INFO ] 2015-04-20 22:21:54 :FrameworkServlet 'springmvc': initialization completed in 1662 ms
[DEBUG] 2015-04-20 22:21:54 :Servlet 'springmvc' configured successfully
2015-04-20 22:21:54.810:INFO::Started SelectChannelConnector@0.0.0.0:7777
[INFO] Started Jetty Server
[INFO] Starting scanner at interval of 10 seconds.

上面日志配置得很详细,容器偷偷干了什么,你就都知道了,这是默认在jetty插件上部署的,也可以右键项目部署在默认提供的tomcat上,这样改变jsp文件就不用重启了

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值