org.springframework.beans.factory.BeanCreationException

org.springframework.beans.factory.BeanCreationException: 

Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/spring/root-context.xml]: 

Cannot resolve reference to bean 'myInterceptor' while setting bean property 'plugins' with key [0]; nested exception isorg.springframework.beans.factory.CannotLoadBeanClassException: 

Cannot find class [com.extr.util.MyInterceptor] for bean with name 'myInterceptor' defined in ServletContext resource [/WEB-INF/spring/root-context.xml]; 

nested exception is java.lang.ClassNotFoundException: com.extr.util.MyInterceptor


//这个问题是因为.jar出错的原因所致。

解决的办法是:

在eclipse中的Markers窗口可以看到报错的JAR包路径,重新下载就好了。


你可能感兴趣的:(org.springframework.beans.factory.BeanCreationException)