最近在使用IntelliJ这个IDE开发工具,但是配置好了tomcat之后,启动tomcat时报错:
[color=red]cmd /c ""C:\Program Files\Java\jdk1.7.0\bin\java" "-Dcatalina.base=C:\Documents and Settings\Administrator.IntelliJIdea8x\system\tomcat\Unnamed_ajaxfff20552" "-Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 7.0" "-Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 7.0\temp" -jar "C:\Program Files\Apache Software Foundation\Tomcat 7.0\bin\bootstrap.jar" start"
java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
at org.apache.catalina.startup.Bootstrap.(Bootstrap.java:55)
Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:299)
at java.net.URLClassLoader$1.run(URLClassLoader.java:288)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:287)
at java.lang.ClassLoader.loadClass(ClassLoader.java:391)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:331)
... 1 more
Exception in thread "main" Disconnected from server[/color]
有哪位遇到过类似的问题,帮忙指点指点啊!