严重: Exception sending context destroyed event to listener instance of class com.skg.crm.listener.StartupListener java.lang.NoClassDefFoundError: com/skg/base/core/helper/SpringHelper
一种是 说找不到 监听器 或者
Caused by: java.io.FileNotFoundException: JAR entry conf/base-db-mybatis.xml not found in D:\soft\eclipseAll\eclipseThree\workSpaceThree\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ehrweb\WEB-INF\lib\biz-1.0.0.jar
at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:140)
找不到某个类, 但是这些 类,在项目 里面 是真实存在的, 而且 tomcat 项目 在 之前还是可以用的。 tomcat 启动项目时候,有时候就会出现这样的问题了的。 可能和项目的 架构 不太合理有关吧 我是不知道什么原因。 解决办法就是, 重新 编译 一下 项目, clean 一下 tomcat , 如果还不行就 使用 maven -- update project 更新一下 项目,即可 。再次 clean 一下 tomcat ,重启tomcat 即可