snruge123 2008-06-26 02:34
浏览 881
已采纳

TOMCAT不能加载项目的问题,哪位帮我看看啊,万分感谢..急啊

?
\
我自己有个项目,是对的,在自己的TOMCAT上跑都是对的,现在我放别人的TOMCAT下去跑,但是就出现问题了,我在想可能是他TOMCAT上少什么或者哪儿设置了,你帮我看看,怎么解决哈
\
2008-6-26 9:42:32 org.apache.catalina.core.StandardHostDeployer install
信息: Processing Context configuration file URL file:C:\ahm\ahmWeb\conf\Catalina
\localhost\njproject.xml

2008-06-26 09:42:33,265 INFO [org.apache.myfaces.config.FacesConfigurator] Read
ing standard config org/apache/myfaces/resource/standard-faces-config.xml

2008-06-26 09:42:33,375 INFO [org.apache.myfaces.config.FacesConfigurator] Read
ing config jar:file:/C:/ahm/ahmWeb/webapps/njproject/WEB-INF b/facestrace-0.8.
1.jar!/META-INF/faces-config.xml

2008-06-26 09:42:33,390 INFO [org.apache.myfaces.config.FacesConfigurator] Read
ing config jar:file:/C:/ahm/ahmWeb/webapps/njproject/WEB-INF b/tomahawk-1.1.5-
SNAPSHOT.jar!/META-INF/faces-config.xml

2008-06-26 09:42:33,453 INFO [org.apache.myfaces.config.FacesConfigurator] Star
ting up MyFaces-package : myfaces-api in version : 1.1.5-SNAPSHOT from path : fi
le:/C:/ahm/ahmWeb/webapps/njproject/WEB-INF b/myfaces-api-1.1.5-SNAPSHOT.jar

2008-06-26 09:42:33,453 INFO [org.apache.myfaces.config.FacesConfigurator] Star
ting up MyFaces-package : myfaces-impl in version : 1.1.5-SNAPSHOT from path : f
ile:/C:/ahm/ahmWeb/webapps/njproject/WEB-INF b/myfaces-impl-1.1.5-SNAPSHOT.jar

2008-06-26 09:42:33,453 INFO [org.apache.myfaces.config.FacesConfigurator] MyFa
ces-package : tomahawk-sandbox not found.

2008-06-26 09:42:33,453 INFO [org.apache.myfaces.config.FacesConfigurator] Star
ting up MyFaces-package : tomahawk in version : 1.1.5-SNAPSHOT from path : file:
/C:/ahm/ahmWeb/webapps/njproject/WEB-INF b/tomahawk-1.1.5-SNAPSHOT.jar

2008-06-26 09:42:33,531 WARN [org.apache.myfaces.shared_impl.util.LocaleUtils]
Locale name in faces-config.xml null or empty, setting locale to default locale
: zh_CN

2008-06-26 09:42:34,328 INFO [org.apache.myfaces.config.FacesConfigurator] Seri
alization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSer
ialFactory

2008-06-26 09:42:34,359 INFO [org.apache.myfaces.webapp.StartupServletContextLi
stener] ServletContext 'C:\ahm\ahmWeb\webapps\njproject\' initialized.
2008-6-26 9:42:34 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2008-6-26 9:42:34 org.apache.catalina.core.StandardContext start
严重: Context startup failed due to previous errors
2008-6-26 9:42:34 org.apache.catalina.core.StandardHostDeployer install

这就是报的那个错,

服务启动哦,这个项目都访问不到啊

HTTP Status 404 - /njproject/njhomepage/crbtdinggeinfopage.html


type Status report

message /njproject/njhomepage/crbtdinggeinfopage.html

description The requested resource (/njproject/njhomepage/crbtdinggeinfopage.html) is not available.


根本就找不到这个项目

但是服务下他原来的项目是对的,我们现在的TOMCAT与JDK的版本都一致了,但是他的TOMCAT应该是像发布产品那样,发布出来的,之前可能有过改动,哪位给看看...

[b]问题补充:[/b]
嗯,TOMCAT下相应的包我都看了,都一样的....
这个是就是LOGS文件内容
2008-06-26 09:23:28 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1f88f7b')
2008-06-26 09:23:28 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@193f50c')
2008-06-26 09:23:28 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@bd13bf')
2008-06-26 09:23:28 StandardContext[/servlets-examples]SessionListener: contextDestroyed()
2008-06-26 09:23:28 StandardContext[/servlets-examples]ContextListener: contextDestroyed()
2008-06-26 09:24:04 StandardContext[/balancer]Exception starting filter BalancerFilter
java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
at org.apache.webapp.balancer.RulesParser.createDigester(RulesParser.java:65)
at org.apache.webapp.balancer.RulesParser.(RulesParser.java:43)
at org.apache.webapp.balancer.BalancerFilter.init(BalancerFilter.java:79)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:225)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:308)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:79)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3698)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4349)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:701)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at org.apache.catalina.core.StandardService.start(StandardService.java:480)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
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:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)

2008-06-26 09:24:04 StandardContext[/jsp-examples]ContextListener: contextInitialized()
2008-06-26 09:24:04 StandardContext[/jsp-examples]SessionListener: contextInitialized()
2008-06-26 09:24:05 StandardContext[/servlets-examples]ContextListener: contextInitialized()
2008-06-26 09:24:05 StandardContext[/servlets-examples]SessionListener: contextInitialized()
2008-06-26 09:26:33 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1650cea')
2008-06-26 09:26:33 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@132ece7')
2008-06-26 09:26:33 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@5f6ed4')
2008-06-26 09:26:33 StandardContext[/servlets-examples]SessionListener: contextDestroyed()
2008-06-26 09:26:33 StandardContext[/servlets-examples]ContextListener: contextDestroyed()
2008-06-26 09:26:35 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1ba3c1f')
2008-06-26 09:26:35 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1c12050')
2008-06-26 09:26:35 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@309239')
2008-06-26 09:26:35 StandardContext[/jsp-examples]SessionListener: contextDestroyed()
2008-06-26 09:26:35 StandardContext[/jsp-examples]ContextListener: contextDestroyed()
[b]问题补充:[/b]
唯一觉得有点不一样的就他的server.xml
<?xml version='1.0' encoding='utf-8'?>








factory
org.apache.catalina.users.MemoryUserDatabaseFactory


pathname
conf/tomcat-users.xml

















少了一些东西
[b]问题补充:[/b]
版本一样哈
[b]问题补充:[/b]
我把包放在了 commer/lib 还是不行哈 。那个包也有

展开全部

  • 写回答

7条回答 默认 最新

  • llade163 2008-06-26 04:05
    关注

    先看看你的webapp目录下面有没有其它项目,有的话把别的不相关的项目移出去,然后重启看看。看看你的webapp项目的web-inf\lib目录有没有commons-digester包。没有的话可以先把下载的commons-digester.jar拷贝进去看看能不能启动,如果还不行,就拷贝到tomcat\lib目录下面试试。

    如果还不行,这里有个参考,你可以看看:

    [url]http://topic.csdn.net/t/20041202/17/3610034.html[/url]

    一步一步来,希望有所帮助。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(6条)
编辑
预览

报告相同问题?

悬赏问题

  • ¥100 冷钱包突然失效,急寻解决方案
  • ¥15 下载honeyd时报错 configure: error: you need to instal a more recent version of libdnet
  • ¥15 距离软磁铁一定距离的磁感应强度大小怎么求
  • ¥15 霍尔传感器hmc5883l的xyz轴输出和该点的磁感应强度大小的关系是什么
  • ¥15 vscode开发micropython,import模块出现异常
  • ¥20 Excel数据自动录入表单并提交
  • ¥30 silcavo仿真,30分钟,只需要代码
  • ¥15 FastReport 怎么实现打印后马上关闭打印预览窗口
  • ¥15 利用3支股票数据估计其均值和方差的95%置信区间。
  • ¥15 微信小程序运行一项功能时,弹出未知错误弹框,检查代码没有问题
手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部