当前位置: 代码迷 >> Eclipse >> eclipse中启动tomcat的有关问题
  详细解决方案

eclipse中启动tomcat的有关问题

热度:178   发布时间:2016-04-23 18:52:47.0
eclipse中启动tomcat的问题
我最近新装了系统,但tomcat在eclipse怎么也起不来了,反复弄了多次也不行,最近报的错误如下:
Bootstrap:   Class   loader   creation   threw   exception
java.lang.NoClassDefFoundError:   org/apache/commons/logging/LogFactory
at   org.apache.tomcat.util.compat.JdkCompat. <clinit> (JdkCompat.java:55)
at   org.apache.catalina.startup.ClassLoaderFactory. <clinit> (ClassLoaderFactory.java:63)
at   org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:131)

说是找不到类文件,tomcat也配过几次了,怎么这次就出了这个问题了,大家帮忙看看!

------解决方案--------------------
检查commons-logging的位置,如果有重的地方,删了他。
------解决方案--------------------
commons-logging.jar放到类路径里
  相关解决方案