tomcat服务器下webapps文件内添加多个项目,运行后出现某个项目被杀死的

zapoi 2017-12-15 02:03:50
我在tomcat服务器下的webapps里添加了3个应用,运行后,其中两个项目能够运行,有一个我最后添加上去的始终无法运行查看tomcat的打印日志后发现了这样的提示
````
2017-12-15 11:35:49 [localhost-startStop-1:1158] - [DEBUG] Published WebApplicationContext of servlet 'springMVC' as ServletContext attribute with name [org.springframework.web.servlet.FrameworkServlet.CONTEXT.springMVC]
2017-12-15 11:35:49 [localhost-startStop-1:1159] - [INFO] FrameworkServlet 'springMVC': initialization completed in 458 ms
2017-12-15 11:35:49 [localhost-startStop-1:1159] - [DEBUG] Servlet 'springMVC' configured successfully
15-Dec-2017 11:35:49.222 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /app/workplus/apache-tomcat-8.5.11/webapps/local_1 has finished in 2,637 ms
15-Dec-2017 11:35:49.222 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /app/workplus/apache-tomcat-8.5.11/webapps/uniview
15-Dec-2017 11:35:51.259 信息 [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
````
重点出在红色部分,小弟还是java新手,百度了很多方法也是不行,修改了web.xml的配置文件清除了缓存等等。在本地的eclipse里部署运行的话都是可以运行的一到服务器上就出这个问题。
...全文
974 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
zapoi 2017-12-18
  • 打赏
  • 举报
回复
引用 1 楼 net_lover 的回复:
你这日志没有错误日志,都是正常的 org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them 只是说有些包不需要扫描。 其他都是正常的信息
感谢版主,我在eclipse里使用maven clean后就没有出现了。但是项目运行后会出现404错误,不知道什么地方出问题,看了日志也没有报错什么的
孟子E章 2017-12-15
  • 打赏
  • 举报
回复
你这日志没有错误日志,都是正常的 org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them 只是说有些包不需要扫描。 其他都是正常的信息

5,655

社区成员

发帖
与我相关
我的任务
社区描述
Web开发应用服务器相关讨论专区
社区管理员
  • 应用服务器社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧