当前位置: 代码迷 >> Eclipse >> tomcat启动时报错,求解?该如何处理
  详细解决方案

tomcat启动时报错,求解?该如何处理

热度:60   发布时间:2016-04-23 12:49:04.0
tomcat启动时报错,求解?
出来两句错误提示
1 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed
Cannot find class [com.ideal.framework.ibatis.SqlMapClientFactoryBean] for bean with name 'sqlMapClient' defined in ServletContext resource [/WEB-INF/spring/applicationContext.xml]; nested exception is java.lang.ClassNotFoundException: com.ideal.framework.ibatis.SqlMapClientFactoryBean


2 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.ideal.framework.ibatis.SqlMapClientFactoryBean] for bean with name 'sqlMapClient' defined in ServletContext resource [/WEB-INF/spring/applicationContext.xml]; nested exception is java.lang.ClassNotFoundException: com.ideal.framework.ibatis.SqlMapClientFactoryBean

代码里没有提示有错误啊!

------解决方案--------------------
java.lang.ClassNotFoundException: com.ideal.framework.ibatis.SqlMapClientFactoryBean
错误明显,是不是有些jar没有加入
------解决方案--------------------
WEB-INF/spring/applicationContext.xml文件配置是不是写错了?他说没有找到sqlMapClient它。你在配置文件里搜一下sqlMapClient看看是不是路径写错了?不行就按二楼说的看看是否有jar包没有引入
  相关解决方案