运行Tomcat7 出现
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/s
tartup/Bootstrap
Caused by: java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstr
ap
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Failed to run service as console application
日志文件:
[2012-04-08 12:21:00] [info] Commons Daemon procrun (1.0.8.0 32-bit) started
[2012-04-08 12:21:00] [info] Debugging 'Tomcat7' service...
[2012-04-08 12:21:00] [info] Starting service...
[2012-04-08 12:21:00] [error] FindClass org/apache/catalina/startup/Bootstrap failed
[2012-04-08 12:21:00] [error] Failed to start Java
[2012-04-08 12:21:00] [error] ServiceStart returned 4
[2012-04-08 12:21:00] [info] Debug service finished with exit code 4
[2012-04-08 12:21:00] [error] Commons Daemon procrun failed with exit value: 3 (Failed to run service as console application)
我哪里配置错了吗?在eclipse里能运行。
------解决方案--------------------
重装一个
------解决方案--------------------
帮顶,,如果急就只有重装了,再检查下环境变量!!
------解决方案--------------------
帮顶,,如果急就只有重装了,再检查下环境变量!!
------解决方案--------------------
帮顶,,如果急就只有重装了,再检查下环境变量!!
------解决方案--------------------
自己修改目录这种做法比较头疼 建议重装