java.lang.NoClassDefFoundError

Lorg/apache/commons/collections/map/LRUMap;

Samebug tips8

You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA


rafaelrafael

jsp-api and servlet-api jars must NOT be deployed by your web app. They should be marked as provided but not deployed by your app.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web13911

  • via Unknown by Hendy Irawan,
  • via Unknown by Hendy Irawan,
  • Stack trace

    • java.lang.NoClassDefFoundError: Lorg/apache/commons/collections/map/LRUMap; at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2570) at java.lang.Class.getDeclaredFields(Class.java:1903) at com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:649) at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:356) at com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies(ConstructorBindingImpl.java:151) at com.google.inject.internal.InjectorImpl.getInternalDependencies(InjectorImpl.java:585) at com.google.inject.internal.InjectorImpl.cleanup(InjectorImpl.java:543) at com.google.inject.internal.InjectorImpl.initializeJitBinding(InjectorImpl.java:529) at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:847) at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:772) at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:256) at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:205) at com.google.inject.internal.InjectorImpl.getInternalFactory(InjectorImpl.java:853) at com.google.inject.internal.FactoryProxy.notify(FactoryProxy.java:46) at com.google.inject.internal.ProcessedBindingData.runCreationListeners(ProcessedBindingData.java:50) at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:133) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:106) at com.google.inject.Guice.createInjector(Guice.java:95) at com.google.inject.Guice.createInjector(Guice.java:72) at com.google.inject.Guice.createInjector(Guice.java:62) at org.uqbar.project.wollok.launch.setup.WollokLauncherSetup.createInjector(WollokLauncherSetup.java:36) at org.uqbar.project.wollok.WollokDslStandaloneSetupGenerated.createInjectorAndDoEMFRegistration(WollokDslStandaloneSetupGenerated.java:23) at org.uqbar.project.wollok.launch.WollokChecker.doMain(WollokChecker.java:76) at org.uqbar.project.wollok.launch.WollokLauncher.main(WollokLauncher.java:31) Caused by: java.lang.ClassNotFoundException: org.apache.commons.collections.map.LRUMap at java.net.URLClassLoader$1.run(URLClassLoader.java:372) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:360) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 25 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    davidvanlaatumdavidvanlaatum
    4 times, last one
    guizmaiiguizmaii
    Once,
    andyglickandyglick
    10 times, last one
    tvrmsmithtvrmsmith
    10 times, last one
    HronomHronom
    9 times, last one
    1200 more bugmates