`
haofenglemon
  • 浏览: 243921 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

ssh整合报错

阅读更多
2009-07-23 17:24:02,343 DEBUG [org.springframework.util.ClassUtils] - <Class [org.apache.commons.collections.map.LinkedMap] or one of its dependencies is not present: java.lang.ClassNotFoundException: org.apache.commons.collections.map.LinkedMap>
2009-07-23 17:24:02,343 DEBUG [org.springframework.util.ClassUtils] - <Class [edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap] or one of its dependencies is not present: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap>
2009-07-23 17:24:02,343 DEBUG [org.springframework.core.CollectionFactory] - <Creating [java.util.concurrent.ConcurrentHashMap]>
2009-07-23 17:24:02,359 DEBUG [org.springframework.core.CollectionFactory] - <Creating [java.util.LinkedHashSet]>
2009-07-23 17:24:02,359 DEBUG [org.springframework.core.CollectionFactory] - <Creating [java.util.LinkedHashMap]>
2009-07-23 17:24:02,359 DEBUG [org.springframework.core.CollectionFactory] - <Creating [java.util.LinkedHashSet]>
2009-07-23 17:24:02,359 DEBUG [org.springframework.core.CollectionFactory] - <Creating [java.util.concurrent.ConcurrentHashMap]>
2009-07-23 17:24:02,359 DEBUG [org.springframework.core.CollectionFactory] - <Creating [java.util.concurrent.ConcurrentHashMap]>
2009-07-23 17:24:02,421 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - <Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]>
2009-07-23 17:24:02,453 DEBUG [org.springframework.beans.factory.xml.DefaultDocumentLoader] - <Using JAXP provider [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl]>
2009-07-23 17:24:02,765 DEBUG [org.springframework.beans.factory.xml.PluggableSchemaResolver] - <Trying to resolve XML entity with public id [null] and system id [http://www.springframework.org/schema/beans/spring-beans-2.0.xsd]>
2009-07-23 17:24:02,765 DEBUG [org.springframework.beans.factory.xml.PluggableSchemaResolver] - <Loading schema mappings from [META-INF/spring.schemas]>
2009-07-23 17:24:02,765 DEBUG [org.springframework.beans.factory.xml.PluggableSchemaResolver] - <Loaded schema mappings: {http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd, http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd, http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd, http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd, http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd, http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd, http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd, http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd, http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd, http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd, http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd, http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd, http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd, http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd}>
2009-07-23 17:24:02,781 DEBUG [org.springframework.beans.factory.xml.PluggableSchemaResolver] - <Found XML schema [http://www.springframework.org/schema/beans/spring-beans-2.0.xsd] in classpath: org/springframework/beans/factory/xml/spring-beans-2.0.xsd>
2009-07-23 17:24:02,890 DEBUG [org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver] - <Loaded mappings [{http://www.springframework.org/schema/p=org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler, http://www.springframework.org/schema/lang=org.springframework.scripting.config.LangNamespaceHandler, http://www.springframework.org/schema/jee=org.springframework.ejb.config.JeeNamespaceHandler, http://www.springframework.org/schema/aop=org.springframework.aop.config.AopNamespaceHandler, http://www.springframework.org/schema/util=org.springframework.beans.factory.xml.UtilNamespaceHandler, http://www.springframework.org/schema/tx=org.springframework.transaction.config.TxNamespaceHandler}]>
2009-07-23 17:24:02,890 DEBUG [org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver] - <Ignoring namespace handler [org.springframework.scripting.config.LangNamespaceHandler]: handler class not found>
java.lang.ClassNotFoundException: org.springframework.scripting.config.LangNamespaceHandler
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:229)
at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.initHandlerMappings(DefaultNamespaceHandlerResolver.java:117)
at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:96)
at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:83)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDefaultNamespaceHandlerResolver(XmlBeanDefinitionReader.java:498)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createReaderContext(XmlBeanDefinitionReader.java:487)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:468)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:363)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:313)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:290)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324)
at org.springframework.web.struts.ContextLoaderPlugIn.createWebApplicationContext(ContextLoaderPlugIn.java:354)
at org.springframework.web.struts.ContextLoaderPlugIn.initWebApplicationContext(ContextLoaderPlugIn.java:295)
at org.springframework.web.struts.ContextLoaderPlugIn.init(ContextLoaderPlugIn.java:225)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:871)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:359)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2009-07-23 17:24:02,890 DEBUG [org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver] - <Ignoring namespace handler [org.springframework.ejb.config.JeeNamespaceHandler]: handler class not found>
java.lang.ClassNotFoundException: org.springframework.ejb.config.JeeNamespaceHandler
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:229)
at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.initHandlerMappings(DefaultNamespaceHandlerResolver.java:117)
at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:96)
at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:83)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDefaultNamespaceHandlerResolver(XmlBeanDefinitionReader.java:498)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createReaderContext(XmlBeanDefinitionReader.java:487)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:468)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:363)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:313)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:290)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324)
at org.springframework.web.struts.ContextLoaderPlugIn.createWebApplicationContext(ContextLoaderPlugIn.java:354)
at org.springframework.web.struts.ContextLoaderPlugIn.initWebApplicationContext(ContextLoaderPlugIn.java:295)
at org.springframework.web.struts.ContextLoaderPlugIn.init(ContextLoaderPlugIn.java:225)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:871)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:359)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)




解决方案:

出错的原因就是jar包冲突所致

把asm版本的jar包删除掉  如下所示
cglib-2.1.3.jar
asm-2.2.3.jar

把以上两个jar文件从ssh中进行删除  重新启动tomcat 正常















分享到:
评论

相关推荐

    ssh框架报错分析集合

    以上只是一部分SSH框架报错的分析和解决策略。在实际开发中,可能还会遇到更多问题,如类加载冲突、依赖注入错误、事务管理问题等。对于这些问题,关键是要理解每个框架的工作原理,仔细阅读错误日志,定位问题根源...

    SSH整合中容易出现的错误

    SSH整合项目中容易出现的错误整理,包的冲突

    SSH整合项目中容易出现的错误

    SSH整合项目中容易出现的错误 在SSH整合项目中,可能会遇到一些常见的错误,这些错误可能会导致项目的开发和部署受到阻碍。以下是SSH整合项目中容易出现的一些错误及解决方法: 1. org.hibernate.id....

    SSH整合(注解方式)dataSource配置defaultAutoCommit启动报错

    在使用注解方式进行SSH整合时,可能会遇到关于`dataSource`配置`defaultAutoCommit`属性导致的启动报错问题。这个问题通常是由于数据库连接池配置不当或者与应用的事务管理策略不匹配所引起的。 首先,我们需要理解...

    SSH整合流程(个人总结,仅供参考)

    SSH整合流程是Java Web开发中常见的集成框架,主要包括Struts2、Spring和Hibernate三个组件。这篇文章将详细解释这些组件的作用以及如何在实际项目中进行整合。 1. **Struts2**:Struts2是一个基于MVC设计模式的Web...

    Eclipse下整合后的SSH框架

    由于在网上找了半天都没找到在eclipse下整合好的SSH框架,只好自己动手弄了一下,希望对有同样需求的程序员提供帮助,文件解压后可直接导入到eclipse运行。 当然你需要修改数据库用户名密码等配置。

    ssh整合出现的一些问题的解决

    ### SSH整合过程中遇到的问题及解决方案 #### 一、问题概述 在进行SSH(Spring+Hibernate+Struts)框架整合的过程中,开发人员可能会遇到多种技术挑战与兼容性问题。特别是当涉及到Spring与Hibernate在AOP(面向切...

    SSH整合问题

    SSH整合指的是在Java Web开发中集成Spring、Struts2和Hibernate这三个开源框架。Spring提供了依赖注入和事务管理,Struts2作为MVC框架处理请求和响应,而Hibernate则负责对象关系映射,使得数据库操作更加便捷。在...

    ssh整合步骤

    SSH整合是指将Struts2、Hibernate和Spring三个开源框架集成在一起,用于构建高效、灵活的企业级Web应用。下面将详细介绍SSH整合的步骤以及需要注意的事项。 一、Struts2整合 1. 创建一个Web工程,并在`WEB-INF/lib`...

    SSH常见错误整合分析

    在使用SSH证书时,如果证书过期,会报错“Host key verification failed.”。解决方法是更新证书,或者在首次连接时接受新主机的指纹。 6. **版本不匹配(Protocol Mismatch)** 如果两端SSH客户端和服务器的版本...

    ssh框架整合步骤

    ### SSH框架整合步骤详解 SSH框架,即Struts+Spring+Hibernate框架的组合,是Java Web开发中的一个经典架构模式,旨在实现MVC设计模式,提高应用程序的可维护性和扩展性。下面,我们将深入探讨从新建项目到最终整合...

    基于SSH框架整合的易聊微博系统的设计与实现 包含毕业项目.zip

    基于SSH框架整合的易聊微博系统的设计与实现 包含毕业项目 选择index.jsp开始运行 如果网页部分报错属于误报 如果java源代码报错,需要配置tomcat所在位置 基于SSH框架整合的易聊微博系统的设计与实现 包含毕业...

    仿淘宝 无报错java swing ssh 框架源代码

    【标题】"仿淘宝 无报错java swing ssh 框架源代码" 提供的是一款基于Java Swing和SSH框架开发的电子商务系统源码,该系统旨在模仿淘宝网的功能和界面,为学习和实践Java后端开发的用户提供了一个实际的项目案例。...

    SSH框架整合

    这个本人做的 SSH 集成框架(扫描加注解) 包含整个项目(src) 1、环境是 tomcat6.0 mysql5.5 、eclipse 、jdk1.6 2、有用户登录、单元测试。功能 用户的增、删、改、查, 用户登录有jsp页面 增、删、改、查在...

    maven整合ssh框架

    这是自己根据别人写的资料,自己搭载的框架,运行没有问题,用的是eclipse_luna(mars与最新的maven我没有弄好,报错),jak1.7,tomcat7.数据库用的是mysql,希望对初学者有用!

    Accp7.0 Y2 Java SSH框架实例代码

    提供的压缩包文件ssh-demo、ssh-2、ssh可能包含了完整的SSH整合实例代码,其中可能包括了项目的结构、配置文件、Action类、DAO接口及其实现、实体类、视图文件等。通过学习这些示例代码,开发者可以深入理解SSH框架...

    SSH最新框架整合(经典不容错过).pdf

    SSH框架整合是Java EE开发中常见的技术组合,包括Struts2、Spring和Hibernate三个主要组件。本实例详细介绍了如何在JavaEE项目中使用Struts2.1.6、Spring2.5.6和Hibernate3.3.1进行全注解式开发。开发环境要求JDK...

    Xshell+Xftp 整合版:免费的 SSH/FTP/SFTP 客户端 (简体中文)

    1、若运行报错或无反应,请手动安装 VC 运行库:http://www.microsoft.com/zh-cn/download/confirmation.aspx?id=5582 2、所有配置相关文件将存储在 Data\Settings 目录; 3、本便携版不支持自定义会话文件夹路径...

Global site tag (gtag.js) - Google Analytics