maven项目-tomat70发布失败,日志如下
十一月 23, 2015 4:13:42 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:km-ws' did not find a matching property.
INFO: Starting Servlet Engine: Apache Tomcat/7.0.63
十一月 23, 2015 4:13:43 下午 org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(D:\IDE\apache-tomcat-7.0.63\wtpwebapps\km-ws\WEB-INF\lib\geronimo-servlet_3.0_spec-1.0.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
十一月 23, 2015 4:13:43 下午 org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(D:\IDE\apache-tomcat-7.0.63\wtpwebapps\km-ws\WEB-INF\lib\servlet-api-2.3.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
十一月 23, 2015 4:13:48 下午 org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
十一月 23, 2015 4:13:48 下午 org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
十一月 23, 2015 4:13:48 下午 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
16:13:48.327 [localhost-startStop-1] INFO o.s.web.context.ContextLoader - Root WebApplicationContext: initialization started
16:13:48.403 [localhost-startStop-1] INFO o.s.w.c.s.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Mon Nov 23 16:13:48 CST 2015]; root of context hierarchy
16:13:48.446 [localhost-startStop-1] INFO o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [jar:file:/D:/IDE/apache-tomcat-7.0.63/wtpwebapps/km-ws/WEB-INF/lib/km-platform-common-0.6.3-SNAPSHOT.jar!/kingmed-common-bean.xml]
16:13:49.865 [localhost-startStop-1] INFO o.s.c.a.ClassPathBeanDefinitionScanner - JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning
16:13:49.926 [localhost-startStop-1] ERROR o.s.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\IDE\apache-tomcat-7.0.63\wtpwebapps\km-ws\WEB-INF\classes\com\kingmed\ws\aop\CustLog.class]; nested exception is java.lang.IncompatibleClassChangeError: class org.springframework.core.type.classreading.ClassMetadataReadingVisitor has interface org.springframework.asm.ClassVisitor as super class
Caused by: java.lang.IncompatibleClassChangeError: class org.springframework.core.type.classreading.ClassMetadataReadingVisitor has interface org.springframework.asm.ClassVisitor as super class
at java.lang.ClassLoader.defineClass1(Native Method) ~[na:1.7.0_15]
at java.lang.ClassLoader.defineClass(ClassLoader.java:791) ~[na:1.7.0_15]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[na:1.7.0_15]
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2959) ~[catalina.jar:7.0.63]
SEVERE: Exception sending context initialized event to listener instance of class com.kingmed.platform.modules.spring.SpringContextUtil
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\IDE\apache-tomcat-7.0.63\wtpwebapps\km-ws\WEB-INF\classes\com\kingmed\ws\aop\CustLog.class]; nested exception is java.lang.IncompatibleClassChangeError: class org.springframework.core.type.classreading.ClassMetadataReadingVisitor has interface org.springframework.asm.ClassVisitor as super class
Caused by: java.lang.IncompatibleClassChangeError: class org.springframework.core.type.classreading.ClassMetadataReadingVisitor has interface org.springframework.asm.ClassVisitor as super class
十一月 23, 2015 4:13:49 下午 org.apache.catalina.core.StandardContext startInternal
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
十一月 23, 2015 4:13:49 下午 org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/km-ws] startup failed due to previous errors
十一月 23, 2015 4:13:49 下午 org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
16:13:49.939 [localhost-startStop-1] INFO o.s.w.c.s.XmlWebApplicationContext - Closing Root WebApplicationContext: startup date [Mon Nov 23 16:13:48 CST 2015]; root of context hierarchy
16:13:49.939 [localhost-startStop-1] WARN o.s.w.c.s.XmlWebApplicationContext - Exception thrown from ApplicationListener handling ContextClosedEvent
java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Mon Nov 23 16:13:48 CST 2015]; root of context hierarchy
at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:340) [spring-context-3.1.4.RELEASE.jar:3.1.4.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:327) [spring-context-3.1.4.RELEASE.jar:3.1.4.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1037) [spring-context-3.1.4.RELEASE.jar:3.1.4.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:1000) [spring-context-3.1.4.RELEASE.jar:3.1.4.RELEASE]
16:13:49.940 [localhost-startStop-1] WARN o.s.w.c.s.XmlWebApplicationContext - Exception thrown from LifecycleProcessor on context close
java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Mon Nov 23 16:13:48 CST 2015]; root of context hierarchy
at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:353) [spring-context-3.1.4.RELEASE.jar:3.1.4.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1045) [spring-context-3.1.4.RELEASE.jar:3.1.4.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:1000) [spring-context-3.1.4.RELEASE.jar:3.1.4.RELEASE]
十一月 23, 2015 4:13:49 下午 org.apache.catalina.core.StandardContext listenerStop
SEVERE: Exception sending context destroyed event to listener instance of class com.kingmed.platform.modules.spring.SpringContextUtil
java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:172)
十一月 23, 2015 4:13:50 下午 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
十一月 23, 2015 4:13:50 下午 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
十一月 23, 2015 4:13:50 下午 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@6e76169d')
十一月 23, 2015 4:13:50 下午 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory D:\IDE\apache-tomcat-7.0.63\webapps\examples has finished in 148 ms
十一月 23, 2015 4:13:50 下午 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory D:\IDE\apache-tomcat-7.0.63\webapps\host-manager
十一月 23, 2015 4:13:50 下午 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory D:\IDE\apache-tomcat-7.0.63\webapps\host-manager has finished in 38 ms
十一月 23, 2015 4:13:50 下午 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory D:\IDE\apache-tomcat-7.0.63\webapps\manager
十一月 23, 2015 4:13:50 下午 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory D:\IDE\apache-tomcat-7.0.63\webapps\manager has finished in 38 ms
十一月 23, 2015 4:13:50 下午 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory D:\IDE\apache-tomcat-7.0.63\webapps\ROOT
十一月 23, 2015 4:13:50 下午 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory D:\IDE\apache-tomcat-7.0.63\webapps\ROOT has finished in 33 ms
十一月 23, 2015 4:13:50 下午 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-apr-8080"]
十一月 23, 2015 4:13:50 下午 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-apr-8009"]
十一月 23, 2015 4:13:50 下午 org.apache.catalina.startup.Catalina start
INFO: Server startup in 6621 ms