日期:2014-05-18  浏览次数:20874 次

Eclipse下用Lomboz启动tomcat出现错误
我用的eclipse   3.1,tomcat   5.0.30,用lomboz启动tomcat出现以下错误

大家救救我啊
Bootstrap:   Class   loader   creation   threw   exception
java.lang.ExceptionInInitializerError
at   org.apache.catalina.startup.ClassLoaderFactory. <clinit> (ClassLoaderFactory.java:63)
at   org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:103)
at   org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:196)
at   org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:402)
Caused   by:   org.apache.commons.logging.LogConfigurationException:   org.apache.commons.logging.LogConfigurationException:   java.lang.NullPointerException   (Caused   by   java.lang.NullPointerException)   (Caused   by   org.apache.commons.logging.LogConfigurationException:   java.lang.NullPointerException   (Caused   by   java.lang.NullPointerException))
at   org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
at   org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at   org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
at   org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at   org.apache.tomcat.util.compat.JdkCompat. <clinit> (JdkCompat.java:55)
...   4   more
Caused   by:   org.apache.commons.logging.LogConfigurationException:   java.lang.NullPointerException   (Caused   by   java.lang.NullPointerException)
at   org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
at   org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
...   8   more
Caused   by:   java.lang.NullPointerException
at   org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:374)
...   9   more


------解决方案--------------------
别用这个插件了
用myeclipse吧
大家都在用这个

------解决方案--------------------
Eclipse还是不错的,MyEclipse不是收费的吗?
建议别通过Eclipse去启动Tomcat了。
直接通过系统的服务去启动就好看了。
从控制面板-〉管理工具-〉Service一路找过去就可以了。
就连Tomcat提供的Service管理工具我都不用。