问题描述
- 保存一个JSP文件运行是出错用的myeclipse
- W ception in thread ""main"" java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory at org.apache.catalina.startup.Bootstrap.(Bootstrap.java:52)Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 1 more
解决方案
java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
这个类导入了么
解决方案二:
Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
说的很明白,没有找到包异常,导入相关的包就可以了
时间: 2024-12-02 20:54:53