四月 11, 2013 5:08:41 下午 org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Java\jdk1.7.0_07\bin;D:\mingkey\tomcat6\bin 四月 11, 2013 5:08:41 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:sunnet' did not find a matching property. 四月 11, 2013 5:08:42 下午 org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 四月 11, 2013 5:08:42 下午 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 836 ms 四月 11, 2013 5:08:42 下午 org.apache.catalina.core.StandardService start INFO: Starting service Catalina 四月 11, 2013 5:08:42 下午 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.36 四月 11, 2013 5:08:43 下午 org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext [2013-04-11 17:08:43] INFO Root WebApplicationContext: initialization started [2013-04-11 17:08:43] INFO Refreshing Root WebApplicationContext: startup date [Thu Apr 11 17:08:43 CST 2013]; root of context hierarchy [2013-04-11 17:08:43] INFO Loading XML bean definitions from class path resource [config/spring.xml] [2013-04-11 17:08:43] INFO Loading XML bean definitions from class path resource [config/spring-repository.xml] [2013-04-11 17:08:45] INFO Bean 'org.springframework.jdbc.datasource.lookup.BeanFactoryDataSourceLookup#6a5dd990' of type [class org.springframework.jdbc.datasource.lookup.BeanFactoryDataSourceLookup] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [2013-04-11 17:08:45] INFO Bean 'mysqlDataSource' of type [class org.apache.commons.dbcp.BasicDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [2013-04-11 17:08:45] INFO Bean 'defaultPersistenceUnitManager' of type [class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [2013-04-11 17:08:45] INFO Bean 'mysqlJpaVendor' of type [class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [2013-04-11 17:08:45] INFO Bean 'org.springframework.instrument.classloading.InstrumentationLoadTimeWeaver#3776b37e' of type [class org.springframework.instrument.classloading.InstrumentationLoadTimeWeaver] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [2013-04-11 17:08:45] INFO Bean 'org.springframework.orm.jpa.vendor.HibernateJpaDialect#520231a4' of type [class org.springframework.orm.jpa.vendor.HibernateJpaDialect] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [2013-04-11 17:08:45] INFO Building JPA container EntityManagerFactory for persistence unit 'mysql' [2013-04-11 17:08:46] INFO HCANN000001: Hibernate Commons Annotations {4.0.1.Final} [2013-04-11 17:08:46] INFO HHH000412: Hibernate Core {4.1.9.Final} [2013-04-11 17:08:46] INFO HHH000206: hibernate.properties not found [2013-04-11 17:08:46] INFO HHH000021: Bytecode provider name : javassist [2013-04-11 17:08:46] INFO HHH000204: Processing PersistenceUnitInfo [ name: mysql ...] [2013-04-11 17:08:47] INFO HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider [2013-04-11 17:08:47] INFO HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect [2013-04-11 17:08:47] INFO HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4 [2013-04-11 17:08:47] INFO HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jdbc.JdbcTransactionFactory [2013-04-11 17:08:48] INFO HHH000397: Using ASTQueryTranslatorFactory [2013-04-11 17:08:48] INFO HHH000228: Running hbm2ddl schema update [2013-04-11 17:08:48] INFO HHH000102: Fetching database metadata [2013-04-11 17:08:48] INFO HHH000396: Updating schema [2013-04-11 17:08:48] INFO HHH000261: Table found: sunnet.sun_competition [2013-04-11 17:08:48] INFO HHH000037: Columns: [signstarttime, signendtime, endtime, starttime, userid, pic, type, recommend, gameid, cost, city, online, createtime, id, address, description, name, province, hot, demand] [2013-04-11 17:08:48] INFO HHH000108: Foreign keys: [fk_cop_usr, fkaddc9c4cf8af94d1] [2013-04-11 17:08:48] INFO HHH000126: Indexes: [fk_cop_usr, primary, fkaddc9c4cf8af94d1] [2013-04-11 17:08:48] INFO HHH000261: Table found: sunnet.sun_competition_sun_user [2013-04-11 17:08:48] INFO HHH000037: Columns: [createdate, sunuser_id, suncompetition_id] [2013-04-11 17:08:48] INFO HHH000108: Foreign keys: [fke4ca071568ffa5f, fke4ca071eadcd535] [2013-04-11 17:08:48] INFO HHH000126: Indexes: [fke4ca071568ffa5f, fke4ca071d6c72368, fke4ca07137fd1503, fke4ca071eadcd535, fke4ca071a7a6a42] [2013-04-11 17:08:48] INFO HHH000261: Table found: sunnet.sun_prove [2013-04-11 17:08:48] INFO HHH000037: Columns: [status, contactqq, userid, createdate, idcard, usertype, type, id, certificate, contactname, playgame, provename, contactphone, playtype] [2013-04-11 17:08:48] INFO HHH000108: Foreign keys: [fk781102691c977e33, fk781102699cb9bb4a] [2013-04-11 17:08:48] INFO HHH000126: Indexes: [fk78110269a7a6a42, fk2014de2a11944243, fk781102691c977e33, primary, fk781102699cb9bb4a] [2013-04-11 17:08:48] INFO HHH000261: Table found: sunnet.sun_prove_type [2013-04-11 17:08:48] INFO HHH000037: Columns: [id, imgsmall, imgbig, description, name, parentid, code] [2013-04-11 17:08:48] INFO HHH000108: Foreign keys: [] [2013-04-11 17:08:48] INFO HHH000126: Indexes: [primary] [2013-04-11 17:08:48] INFO HHH000261: Table found: sunnet.sun_user [2013-04-11 17:08:48] INFO HHH000037: Columns: [born, sex, usericon, usertype, password, cardid, city, createtime, id, username, lastlogintime, email, province, realname, signature, qq, mobile] [2013-04-11 17:08:48] INFO HHH000108: Foreign keys: [] [2013-04-11 17:08:48] INFO HHH000126: Indexes: [primary] [2013-04-11 17:08:48] INFO HHH000261: Table found: sunnet.sys_game [2013-04-11 17:08:48] INFO HHH000037: Columns: [createtime, picture, id, nametype, description, name] [2013-04-11 17:08:48] INFO HHH000108: Foreign keys: [] [2013-04-11 17:08:48] INFO HHH000126: Indexes: [primary] [2013-04-11 17:08:48] INFO HHH000261: Table found: sunnet.sys_keyvalue [2013-04-11 17:08:48] INFO HHH000037: Columns: [id, status, name, value, code, parent_id] [2013-04-11 17:08:48] INFO HHH000108: Foreign keys: [] [2013-04-11 17:08:48] INFO HHH000126: Indexes: [primary, codeonly] [2013-04-11 17:08:48] INFO HHH000261: Table found: sunnet.sys_user [2013-04-11 17:08:48] INFO HHH000037: Columns: [id, level, email, name, realname, type, password] [2013-04-11 17:08:48] INFO HHH000108: Foreign keys: [] [2013-04-11 17:08:48] INFO HHH000126: Indexes: [primary] [2013-04-11 17:08:48] INFO HHH000261: Table found: sunnet.sys_zone [2013-04-11 17:08:48] INFO HHH000037: Columns: [id, ordernum, name, layer, ename, parentid] [2013-04-11 17:08:48] INFO HHH000108: Foreign keys: [] [2013-04-11 17:08:48] INFO HHH000126: Indexes: [primary] [2013-04-11 17:08:48] INFO HHH000232: Schema update complete [2013-04-11 17:08:49] INFO Bean 'mysqlEntityManagerFactory' of type [class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [2013-04-11 17:08:49] INFO Bean 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0' of type [class org.springframework.transaction.annotation.AnnotationTransactionAttributeSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [2013-04-11 17:08:49] INFO Bean 'org.springframework.transaction.config.internalTransactionAdvisor' of type [class org.springframework.transaction.interceptor.BeanFactoryTransactionAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [2013-04-11 17:08:49] INFO Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@47e706fd: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,sunCompetitionService,sunCompetitionuserService,sunProveService,sunProveTypeService,sunUserService,sysGameService,sysKeyValueService,sysUserService,sysZoneService,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,sysUserRepositoryImpl,sysUserRepository,sunProveRepositoryImpl,sunProveRepository,sysKeyValueRepositoryImpl,sysKeyValueRepository,sunProveTypeRepositoryImpl,sunProveTypeRepository,sunCompetitionUserRepositoryImpl,sunCompetitionUserRepository,sysGameRepositoryImpl,sysGameRepository,sunCompetitionRepositoryImpl,sunCompetitionRepository,sunUserRepositoryImpl,sunUserRepository,sysZoneRepositoryImpl,sysZoneRepository,org.springframework.data.repository.core.support.RepositoryInterfaceAwareBeanPostProcessor#0,org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0,org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor#0,defaultPersistenceUnitManager,mysqlJpaVendor,mysqlDataSource,mysqlEntityManagerFactory,transactionManager,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; root of factory hierarchy [2013-04-11 17:08:50] INFO Root WebApplicationContext: initialization completed in 7700 ms 四月 11, 2013 5:08:50 下午 org.apache.catalina.core.ApplicationContext log INFO: Set web app root system property: 'webapp.root' = [D:\mingkey\tomcat6\webapps\sunnet\] 四月 11, 2013 5:08:50 下午 org.apache.catalina.core.ApplicationContext log INFO: Initializing log4j from [classpath:log4j.properties] 四月 11, 2013 5:08:50 下午 org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring FrameworkServlet 'SpringMVC' [2013-04-11 17:08:50] INFO FrameworkServlet 'SpringMVC': initialization started [2013-04-11 17:08:50] INFO Refreshing WebApplicationContext for namespace 'SpringMVC-servlet': startup date [Thu Apr 11 17:08:50 CST 2013]; parent: Root WebApplicationContext [2013-04-11 17:08:50] INFO Loading XML bean definitions from class path resource [config/spring-web.xml] [2013-04-11 17:08:51] INFO Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@6a3f0882: defining beans [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,org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler#0,org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#0,org.springframework.web.servlet.handler.MappedInterceptor#1,acceptHeaderLocaleResolver,sessionLocaleResolver,cookieLocaleResolver,org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0,xmlMarshaller,multipartResolver,org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0,adminMainController,sunCompetitionController,sunCompetitionUserController,sunProveController,sunProveTypeController,sunUserController,sysGameController,sysLogController,sysUserController,sysZoneController,siteCompetitionController,siteCompetitionUserController,siteIssuedController,siteLogController,siteMainController,sitePersonalController,siteRegController,siteZoneController,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@47e706fd [2013-04-11 17:08:51] INFO Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@6a3f0882: defining beans [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,org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler#0,org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#0,org.springframework.web.servlet.handler.MappedInterceptor#1,acceptHeaderLocaleResolver,sessionLocaleResolver,cookieLocaleResolver,org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0,xmlMarshaller,multipartResolver,org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0,adminMainController,sunCompetitionController,sunCompetitionUserController,sunProveController,sunProveTypeController,sunUserController,sysGameController,sysLogController,sysUserController,sysZoneController,siteCompetitionController,siteCompetitionUserController,siteIssuedController,siteLogController,siteMainController,sitePersonalController,siteRegController,siteZoneController,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@47e706fd [2013-04-11 17:08:51] ERRORContext initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: HttpSession at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:605) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472) at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:631) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:588) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:645) at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:508) at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:449) at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:133) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.lang.NoClassDefFoundError: HttpSession at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2442) at java.lang.Class.getDeclaredMethods(Class.java:1808) at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:467) at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:481) at org.springframework.web.method.HandlerMethodSelector.selectMethods(HandlerMethodSelector.java:58) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.detectHandlerMethods(AbstractHandlerMethodMapping.java:137) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.initHandlerMethods(AbstractHandlerMethodMapping.java:107) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.afterPropertiesSet(AbstractHandlerMethodMapping.java:87) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452) ... 33 more Caused by: java.lang.ClassNotFoundException: HttpSession at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) ... 44 more 四月 11, 2013 5:08:51 下午 org.apache.catalina.core.ApplicationContext log SEVERE: StandardWrapper.Throwable org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: HttpSession at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:605) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472) at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:631) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:588) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:645) at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:508) at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:449) at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:133) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.lang.NoClassDefFoundError: HttpSession at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2442) at java.lang.Class.getDeclaredMethods(Class.java:1808) at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:467) at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:481) at org.springframework.web.method.HandlerMethodSelector.selectMethods(HandlerMethodSelector.java:58) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.detectHandlerMethods(AbstractHandlerMethodMapping.java:137) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.initHandlerMethods(AbstractHandlerMethodMapping.java:107) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.afterPropertiesSet(AbstractHandlerMethodMapping.java:87) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452) ... 33 more Caused by: java.lang.ClassNotFoundException: HttpSession at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) ... 44 more 四月 11, 2013 5:08:51 下午 org.apache.catalina.core.StandardContext loadOnStartup SEVERE: Servlet threw load() exception java.lang.ClassNotFoundException: HttpSession at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2442) at java.lang.Class.getDeclaredMethods(Class.java:1808) at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:467) at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:481) at org.springframework.web.method.HandlerMethodSelector.selectMethods(HandlerMethodSelector.java:58) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.detectHandlerMethods(AbstractHandlerMethodMapping.java:137) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.initHandlerMethods(AbstractHandlerMethodMapping.java:107) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.afterPropertiesSet(AbstractHandlerMethodMapping.java:87) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:605) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472) at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:631) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:588) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:645) at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:508) at org.springframework.web.servlet.FrameworkServlet.initServletBean(Frame workServlet.java:449) at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:133) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) 四月 11, 2013 5:08:51 下午 org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor host-manager.xml 四月 11, 2013 5:08:51 下午 org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor manager.xml 四月 11, 2013 5:08:51 下午 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory docs 四月 11, 2013 5:08:51 下午 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory examples 四月 11, 2013 5:08:52 下午 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() 四月 11, 2013 5:08:52 下午 org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() 四月 11, 2013 5:08:52 下午 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory sunnet 四月 11, 2013 5:08:52 下午 org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext [2013-04-11 17:08:52] INFO Root WebApplicationContext: initialization started [2013-04-11 17:08:52] INFO Refreshing Root WebApplicationContext: startup date [Thu Apr 11 17:08:52 CST 2013]; root of context hierarchy [2013-04-11 17:08:53] INFO Loading XML bean definitions from class path resource [config/spring.xml] [2013-04-11 17:08:53] INFO Loading XML bean definitions from class path resource [config/spring-repository.xml] [2013-04-11 17:08:54] INFO Bean 'org.springframework.jdbc.datasource.lookup.BeanFactoryDataSourceLookup#2a7936c6' of type [class org.springframework.jdbc.datasource.lookup.BeanFactoryDataSourceLookup] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [2013-04-11 17:08:54] INFO Bean 'mysqlDataSource' of type [class org.apache.commons.dbcp.BasicDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [2013-04-11 17:08:54] INFO Bean 'defaultPersistenceUnitManager' of type [class org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [2013-04-11 17:08:54] INFO Bean 'mysqlJpaVendor' of type [class org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [2013-04-11 17:08:54] INFO Bean 'org.springframework.instrument.classloading.InstrumentationLoadTimeWeaver#7bfb16f2' of type [class org.springframework.instrument.classloading.InstrumentationLoadTimeWeaver] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [2013-04-11 17:08:54] INFO Bean 'org.springframework.orm.jpa.vendor.HibernateJpaDialect#219fa975' of type [class org.springframework.orm.jpa.vendor.HibernateJpaDialect] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [2013-04-11 17:08:54] INFO Building JPA container EntityManagerFactory for persistence unit 'mysql' [2013-04-11 17:08:55] INFO HCANN000001: Hibernate Commons Annotations {4.0.1.Final} [2013-04-11 17:08:55] INFO HHH000412: Hibernate Core {4.1.9.Final} [2013-04-11 17:08:55] INFO HHH000206: hibernate.properties not found [2013-04-11 17:08:55] INFO HHH000021: Bytecode provider name : javassist [2013-04-11 17:08:55] INFO HHH000204: Processing PersistenceUnitInfo [ name: mysql ...] [2013-04-11 17:08:56] INFO HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider [2013-04-11 17:08:57] INFO HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect [2013-04-11 17:08:57] INFO HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4 [2013-04-11 17:08:57] INFO HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jdbc.JdbcTransactionFactory [2013-04-11 17:08:57] INFO HHH000397: Using ASTQueryTranslatorFactory [2013-04-11 17:08:58] INFO HHH000228: Running hbm2ddl schema update [2013-04-11 17:08:58] INFO HHH000102: Fetching database metadata [2013-04-11 17:08:58] INFO HHH000396: Updating schema [2013-04-11 17:08:58] INFO HHH000261: Table found: sunnet.sun_competition [2013-04-11 17:08:58] INFO HHH000037: Columns: [signstarttime, signendtime, endtime, starttime, userid, pic, type, recommend, gameid, cost, city, online, createtime, id, address, description, name, province, hot, demand] [2013-04-11 17:08:58] INFO HHH000108: Foreign keys: [fk_cop_usr, fkaddc9c4cf8af94d1] [2013-04-11 17:08:58] INFO HHH000126: Indexes: [fk_cop_usr, primary, fkaddc9c4cf8af94d1] [2013-04-11 17:08:58] INFO HHH000261: Table found: sunnet.sun_competition_sun_user [2013-04-11 17:08:58] INFO HHH000037: Columns: [createdate, sunuser_id, suncompetition_id] [2013-04-11 17:08:58] INFO HHH000108: Foreign keys: [fke4ca071568ffa5f, fke4ca071eadcd535] [2013-04-11 17:08:58] INFO HHH000126: Indexes: [fke4ca071568ffa5f, fke4ca071d6c72368, fke4ca07137fd1503, fke4ca071eadcd535, fke4ca071a7a6a42] [2013-04-11 17:08:58] INFO HHH000261: Table found: sunnet.sun_prove [2013-04-11 17:08:58] INFO HHH000037: Columns: [status, contactqq, userid, createdate, idcard, usertype, type, id, certificate, contactname, playgame, provename, contactphone, playtype] [2013-04-11 17:08:58] INFO HHH000108: Foreign keys: [fk781102691c977e33, fk781102699cb9bb4a] [2013-04-11 17:08:58] INFO HHH000126: Indexes: [fk78110269a7a6a42, fk2014de2a11944243, fk781102691c977e33, primary, fk781102699cb9bb4a] [2013-04-11 17:08:58] INFO HHH000261: Table found: sunnet.sun_prove_type [2013-04-11 17:08:58] INFO HHH000037: Columns: [id, imgsmall, imgbig, description, name, parentid, code] [2013-04-11 17:08:58] INFO HHH000108: Foreign keys: [] [2013-04-11 17:08:58] INFO HHH000126: Indexes: [primary] [2013-04-11 17:08:58] INFO HHH000261: Table found: sunnet.sun_user [2013-04-11 17:08:58] INFO HHH000037: Columns: [born, sex, usericon, usertype, password, cardid, city, createtime, id, username, lastlogintime, email, province, realname, signature, qq, mobile] [2013-04-11 17:08:58] INFO HHH000108: Foreign keys: [] [2013-04-11 17:08:58] INFO HHH000126: Indexes: [primary] [2013-04-11 17:08:58] INFO HHH000261: Table found: sunnet.sys_game [2013-04-11 17:08:58] INFO HHH000037: Columns: [createtime, picture, id, nametype, description, name] [2013-04-11 17:08:58] INFO HHH000108: Foreign keys: [] [2013-04-11 17:08:58] INFO HHH000126: Indexes: [primary] [2013-04-11 17:08:58] INFO HHH000261: Table found: sunnet.sys_keyvalue [2013-04-11 17:08:58] INFO HHH000037: Columns: [id, status, name, value, code, parent_id] [2013-04-11 17:08:58] INFO HHH000108: Foreign keys: [] [2013-04-11 17:08:58] INFO HHH000126: Indexes: [primary, codeonly] [2013-04-11 17:08:58] INFO HHH000261: Table found: sunnet.sys_user [2013-04-11 17:08:58] INFO HHH000037: Columns: [id, level, email, name, realname, type, password] [2013-04-11 17:08:58] INFO HHH000108: Foreign keys: [] [2013-04-11 17:08:58] INFO HHH000126: Indexes: [primary] [2013-04-11 17:08:58] INFO HHH000261: Table found: sunnet.sys_zone [2013-04-11 17:08:58] INFO HHH000037: Columns: [id, ordernum, name, layer, ename, parentid] [2013-04-11 17:08:58] INFO HHH000108: Foreign keys: [] [2013-04-11 17:08:58] INFO HHH000126: Indexes: [primary] [2013-04-11 17:08:58] INFO HHH000232: Schema update complete [2013-04-11 17:08:58] INFO Bean 'mysqlEntityManagerFactory' of type [class org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [2013-04-11 17:08:58] INFO Bean 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0' of type [class org.springframework.transaction.annotation.AnnotationTransactionAttributeSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [2013-04-11 17:08:58] INFO Bean 'org.springframework.transaction.config.internalTransactionAdvisor' of type [class org.springframework.transaction.interceptor.BeanFactoryTransactionAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [2013-04-11 17:08:58] INFO Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@735df57e: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,sunCompetitionService,sunCompetitionuserService,sunProveService,sunProveTypeService,sunUserService,sysGameService,sysKeyValueService,sysUserService,sysZoneService,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,sunUserRepositoryImpl,sunUserRepository,sysZoneRepositoryImpl,sysZoneRepository,sunProveTypeRepositoryImpl,sunProveTypeRepository,sysKeyValueRepositoryImpl,sysKeyValueRepository,sunCompetitionUserRepositoryImpl,sunCompetitionUserRepository,sysUserRepositoryImpl,sysUserRepository,sunCompetitionRepositoryImpl,sunCompetitionRepository,sysGameRepositoryImpl,sysGameRepository,sunProveRepositoryImpl,sunProveRepository,org.springframework.data.repository.core.support.RepositoryInterfaceAwareBeanPostProcessor#0,org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0,org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor#0,defaultPersistenceUnitManager,mysqlJpaVendor,mysqlDataSource,mysqlEntityManagerFactory,transactionManager,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; root of factory hierarchy [2013-04-11 17:08:59] INFO Root WebApplicationContext: initialization completed in 7333 ms 四月 11, 2013 5:08:59 下午 org.apache.catalina.core.ApplicationContext log INFO: Set web app root system property: 'webapp.root' = [D:\mingkey\tomcat6\webapps\sunnet\] 四月 11, 2013 5:08:59 下午 org.apache.catalina.core.ApplicationContext log INFO: Initializing log4j from [classpath:log4j.properties] 四月 11, 2013 5:09:00 下午 org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring FrameworkServlet 'SpringMVC' [2013-04-11 17:09:00] INFO FrameworkServlet 'SpringMVC': initialization started [2013-04-11 17:09:00] INFO Refreshing WebApplicationContext for namespace 'SpringMVC-servlet': startup date [Thu Apr 11 17:09:00 CST 2013]; parent: Root WebApplicationContext [2013-04-11 17:09:00] INFO Loading XML bean definitions from class path resource [config/spring-web.xml] [2013-04-11 17:09:00] INFO Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@7b5cc930: defining beans [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,org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler#0,org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#0,org.springframework.web.servlet.handler.MappedInterceptor#1,acceptHeaderLocaleResolver,sessionLocaleResolver,cookieLocaleResolver,org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0,xmlMarshaller,multipartResolver,org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0,adminMainController,sunCompetitionController,sunCompetitionUserController,sunProveController,sunProveTypeController,sunUserController,sysGameController,sysLogController,sysUserController,sysZoneController,siteCompetitionController,siteCompetitionUserController,siteIssuedController,siteLogController,siteMainController,sitePersonalController,siteRegController,siteZoneController,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@735df57e [2013-04-11 17:09:00] INFO Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@7b5cc930: defining beans [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,org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler#0,org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#0,org.springframework.web.servlet.handler.MappedInterceptor#1,acceptHeaderLocaleResolver,sessionLocaleResolver,cookieLocaleResolver,org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0,xmlMarshaller,multipartResolver,org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0,adminMainController,sunCompetitionController,sunCompetitionUserController,sunProveController,sunProveTypeController,sunUserController,sysGameController,sysLogController,sysUserController,sysZoneController,siteCompetitionController,siteCompetitionUserController,siteIssuedController,siteLogController,siteMainController,sitePersonalController,siteRegController,siteZoneController,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@735df57e [2013-04-11 17:09:00] ERRORContext initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: HttpSession at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:605) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472) at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:631) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:588) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:645) at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:508) at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:449) at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:133) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.lang.NoClassDefFoundError: HttpSession at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2442) at java.lang.Class.getDeclaredMethods(Class.java:1808) at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:467) at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:481) at org.springframework.web.method.HandlerMethodSelector.selectMethods(HandlerMethodSelector.java:58) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.detectHandlerMethods(AbstractHandlerMethodMapping.java:137) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.initHandlerMethods(AbstractHandlerMethodMapping.java:107) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.afterPropertiesSet(AbstractHandlerMethodMapping.java:87) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452) ... 42 more Caused by: java.lang.ClassNotFoundException: HttpSession at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) ... 53 more 四月 11, 2013 5:09:00 下午 org.apache.catalina.core.ApplicationContext log SEVERE: StandardWrapper.Throwable org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: HttpSession at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:605) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472) at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:631) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:588) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:645) at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:508) at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:449) at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:133) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.lang.NoClassDefFoundError: HttpSession at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2442) at java.lang.Class.getDeclaredMethods(Class.java:1808) at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:467) at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:481) at org.springframework.web.method.HandlerMethodSelector.selectMethods(HandlerMethodSelector.java:58) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.detectHandlerMethods(AbstractHandlerMethodMapping.java:137) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.initHandlerMethods(AbstractHandlerMethodMapping.java:107) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.afterPropertiesSet(AbstractHandlerMethodMapping.java:87) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452) ... 42 more Caused by: java.lang.ClassNotFoundException: HttpSession at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) ... 53 more 四月 11, 2013 5:09:00 下午 org.apache.catalina.core.StandardContext loadOnStartup SEVERE: Servlet /sunnet threw load() exception java.lang.ClassNotFoundException: HttpSession at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2442) at java.lang.Class.getDeclaredMethods(Class.java:1808) at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:467) at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:481) at org.springframework.web.method.HandlerMethodSelector.selectMethods(HandlerMethodSelector.java:58) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.detectHandlerMethods(AbstractHandlerMethodMapping.java:137) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.initHandlerMethods(AbstractHandlerMethodMapping.java:107) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.afterPropertiesSet(AbstractHandlerMethodMapping.java:87) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:605) at org.springframework.context.support. AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472) at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:631) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:588) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:645) at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:508) at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:449) at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:133) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) 四月 11, 2013 5:09:00 下午 org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 四月 11, 2013 5:09:01 下午 org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 四月 11, 2013 5:09:01 下午 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/91 config=null 四月 11, 2013 5:09:01 下午 org.apache.catalina.startup.Catalina start INFO: Server startup in 19024 ms