ClassNotFoundException:org.apache.catalina.startup.Catalina

时间:2017-05-17 05:12:26

标签: installation tomcat7

我在catalina.out中启动tomcat时遇到ClassNotFoundException:org.apache.catalina.startup.Catalina。

在控制台中我收到消息“Tomcat正在运行pid:XXXX”但是当我执行“ps -ef | grep tomcat”时,它没有显示tomcat进程。

  17-May-2017 10:25:32.462 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/home/dir/"/opt/project_dir/testProject/tomcat/lib"], exists: [false], isDirectory: [false], canRead: [false]
17-May-2017 10:25:32.464 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/home/dir/"/opt/project_dir/testProject/tomcat/lib/*.jar"], exists: [false], isDirectory: [false], canRead: [false]
17-May-2017 10:25:32.464 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/home/dir/"/usr/share/tomcat/apache-tomcat-7.0.69/lib"], exists: [false], isDirectory: [false], canRead: [false]
17-May-2017 10:25:32.464 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/home/dir/"/usr/share/tomcat/apache-tomcat-7.0.69/lib/*.jar"], exists: [false], isDirectory: [false], canRead: [false]
java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:208)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)

0 个答案:

没有答案