应用部署到tomcat之后,报错了,已经删除了jettey相关的jar包

发布于 2021-11-30 13:31:16 字数 9645 浏览 794 评论 1

@JFinal 你好,想跟你请教个问题:

应用部署到tomcat之后,报错了,详细内容,请参考以下的粗体黑色文字的内容。另外,部署的时候,已经删除了jetty-server-8.1.8.jar。请帮忙分析是啥原因造成的。

#2015-07-05 14:22:18,315 [main] INFO org.apache.catalina.startup.Catalina- Server startup in 5853 ms

#2015-07-05 14:22:18,306 [main] INFO org.apache.coyote.http11.Http11Protocol- Starting ProtocolHandler ["http-bio-18080"]

#2015-07-05 14:22:18,139 [localhost-startStop-1] INFO org.apache.catalina.startup.HostConfig- Deploying web application archive /home/bae/app/ROOT.war

#2015-07-05 14:22:18,123 [localhost-startStop-1] ERROR org.apache.catalina.core.StandardContext- Context [/happyshow] startup failed due to previous errors

#2015-07-05 14:22:18,123 [localhost-startStop-1] ERROR org.apache.catalina.core.StandardContext- Error filterStart

# at java.lang.Thread.run(Thread.java:724)

# at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

# at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

# at java.util.concurrent.FutureTask.run(FutureTask.java:166)

# at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

# at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

# at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1660)

# at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:983)

# at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)

# at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)

# at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)

# at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

# at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5452)


# at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4775)

# at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107)


# at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)

# at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)


# at com.jfinal.core.JFinalFilter.init(JFinalFilter.java:49)

# at com.jfinal.core.JFinal.init(JFinal.java:67)


# at com.jfinal.core.Config.configJFinal(Config.java:46)

# at com.chixun.common.Config.configConstant(Config.java:44)

# at com.jfinal.config.JFinalConfig.loadPropertyFile(JFinalConfig.java:96)

#java.lang.IllegalArgumentException: Properties file not found: /tmp/tomcat/Catalina/localhost/happyshow/WEB-INF/dev_db_config.txt

#2015-07-05 14:22:18,121 [localhost-startStop-1] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/happyshow]- Exception starting filter jfinal

#2015-07-05 14:22:12,501 [localhost-startStop-1] INFO org.apache.catalina.startup.HostConfig- Deploying web application archive /home/bae/app/happyshow.war


#2015-07-05 14:22:12,489 [main] INFO org.apache.catalina.core.StandardEngine- Starting Servlet Engine: Apache Tomcat/7.0.47

#2015-07-05 14:22:12,489 [main] INFO org.apache.catalina.core.StandardService- Starting service Catalina


#2015-07-05 14:22:12,461 [main] INFO org.apache.catalina.startup.Catalina- Initialization processed in 682 ms

#2015-07-05 14:22:12,445 [main] INFO org.apache.coyote.http11.Http11Protocol- Initializing ProtocolHandler ["http-bio-18080"]

#2015-07-05 14:22:12,219 [main] INFO org.apache.catalina.core.AprLifecycleListener- The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib/jni:/lib:/usr/lib

但是,实际上,在打好的happyshow.war中是包含dev_db_config.txt文件的

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

多彩岁月 2021-12-01 05:37:03

你查看Tomcat中的这个位置“
/tmp/tomcat/Catalina/localhost/happyshow/WEB-INF/”下,是否存在此.txt配置文件,如果没有,说明有问题。

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文