exception-容器启动就报错,ssh整合

问题描述

容器启动就报错,ssh整合
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
java.lang.IllegalArgumentException
at org.springframework.asm.ClassReader.(Unknown Source)
at org.springframework.asm.ClassReader.(Unknown Source)
at org.springframework.asm.ClassReader.(Unknown Source)
at org.springframework.core.type.classreading.SimpleMetadataReader.(SimpleMetadataReader.java:52)
at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:80)
at org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:101)
at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:76)
at org.springframework.context.annotation.ConfigurationClassParser.getImports(ConfigurationClassParser.java:298)
at org.springframework.context.annotation.ConfigurationClassParser.getImports(ConfigurationClassParser.java:300)
at org.springframework.context.annotation.ConfigurationClassParser.getImports(ConfigurationClassParser.java:300)
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:230)
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:153)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:130)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:285)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:223)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:630)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:461)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4751)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5175)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1071)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1722)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

解决方案

应该是asm和哪个Jar的版本冲突引起的,仔细检查一下

解决方案二:
可以学习一下Maven来管理依赖包,一般不会有问题

时间: 2024-10-28 02:44:39

exception-容器启动就报错,ssh整合的相关文章

tomcat启动报错-SSH + Oracle 整合开发 启动服务报错,运行查询操作,没影响

问题描述 SSH + Oracle 整合开发 启动服务报错,运行查询操作,没影响 信息: Initializing Spring root WebApplicationContextlog4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).log4j:WARN Please initialize the log4j system properly.2013-1

ssh整合-spring整合hibernate做测试时没有报错,当三个整合时启动就报错啦,求大神指点!!

问题描述 spring整合hibernate做测试时没有报错,当三个整合时启动就报错啦,求大神指点!! 报的错误org.springframework.scheduling.quartz.JobMethodInvocationFailedException: Invocation of method 'ecsUnsigned' on target class [class $Proxy17] failed; nested exception is org.springframework.tran

spring-Spring整合xfire webservice 启动不报错 访问报错

问题描述 Spring整合xfire webservice 启动不报错 访问报错 七月 13, 2015 1:56:59 下午 org.apache.catalina.core.StandardWrapperValve invoke 严重: Allocate exception for servlet XFireServlet org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configurati

spring3-ssh2框架整合启动tomcat报错!!!

问题描述 ssh2框架整合启动tomcat报错!!! 严重: Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [D:Toolapache-tomcat-6.0.36webappsNewsWEB-INFclassesapplicationContext-db

javaweb项目,tomcat启动异常报错,spring文件初始化问题,大神help

问题描述 javaweb项目,tomcat启动异常报错,spring文件初始化问题,大神help 本地启动没问题,把编译好的项目放到别的机器就不行,tomcat版本是一样的,都是8.0.12,jdk也是一样的,本地的系统是windows,另外一台是linux ERROR 2015-08-13 14:50:01,873 ContextLoader:initWebApplicationContext - Context initialization failed java.lang.NullPoin

hdfs升级ha,启动hbase报错

问题描述 hdfs升级ha,启动hbase报错 016-05-18 13:16:26,751 INFO [master:master2:60000-EventThread] zookeeper.ClientCnxn: EventThread shut down 2016-05-18 13:16:26,752 INFO [master:master2:60000-SendThread(master1:2181)] zookeeper.ClientCnxn: Unable to reconnect

bean-该有的包都有了,IDEA下一启动就报错,大家进来给点意见

问题描述 该有的包都有了,IDEA下一启动就报错,大家进来给点意见 2015-7-27 15:18:04 org.apache.catalina.core.ApplicationContext log 严重: StandardWrapper.Throwable java.lang.ExceptionInInitializerError Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Error

maven 项目tomcat启动总是报错,而且项目是直接从团队git仓库下的,是我的环境配置问题吗

问题描述 maven 项目tomcat启动总是报错,而且项目是直接从团队git仓库下的,是我的环境配置问题吗 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.github.diamond.client.spring.MessagePropertyPlaceholderConfigurer#0': Invocation of init method failed;

shiro报错-项目中使用了shiro,我添加了几个实体类,启动tomcat报错

问题描述 项目中使用了shiro,我添加了几个实体类,启动tomcat报错 Error creating bean with name 'entityManagerFactory' defined in URL [file:/F:/eclipseWorkSpace1219/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/OmpApp/WEB-INF/classes/spring/spring-dao.xml]: Inv