MyEclipse - 在tomcat6里面配置tomcat7

一、异常信息
    java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory  
        at org.apache.catalina.startup.Bootstrap.(Bootstrap.java:60)  
    Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory  
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)  
        at java.security.AccessController.doPrivileged(Native Method)  
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)  
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)  
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)  
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)  
       ... 1 more 
    Exception in thread "main"

二、处理方式
    首选项 --- tomcat --- tomtca6.x --- path --- add jar/zip
    选择tomcat_home/bin/tomcat-juli.jar添加
 
 
 

你可能感兴趣的:(IDE)