当前位置: 代码迷 >> 综合 >> tomcat 停止时提示警告信息WARNING: Problem with directory [/usr/share/tomcat8/shared]
  详细解决方案

tomcat 停止时提示警告信息WARNING: Problem with directory [/usr/share/tomcat8/shared]

热度:122   发布时间:2023-10-09 07:11:38.0

运行命令 sh shutdowm.sh 停止tomcat进程时打印很多警告信息

output: Aug 29, 2019 3:30:22 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/home/apple/tomcat8/tomcat-manage-dev/common/classes], exists: [false], isDirectory: [false], canRead: [false]
Aug 29, 2019 3:30:22 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/home/apple/tomcat8/tomcat-manage-dev/common], exists: [false], isDirectory: [false], canRead: [false]
Aug 29, 2019 3:30:22 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat8/common/classes], exists: [false], isDirectory: [false], canRead: [false]
Aug 29, 2019 3:30:22 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat8/common], exists: [false], isDirectory: [false], canRead: [false]
Aug 29, 2019 3:30:22 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/home/apple/tomcat8/tomcat-manage-dev/server/classes], exists: [false], isDirectory: [false], canRead: [false]
Aug 29, 2019 3:30:22 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/home/apple/tomcat8/tomcat-manage-dev/server], exists: [false], isDirectory: [false], canRead: [false]
Aug 29, 2019 3:30:22 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat8/server/classes], exists: [false], isDirectory: [false], canRead: [false]
Aug 29, 2019 3:30:22 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat8/server], exists: [false], isDirectory: [false], canRead: [false]
Aug 29, 2019 3:30:22 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/home/apple/tomcat8/tomcat-manage-dev/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
Aug 29, 2019 3:30:22 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/home/apple/tomcat8/tomcat-manage-dev/shared], exists: [false], isDirectory: [false], canRead: [false]
Aug 29, 2019 3:30:22 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat8/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
Aug 29, 2019 3:30:22 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat8/shared], exists: [false], isDirectory: [false], canRead: [false]

解决办法很简单,把警告中提到的文件夹创建上就可以,大概是涉及到tomcat的检测一些东西,不是很清楚,有了解的欢迎补充

  相关解决方案