关闭

SSH2三大框架整合出错(一)

标签: struts2SpringHibernate框架Java Web
1391人阅读 评论(0) 收藏 举报
分类:
usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ]  { -help | start | stop }
2013-12-1 22:01:15 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6.
2013-12-1 22:01:15 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2013-12-1 22:01:15 org.apache.catalina.core.AprLifecycleListener initializeSSL
信息: OpenSSL successfully initialized (OpenSSL 1.0.1d 5 Feb 2013)
2013-12-1 22:01:16 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-apr-8080"]
2013-12-1 22:01:16 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-apr-8009"]
2013-12-1 22:01:16 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1270 ms
2013-12-1 22:01:16 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
2013-12-1 22:01:16 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.41
2013-12-1 22:01:17 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://www.springframework.org/tags/form is already defined
2013-12-1 22:01:17 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://www.springframework.org/tags is already defined
2013-12-1 22:01:17 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\docs
2013-12-1 22:01:17 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\examples
2013-12-1 22:01:18 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2013-12-1 22:01:18 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2013-12-1 22:01:18 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@15cd9c0')
2013-12-1 22:01:18 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\host-manager
2013-12-1 22:01:18 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\JFreeChart
2013-12-1 22:01:18 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\manager
2013-12-1 22:01:18 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\MedicineManager
2013-12-1 22:01:20 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter CharacterEncodingFilter
java.lang.ClassNotFoundException: com.lyq.util.CharacterEncodingFilter
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
	at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:527)
	at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:509)
	at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:137)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4746)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5399)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1113)
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1671)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:619)
2013-12-1 22:01:20 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter HibernateFilter
java.lang.ClassNotFoundException: com.lyq.util.HibernateFilter
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
	at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:527)
	at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:509)
	at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:137)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4746)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5399)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1113)
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1671)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:619)
2013-12-1 22:01:20 org.apache.catalina.core.StandardContext startInternal
严重: Error filterStart
2013-12-1 22:01:20 org.apache.catalina.core.StandardContext startInternal
严重: Context [/MedicineManager] startup failed due to previous errors
2013-12-1 22:01:20 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\ROOT
2013-12-1 22:01:20 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-apr-8080"]
2013-12-1 22:01:20 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-apr-8009"]
2013-12-1 22:01:20 org.apache.catalina.startup.Catalina start
信息: Server startup in 4661 ms

错误原因:由于Tomcat之前已经部署了项目MedicineManager,

后来又部署了SSH2项目,导致Tomcat运行MedicineManager出错

2
0
查看评论

SSH2三大框架整合出错(六)

usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2013-12-6 23:33:49 org.apache.catalina...
  • you23hai45
  • you23hai45
  • 2013-12-06 23:35
  • 1231

SSH2三大框架整合出错(五)

usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2013-12-6 23:13:21 org.apache.catalina...
  • you23hai45
  • you23hai45
  • 2013-12-06 23:13
  • 1370

SSH2三大框架整合出错(三)

usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2013-12-1 22:48:33 org.apache.catalina...
  • you23hai45
  • you23hai45
  • 2013-12-01 22:49
  • 1346

SSH2三大框架整合出错(二)

usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2013-12-1 22:29:26 org.apache.catalina...
  • you23hai45
  • you23hai45
  • 2013-12-01 22:31
  • 1267

SSH2三大框架整合出错(四)

usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2013-12-2 22:28:18 org.apache.catalina...
  • you23hai45
  • you23hai45
  • 2013-12-02 22:32
  • 1749

SSH2三大框架整合警告

*********************************************************************** * WARNING!!! * *
  • you23hai45
  • you23hai45
  • 2013-12-02 23:00
  • 1883

SSH2三大框架整合

关于ssh三大框架整合 1:顺序:hibernate -->spring --> struts2 2: hibernate           ❶下面这个就不要了       &#...
  • jinjianghai
  • jinjianghai
  • 2014-07-05 17:34
  • 398

SSH整合步骤,三大框架的整合步骤

SSH整合步骤: 1、添加spring框架 2、添加hibernate框架 3、添加struts框架 4、添加4个包分别是: com.scme.ssh.action com.scme.ssh.biz com.scme.ssh.dao com.scme.ssh.persist 5、通...
  • u014649598
  • u014649598
  • 2014-05-30 14:40
  • 4464

三大框架整合步骤(详细)

一下是从struts2-------->>>hibernate--------------->>>>spring的整合过程。 环境:tomcat7+MyEclipse10.0+struts2+hibernate3+spring 说明: 1)、基本全部是使用注...
  • wgyscsf
  • wgyscsf
  • 2015-11-07 15:15
  • 1791

SSH2整合--配置+详解

最近的项目做完了,整理整理用到的技术,也顺便系统地回顾一下框架基础,防止学而不思则罔,思而不学则殆.          先说说框架整合.最初的架构是最简单的Struts2+Spring3+Hibernate3,数据库使用的是MySQL.分别列出整...
  • zhuanzhe117
  • zhuanzhe117
  • 2015-08-26 23:48
  • 13322
    个人资料
    • 访问:5597799次
    • 积分:73088
    • 等级:
    • 排名:第28名
    • 原创:1925篇
    • 转载:76篇
    • 译文:3篇
    • 评论:1193条
    百度技术栏目
    网易博客
    新浪博客
    博客专栏
    Linux

    文章:47篇

    阅读:66462
    dojo

    文章:10篇

    阅读:30509
    Flex

    文章:13篇

    阅读:29389
    FusionCharts

    文章:14篇

    阅读:71506
    文章分类
    最新评论