How to read the background information, follow the specific cases to analyze, thank you

2010-09-26  来源:本站原创  分类:Java  人气:222 

2010-9-25 23:57:11 org.apache.catalina.startup.HostConfig checkResources
Information: Reloading context [/ exer_04]
2010-9-25 23:57:11 org.apache.catalina.core.StandardContext stop
Information: Container org.apache.catalina.core.ContainerBase. [Catalina]. [Localhost]. [/ Exer_04] has not been started
2010-9-25 23:57:12 org.apache.catalina.core.ApplicationContext log
Information: Initializing Spring root WebApplicationContext
2010-9-25 23:57:12 org.springframework.web.context.ContextLoader initWebApplicationContext
Information: Root WebApplicationContext: initialization started
2010-9-25 23:57:12 org.springframework.context.support.AbstractApplicationContext prepareRefresh
Information: Refreshing Root WebApplicationContext: startup date [Sat Sep 25 23:57:12 CST 2010]; root of context hierarchy
2010-9-25 23:57:13 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
Information: Loading XML bean definitions from ServletContext resource [/ WEB-INF/applicationContext.xml]
2010-9-25 23:57:13 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
Information: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory @ 267e5f: defining beans [dataSource, sessionFactory]; root of factory hierarchy
SLF4J: The requested version 1.6 by your slf4j binding is not compatible with [1.5.5, 1.5.6, 1.5.7, 1.5.8]
SLF4J: See http://www.slf4j.org/codes.html # version_mismatch for further details.
47 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.Environment - Hibernate 3.5.0-Final
63 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.Environment - hibernate.properties not found
63 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.Environment - Bytecode provider name: javassist
78 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
2010-9-25 23:57:14 org.springframework.orm.hibernate3.LocalSessionFactoryBean buildSessionFactory
Information: Building new Hibernate SessionFactory
453 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.connection.ConnectionProviderFactory - Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
1234 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - RDBMS: MySQL, version: 5.1.41-community
1234 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.1.10 (Revision: $ (svn.Revision))
1344 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.dialect.Dialect - Using dialect: org.hibernate.dialect.MySQLDialect
1500 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.engine.jdbc.JdbcSupportLoader - Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
1500 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.transaction.TransactionFactoryFactory - Transaction strategy: org.springframework.orm.hibernate3.SpringTransactionFactory
1500 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.transaction.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
1500 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - Automatic flush during beforeCompletion (): disabled
1500 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - Automatic session close at end of transaction: disabled
1500 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - JDBC batch size: 15
1500 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - JDBC batch updates for versioned data: disabled
1516 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - Scrollable result sets: enabled
1516 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - JDBC3 getGeneratedKeys (): enabled
1516 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - Connection release mode: auto
1516 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - Maximum outer join fetch depth: 2
1516 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - Default batch fetch size: 1
1516 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - Generate SQL with comments: disabled
1516 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - Order SQL updates by primary key: disabled
1516 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - Order SQL inserts for batching: disabled
1516 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
1516 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.hql.ast.ASTQueryTranslatorFactory - Using ASTQueryTranslatorFactory
1516 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - Query language substitutions: ()
1516 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - JPA-QL strict compliance: disabled
1516 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - Second-level cache: enabled
1516 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - Query cache: disabled
1516 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - Cache region factory: org.hibernate.cache.impl.NoCachingRegionFactory
1516 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - Optimize cache for minimal puts: disabled
1516 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - Structured second-level cache entries: disabled
1547 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - Statistics: disabled
1547 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - Deleted entity synthetic identifier rollback: disabled
1547 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - Default entity-mode: pojo
1547 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - Named query checking: enabled
1547 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.cfg.SettingsFactory - Check Nullability in Core (should be disabled when Bean Validation is on): enabled
1672 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.impl.SessionFactoryImpl - building session factory
1703 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.impl.SessionFactoryObjectFactory - Not binding factory to JNDI, no JNDI name configured
2010-9-25 23:57:15 org.springframework.web.context.ContextLoader initWebApplicationContext
Information: Root WebApplicationContext: initialization completed in 2828 ms
2010-9-25 23:57:15 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
Information: Parsing configuration file [struts-default.xml]
2010-9-25 23:57:16 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
Information: Parsing configuration file [struts-plugin.xml]
2010-9-25 23:57:16 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
Information: Parsing configuration file [struts.xml]
2010-9-25 23:57:16 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
Information: Initializing Struts-Spring integration ...
2010-9-25 23:57:16 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
Information: Setting autowire strategy to name
2010-9-25 23:57:16 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
Information: ... initialized Struts-Spring integration successfully
2010-9-25 23:57:17 com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
Warning: Unable to load config class org.apache.struts2.portlet.interceptor.PortletAwareInterceptor at interceptor - jar: file: / C: / Documents% 20and% 20Settings/vicre-7758521/Workspaces/MyEclipse% 208.5/.metadata/.me_tcat / webapps/exer_04/WEB-INF/lib/struts2-portlet-plugin-2.1.8.1.jar! / struts-plugin.xml: 48:114 probably due to a missing jar, which might be fine if you never plan to use the portletAware interceptor
2010-9-25 23:57:17 com.opensymphony.xwork2.util.logging.commons.CommonsLogger error
Serious: Actual exception
Caught Exception while registering Interceptor class org.apache.struts2.portlet.interceptor.PortletAwareInterceptor - interceptor - jar: file: / C: / Documents% 20and% 20Settings/vicre-7758521/Workspaces/MyEclipse% 208.5/.metadata/.me_tcat / webapps/exer_04/WEB-INF/lib/struts2-portlet-plugin-2.1.8.1.jar! / struts-plugin.xml: 48:114
at com.opensymphony.xwork2.ObjectFactory.buildInterceptor (ObjectFactory.java: 202)
at com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructInterceptorReference (InterceptorBuilder.java: 59)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.lookupInterceptorReference (XmlConfigurationProvider.java: 987)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStack (XmlConfigurationProvider.java: 806)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStacks (XmlConfigurationProvider.java: 819)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptors (XmlConfigurationProvider.java: 842)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage (XmlConfigurationProvider.java: 449)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages (XmlConfigurationProvider.java: 264)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages (StrutsXmlConfigurationProvider.java: 111)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer (DefaultConfiguration.java: 193)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration (ConfigurationManager.java: 55)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration (Dispatcher.java: 374)
at org.apache.struts2.dispatcher.Dispatcher.init (Dispatcher.java: 418)
at org.apache.struts2.dispatcher.FilterDispatcher.init (FilterDispatcher.java: 190)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter (ApplicationFilterConfig.java: 275)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef (ApplicationFilterConfig.java: 397)
at org.apache.catalina.core.ApplicationFilterConfig. <init> (ApplicationFilterConfig.java: 108)
at org.apache.catalina.core.StandardContext.filterStart (StandardContext.java: 3693)
at org.apache.catalina.core.StandardContext.start (StandardContext.java: 4340)
at org.apache.catalina.startup.HostConfig.checkResources (HostConfig.java: 1105)
at org.apache.catalina.startup.HostConfig.check (HostConfig.java: 1203)
at org.apache.catalina.startup.HostConfig.lifecycleEvent (HostConfig.java: 293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java: 117)
at org.apache.catalina.core.ContainerBase.backgroundProcess (ContainerBase.java: 1337)
at org.apache.catalina.core.ContainerBase $ ContainerBackgroundProcessor.processChildren (ContainerBase.java: 1601)
at org.apache.catalina.core.ContainerBase $ ContainerBackgroundProcessor.processChildren (ContainerBase.java: 1610)
at org.apache.catalina.core.ContainerBase $ ContainerBackgroundProcessor.run (ContainerBase.java: 1590)
at java.lang.Thread.run (Thread.java: 619)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.struts2.portlet.interceptor.PortletAwareInterceptor': Resolution of declared constructors on bean Class [org.apache.struts2.portlet.interceptor. PortletAwareInterceptor] from ClassLoader [WebappClassLoader
delegate: false
repositories:
/ WEB-INF/classes /
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader @ f9c40
] Failed; nested exception is java.lang.NoClassDefFoundError: javax / portlet / PortletPreferences
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor (ConstructorResolver.java: 155)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor (AbstractAutowireCapableBeanFactory.java: 993)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowire (AbstractAutowireCapableBeanFactory.java: 339)
at com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean (SpringObjectFactory.java: 158)
at com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean (SpringObjectFactory.java: 133)
at com.opensymphony.xwork2.ObjectFactory.buildBean (ObjectFactory.java: 139)
at com.opensymphony.xwork2.ObjectFactory.buildInterceptor (ObjectFactory.java: 180)
... 27 more
Caused by: java.lang.NoClassDefFoundError: javax / portlet / PortletPreferences
at java.lang.Class.getDeclaredConstructors0 (Native Method)
at java.lang.Class.privateGetDeclaredConstructors (Class.java: 2389)
at java.lang.Class.getDeclaredConstructors (Class.java: 1836)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor (ConstructorResolver.java: 152)
... 33 more
Caused by: java.lang.ClassNotFoundException: javax.portlet.PortletPreferences
at org.apache.catalina.loader.WebappClassLoader.loadClass (WebappClassLoader.java: 1358)
at org.apache.catalina.loader.WebappClassLoader.loadClass (WebappClassLoader.java: 1204)
at java.lang.ClassLoader.loadClassInternal (ClassLoader.java: 320)
... 37 more
2010-9-25 23:57:17 com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
Warning: Unable to load config class org.apache.struts2.portlet.interceptor.PortletAwareInterceptor at interceptor - jar: file: / C: / Documents% 20and% 20Settings/vicre-7758521/Workspaces/MyEclipse% 208.5/.metadata/.me_tcat / webapps/exer_04/WEB-INF/lib/struts2-portlet-plugin-2.1.8.1.jar! / struts-plugin.xml: 48:114 probably due to a missing jar, which might be fine if you never plan to use the portletAware interceptor
2010-9-25 23:57:17 com.opensymphony.xwork2.util.logging.commons.CommonsLogger error
Serious: Actual exception
Caught Exception while registering Interceptor class org.apache.struts2.portlet.interceptor.PortletAwareInterceptor - interceptor - jar: file: / C: / Documents% 20and% 20Settings/vicre-7758521/Workspaces/MyEclipse% 208.5/.metadata/.me_tcat / webapps/exer_04/WEB-INF/lib/struts2-portlet-plugin-2.1.8.1.jar! / struts-plugin.xml: 48:114
at com.opensymphony.xwork2.ObjectFactory.buildInterceptor (ObjectFactory.java: 202)
at com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructInterceptorReference (InterceptorBuilder.java: 59)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.lookupInterceptorReference (XmlConfigurationProvider.java: 987)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStack (XmlConfigurationProvider.java: 806)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStacks (XmlConfigurationProvider.java: 819)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptors (XmlConfigurationProvider.java: 842)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage (XmlConfigurationProvider.java: 449)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages (XmlConfigurationProvider.java: 264)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages (StrutsXmlConfigurationProvider.java: 111)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer (DefaultConfiguration.java: 193)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration (ConfigurationManager.java: 55)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration (Dispatcher.java: 374)
at org.apache.struts2.dispatcher.Dispatcher.init (Dispatcher.java: 418)
at org.apache.struts2.dispatcher.FilterDispatcher.init (FilterDispatcher.java: 190)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter (ApplicationFilterConfig.java: 275)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef (ApplicationFilterConfig.java: 397)
at org.apache.catalina.core.ApplicationFilterConfig. <init> (ApplicationFilterConfig.java: 108)
at org.apache.catalina.core.StandardContext.filterStart (StandardContext.java: 3693)
at org.apache.catalina.core.StandardContext.start (StandardContext.java: 4340)
at org.apache.catalina.startup.HostConfig.checkResources (HostConfig.java: 1105)
at org.apache.catalina.startup.HostConfig.check (HostConfig.java: 1203)
at org.apache.catalina.startup.HostConfig.lifecycleEvent (HostConfig.java: 293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java: 117)
at org.apache.catalina.core.ContainerBase.backgroundProcess (ContainerBase.java: 1337)
at org.apache.catalina.core.ContainerBase $ ContainerBackgroundProcessor.processChildren (ContainerBase.java: 1601)
at org.apache.catalina.core.ContainerBase $ ContainerBackgroundProcessor.processChildren (ContainerBase.java: 1610)
at org.apache.catalina.core.ContainerBase $ ContainerBackgroundProcessor.run (ContainerBase.java: 1590)
at java.lang.Thread.run (Thread.java: 619)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.struts2.portlet.interceptor.PortletAwareInterceptor': Resolution of declared constructors on bean Class [org.apache.struts2.portlet.interceptor. PortletAwareInterceptor] from ClassLoader [WebappClassLoader
delegate: false
repositories:
/ WEB-INF/classes /
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader @ f9c40
] Failed; nested exception is java.lang.NoClassDefFoundError: javax / portlet / PortletPreferences
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor (ConstructorResolver.java: 155)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor (AbstractAutowireCapableBeanFactory.java: 993)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowire (AbstractAutowireCapableBeanFactory.java: 339)
at com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean (SpringObjectFactory.java: 158)
at com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean (SpringObjectFactory.java: 133)
at com.opensymphony.xwork2.ObjectFactory.buildBean (ObjectFactory.java: 139)
at com.opensymphony.xwork2.ObjectFactory.buildInterceptor (ObjectFactory.java: 180)
... 27 more
Caused by: java.lang.NoClassDefFoundError: javax / portlet / PortletPreferences
at java.lang.Class.getDeclaredConstructors0 (Native Method)
at java.lang.Class.privateGetDeclaredConstructors (Class.java: 2389)
at java.lang.Class.getDeclaredConstructors (Class.java: 1836)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor (ConstructorResolver.java: 152)
... 33 more
Caused by: java.lang.ClassNotFoundException: javax.portlet.PortletPreferences
at org.apache.catalina.loader.WebappClassLoader.loadClass (WebappClassLoader.java: 1358)
at org.apache.catalina.loader.WebappClassLoader.loadClass (WebappClassLoader.java: 1204)
at java.lang.ClassLoader.loadClassInternal (ClassLoader.java: 320)
... 37 more
2010-9-25 23:57:17 com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
Warning: no default parameter defined for result of type dispatcher
2010-9-25 23:57:17 com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
Warning: Unable to load config class org.apache.struts2.s1.ActionFormValidationInterceptor at interceptor - jar: file: / C: / Documents% 20and% 20Settings/vicre-7758521/Workspaces/MyEclipse% 208.5/.metadata/.me_tcat/webapps / exer_04/WEB-INF/lib/struts2-struts1-plugin-2.1.8.1.jar! / struts-plugin.xml: 33:118 probably due to a missing jar, which might be fine if you never plan to use the actionForm -validation interceptor
2010-9-25 23:57:17 com.opensymphony.xwork2.util.logging.commons.CommonsLogger error
Serious: Actual exception
Caught Exception while registering Interceptor class org.apache.struts2.s1.ActionFormValidationInterceptor - interceptor - jar: file: / C: / Documents% 20and% 20Settings/vicre-7758521/Workspaces/MyEclipse% 208.5/.metadata/.me_tcat/webapps / exer_04/WEB-INF/lib/struts2-struts1-plugin-2.1.8.1.jar! / struts-plugin.xml: 33:118
at com.opensymphony.xwork2.ObjectFactory.buildInterceptor (ObjectFactory.java: 202)
at com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructInterceptorReference (InterceptorBuilder.java: 59)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.lookupInterceptorReference (XmlConfigurationProvider.java: 987)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStack (XmlConfigurationProvider.java: 806)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStacks (XmlConfigurationProvider.java: 819)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptors (XmlConfigurationProvider.java: 842)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage (XmlConfigurationProvider.java: 449)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages (XmlConfigurationProvider.java: 264)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages (StrutsXmlConfigurationProvider.java: 111)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer (DefaultConfiguration.java: 193)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration (ConfigurationManager.java: 55)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration (Dispatcher.java: 374)
at org.apache.struts2.dispatcher.Dispatcher.init (Dispatcher.java: 418)
at org.apache.struts2.dispatcher.FilterDispatcher.init (FilterDispatcher.java: 190)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter (ApplicationFilterConfig.java: 275)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef (ApplicationFilterConfig.java: 397)
at org.apache.catalina.core.ApplicationFilterConfig. <init> (ApplicationFilterConfig.java: 108)
at org.apache.catalina.core.StandardContext.filterStart (StandardContext.java: 3693)
at org.apache.catalina.core.StandardContext.start (StandardContext.java: 4340)
at org.apache.catalina.startup.HostConfig.checkResources (HostConfig.java: 1105)
at org.apache.catalina.startup.HostConfig.check (HostConfig.java: 1203)
at org.apache.catalina.startup.HostConfig.lifecycleEvent (HostConfig.java: 293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java: 117)
at org.apache.catalina.core.ContainerBase.backgroundProcess (ContainerBase.java: 1337)
at org.apache.catalina.core.ContainerBase $ ContainerBackgroundProcessor.processChildren (ContainerBase.java: 1601)
at org.apache.catalina.core.ContainerBase $ ContainerBackgroundProcessor.processChildren (ContainerBase.java: 1610)
at org.apache.catalina.core.ContainerBase $ ContainerBackgroundProcessor.run (ContainerBase.java: 1590)
at java.lang.Thread.run (Thread.java: 619)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.struts2.s1.ActionFormValidationInterceptor': Resolution of declared constructors on bean Class [org.apache.struts2.s1.ActionFormValidationInterceptor] from ClassLoader [WebappClassLoader
delegate: false
repositories:
/ WEB-INF/classes /
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader @ f9c40
] Failed; nested exception is java.lang.NoClassDefFoundError: org / apache / struts / action / ActionServlet
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor (ConstructorResolver.java: 155)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor (AbstractAutowireCapableBeanFactory.java: 993)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowire (AbstractAutowireCapableBeanFactory.java: 339)
at com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean (SpringObjectFactory.java: 158)
at com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean (SpringObjectFactory.java: 133)
at com.opensymphony.xwork2.ObjectFactory.buildBean (ObjectFactory.java: 139)
at com.opensymphony.xwork2.ObjectFactory.buildInterceptor (ObjectFactory.java: 180)
... 27 more
Caused by: java.lang.NoClassDefFoundError: org / apache / struts / action / ActionServlet
at java.lang.Class.getDeclaredConstructors0 (Native Method)
at java.lang.Class.privateGetDeclaredConstructors (Class.java: 2389)
at java.lang.Class.getDeclaredConstructors (Class.java: 1836)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor (ConstructorResolver.java: 152)
... 33 more
Caused by: java.lang.ClassNotFoundException: org.apache.struts.action.ActionServlet
at org.apache.catalina.loader.WebappClassLoader.loadClass (WebappClassLoader.java: 1358)
at org.apache.catalina.loader.WebappClassLoader.loadClass (WebappClassLoader.java: 1204)
at java.lang.ClassLoader.loadClassInternal (ClassLoader.java: 320)
... 37 more
2010-9-25 23:57:17 com.opensymphony.xwork2.util.logging.commons.CommonsLogger error
Serious: Dispatcher initialization failed
java.lang.NullPointerException
at org.apache.struts2.osgi.OsgiConfigurationProvider.init (OsgiConfigurationProvider.java: 70)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer (DefaultConfiguration.java: 203)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration (ConfigurationManager.java: 55)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration (Dispatcher.java: 374)
at org.apache.struts2.dispatcher.Dispatcher.init (Dispatcher.java: 418)
at org.apache.struts2.dispatcher.FilterDispatcher.init (FilterDispatcher.java: 190)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter (ApplicationFilterConfig.java: 275)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef (ApplicationFilterConfig.java: 397)
at org.apache.catalina.core.ApplicationFilterConfig. <init> (ApplicationFilterConfig.java: 108)
at org.apache.catalina.core.StandardContext.filterStart (StandardContext.java: 3693)
at org.apache.catalina.core.StandardContext.start (StandardContext.java: 4340)
at org.apache.catalina.startup.HostConfig.checkResources (HostConfig.java: 1105)
at org.apache.catalina.startup.HostConfig.check (HostConfig.java: 1203)
at org.apache.catalina.startup.HostConfig.lifecycleEvent (HostConfig.java: 293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java: 117)
at org.apache.catalina.core.ContainerBase.backgroundProcess (ContainerBase.java: 1337)
at org.apache.catalina.core.ContainerBase $ ContainerBackgroundProcessor.processChildren (ContainerBase.java: 1601)
at org.apache.catalina.core.ContainerBase $ ContainerBackgroundProcessor.processChildren (ContainerBase.java: 1610)
at org.apache.catalina.core.ContainerBase $ ContainerBackgroundProcessor.run (ContainerBase.java: 1590)
at java.lang.Thread.run (Thread.java: 619)
2010-9-25 23:57:17 org.apache.catalina.core.StandardContext filterStart
Serious: Exception starting filter struts2
Class: org.apache.struts2.osgi.OsgiConfigurationProvider
File: OsgiConfigurationProvider.java
Method: init
Line: 70 - org/apache/struts2/osgi/OsgiConfigurationProvider.java: 70: -1
at org.apache.struts2.dispatcher.Dispatcher.init (Dispatcher.java: 431)
at org.apache.struts2.dispatcher.FilterDispatcher.init (FilterDispatcher.java: 190)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter (ApplicationFilterConfig.java: 275)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef (ApplicationFilterConfig.java: 397)
at org.apache.catalina.core.ApplicationFilterConfig. <init> (ApplicationFilterConfig.java: 108)
at org.apache.catalina.core.StandardContext.filterStart (StandardContext.java: 3693)
at org.apache.catalina.core.StandardContext.start (StandardContext.java: 4340)
at org.apache.catalina.startup.HostConfig.checkResources (HostConfig.java: 1105)
at org.apache.catalina.startup.HostConfig.check (HostConfig.java: 1203)
at org.apache.catalina.startup.HostConfig.lifecycleEvent (HostConfig.java: 293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java: 117)
at org.apache.catalina.core.ContainerBase.backgroundProcess (ContainerBase.java: 1337)
at org.apache.catalina.core.ContainerBase $ ContainerBackgroundProcessor.processChildren (ContainerBase.java: 1601)
at org.apache.catalina.core.ContainerBase $ ContainerBackgroundProcessor.processChildren (ContainerBase.java: 1610)
at org.apache.catalina.core.ContainerBase $ ContainerBackgroundProcessor.run (ContainerBase.java: 1590)
at java.lang.Thread.run (Thread.java: 619)
Caused by: java.lang.NullPointerException
at org.apache.struts2.osgi.OsgiConfigurationProvider.init (OsgiConfigurationProvider.java: 70)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer (DefaultConfiguration.java: 203)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration (ConfigurationManager.java: 55)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration (Dispatcher.java: 374)
at org.apache.struts2.dispatcher.Dispatcher.init (Dispatcher.java: 418)
... 15 more
2010-9-25 23:57:17 org.apache.catalina.core.StandardContext start
Serious: Error filterStart
2010-9-25 23:57:17 org.apache.catalina.core.StandardContext start
Serious: Context [/ exer_04] startup failed due to previous errors
2010-9-25 23:57:17 org.apache.catalina.core.ApplicationContext log
Information: Closing Spring root WebApplicationContext
2010-9-25 23:57:17 org.springframework.context.support.AbstractApplicationContext doClose
Information: Closing Root WebApplicationContext: startup date [Sat Sep 25 23:57:12 CST 2010]; root of context hierarchy
2010-9-25 23:57:17 org.springframework.beans.factory.support.DefaultSingletonBeanRegistry destroySingletons
Information: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory @ 267e5f: defining beans [dataSource, sessionFactory]; root of factory hierarchy
2010-9-25 23:57:17 org.springframework.orm.hibernate3.AbstractSessionFactoryBean destroy
Information: Closing Hibernate SessionFactory
4125 [ContainerBackgroundProcessor [StandardEngine [Catalina]]] INFO org.hibernate.impl.SessionFactoryImpl - closing

相关文章