日期:2014-05-20  浏览次数:20868 次

启动tomcat时 严重: Exception starting filter struts2
2011-9-5 16:56:09 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\MyEclipse1\bin;D:\apache-tomcat-6.0.26\bin
2011-9-5 16:56:09 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2011-9-5 16:56:09 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 627 ms
2011-9-5 16:56:09 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-9-5 16:56:09 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.26
2011-9-5 16:56:09 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2011-9-5 16:56:09 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2011-9-5 16:56:09 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2011-9-5 16:56:10 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2011-9-5 16:56:10 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2011-9-5 16:56:10 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2011-9-5 16:56:10 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2011-9-5 16:56:10 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory yamato
2011-9-5 16:56:10 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(D:\apache-tomcat-6.0.26\webapps\yamato\WEB-INF\lib\servlet-api-2.5-6.1.2rc0.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2011-9-5 16:56:17 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter struts2
java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class com.chamago.common.utils.Page)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2531)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1010)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1483)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1361)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.privateGetPublicMethods(Unknown Source)
at java.lang.Class.getMethods(Unknown Source)
at org.apache.struts2.convention.PackageBasedActionConfigBuilder.getActionAnnotations(PackageBasedActionConfigBuilder.java:728)
at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildConfiguration(PackageBasedActionConfigBuilder.java:541)
at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:318)
at org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:53)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:204)
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.ng.InitOperations.initDispatcher(InitOperations.java:69)
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)