java.lang.NoClassDefFoundError:org / springframework / security / providers / dao / cache / EhCacheBasedUserCache

时间:2016-11-16 09:00:25

标签: java spring jar ehcache noclassdeffounderror

Caused by: java.lang.NoClassDefFoundError: org/springframework/security/providers/dao/cache/EhCacheBasedUserCache
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2558)
    at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:859)
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1302)
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167)
    at org.springframework.util.ClassUtils.forName(ClassUtils.java:250)
    at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:394)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1402)
    at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1349)
    ... 35 more

我在更新一些像

这样的广告时遇到此错误

删除

  • 弹簧2.5.6.jar

  • 弹簧AOP-4.3.0.RELEASE.jar
  • 弹簧豆-4.3.0.RELEASE.jar
  • 弹簧上下文4.3.0.RELEASE.jar
  • 弹簧上下文支持-4.3.0.RELEASE.jar
  • 弹簧芯4.3.0.RELEASE.jar
  • 弹簧表达-4.3.0.RELEASE.jar
  • 弹簧JDBC-4.3.0.RELEASE.jar
  • 弹簧ORM-4.3.0.RELEASE.jar
  • 弹簧OXM-4.3.0.RELEASE.jar
  • 弹簧-TX-4.3.0.RELEASE.jar
  • 弹簧网络4.3.0.RELEASE.jar
  • 弹簧安全-CONFIG-4.2.0.RELEASE.jar
  • 弹簧安全核心4.2.0.RELEASE.jar
  • 弹簧安全web的4.2.0.RELEASE.jar

0 个答案:

没有答案