maven项目-tomat70发布失败,日志如下

噼里啪啦的稻草 2015-11-23 04:31:40
十一月 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
...全文
176 1 打赏 收藏 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
http://blog.csdn.net/ld513508088/article/details/13613491 Caused by: java.lang.IncompatibleClassChangeError: class org.springframework.core.type.classreading.ClassMetadataReadingVisitor has interface org.springframework.asm.ClassVisitor as super class
下载代码方式:https://pan.quark.cn/s/a4b39357ea24 Language: 中文 欢迎来到戈戈圈! 当你点开这个存储库的时候,你会看到戈戈圈的图标↓ 本图片均在知识共享 署名-相同方式共享 3.0(CC BY-SA 3.0)许可协议下提供,如有授权遵照授权协议使用。 那么恭喜你,当你看到这个图标的时候,就代表着你已经正式成为了一名戈团子啦! 欢迎你来到这个充满爱与希望的大家庭! 「与大家创造更多快乐,与人们一起改变世界。 」 戈戈圈是一个在中国海南省诞生的创作企划,由王戈wg的妹妹于2018年7月14日正式公开。 戈戈圈的创作类型广泛,囊括插画、小说、音乐等各种作品类型。 戈戈圈的目前成员: Contributors 此外,支持戈戈圈及本企划的成员被称为“戈团子”。 “戈团子”一词最初来源于2015年出生的名叫“团子”的大熊猫,也因为一种由糯米包裹着馅料蒸熟而成的食品也名为“团子”,不仅有团圆之意,也蕴涵着团结友爱的象征意义和大家的美好期盼,因此我们最终于2021年初决定命名戈戈圈的粉丝为“戈团子”。 如果你对戈戈圈有兴趣的话,欢迎加入我们吧(σ≧︎▽︎≦︎)σ! 由于王戈wg此前投稿的相关视频并未详细说明本企划的信息,且相关视频的表述极其模糊,我们特此创建这个存储库,以文字的形式向大家介绍戈戈圈。 戈戈圈自2018年7月14日成立至今,一直以来都秉持着包容开放、和谐友善的原则。 我们深知自己的责任和使命,始终尊重社会道德习俗,严格遵循国家法律法规,为维护社会稳定和公共利益做出了积极的贡献。 因此,我们不允许任何人或组织以“戈戈圈”的名义在网络平台或现实中发布不当言论,同时我们也坚决反对过度宣传戈戈圈的行为,包括但不限于与戈戈圈无关的任何...
内容概要:本文围绕氢燃料电池极化曲线参数辨识与性能评估展开,采用人工蜂群算法(ABC)对质子交换膜燃料电池(PEMFC)的半经验模型进行高维非线性参数全局辨识,结合Amphlett电化学模型构建目标函数,通过Matlab代码实现极化特性反演,并开展多维度性能评估。研究重点涵盖模型参数的优化反演机制、人工蜂群算法的收敛性与敏感性分析、不同工况下输出特性的拟合精度验证,以及燃料电池内部活化过电压、欧姆过电压和浓度过电压等损耗成分的分解与效率量化,进而实现对燃料电池稳态性能的全面解耦与评估。; 适合人群:具备一定Matlab编程基础,从事新能源系统建模、燃料电池技术研究、电化学工程分析或智能优化算法应用的研究生、科研人员及工程技术人员。; 使用场景及目标:①掌握基于群体智能优化算法的燃料电池电化学模型参数辨识方法;②深入理解极化曲线拟合、过电压成分分解与性能退化评估的技术路径;③应用于燃料电池系统建模、状态估计、健康监测与能效优化等相关课题研究与工程仿真。; 阅读建议:建议读者结合文中提供的Matlab代码,复现参数辨识全过程,重点关注目标函数的设计逻辑、人工蜂群算法的实现细节、参数收敛过程的可视化分析以及仿真结果的对比验证,同时可拓展至其他智能优化算法(如PSO、GWO、SSA)的对比实验,以深化对模型可辨识性、参数唯一性与算法鲁棒性的理解。

67,535

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧