java.lang.NoClassDefFoundError: net/sf/cglib/core/ClassGenerator

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

A few things cause this exception:
1) Check if you have all jars and if they're in the correct path.
2) Your classpath might be broken, you can define it in the command line with java -cp yourClassPath or at your IDE if you're using one.

,

you can change your scala version to 2.11.11

Solutions on the web

via GitHub by paxxux
, 1 year ago
net/sf/cglib/core/ClassGenerator
java.lang.NoClassDefFoundError: net/sf/cglib/core/ClassGenerator
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.intellij.util.InstanceofCheckerGenerator.(InstanceofCheckerGenerator.java:37)
at com.intellij.patterns.ObjectPattern$1.(ObjectPattern.java:43)
at com.intellij.patterns.ObjectPattern.(ObjectPattern.java:42)
at com.intellij.patterns.TreeElementPattern.(TreeElementPattern.java:37)
at com.intellij.patterns.PsiElementPattern.(PsiElementPattern.java:42)
at com.intellij.patterns.PsiElementPattern$Capture.(PsiElementPattern.java:358)
at org.intellij.grammar.psi.impl.BnfStringRefContributor.registerReferenceProviders(BnfStringRefContributor.java:48)
at org.intellij.grammar.psi.impl.BnfStringImpl.(BnfStringImpl.java:51)
at org.intellij.grammar.psi.BnfTypes$Factory.createElement(BnfTypes.java:127)
at org.intellij.grammar.BnfParserDefinition.createElement(BnfParserDefinition.java:87)
at com.intellij.psi.impl.source.tree.CompositeElement.createPsiNoLock(CompositeElement.java:818)
at com.intellij.psi.impl.source.tree.CompositeElement.getPsi(CompositeElement.java:790)
at com.intellij.psi.impl.source.SourceTreeToPsiMap.treeElementToPsi(SourceTreeToPsiMap.java:30)
at com.intellij.psi.impl.source.tree.SharedImplUtil.getNextSibling(SharedImplUtil.java:61)
at com.intellij.psi.impl.source.tree.LeafPsiElement.getNextSibling(LeafPsiElement.java:82)
at org.intellij.grammar.psi.impl.BnfListEntryImpl.getLiteralExpression(BnfListEntryImpl.java:57)
at org.intellij.grammar.generator.ParserGeneratorUtil.getAttributeValue(ParserGeneratorUtil.java:141)
at org.intellij.grammar.psi.impl.BnfFileImpl.calcAttributeValues(BnfFileImpl.java:180)
at org.intellij.grammar.psi.impl.BnfFileImpl.access$200(BnfFileImpl.java:47)
at org.intellij.grammar.psi.impl.BnfFileImpl$3.compute(BnfFileImpl.java:70)
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:49)
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:222)
at com.intellij.psi.impl.PsiCachedValue.getValueWithLock(PsiCachedValue.java:65)
at org.intellij.grammar.psi.impl.BnfFileImpl.findAttributeInfo(BnfFileImpl.java:109)
at org.intellij.grammar.psi.impl.BnfFileImpl.findAttributeValue(BnfFileImpl.java:102)
at org.intellij.grammar.generator.ParserGeneratorUtil.getRootAttribute(ParserGeneratorUtil.java:112)
at org.intellij.grammar.generator.ParserGeneratorUtil.getRootAttribute(ParserGeneratorUtil.java:108)
at org.intellij.grammar.generator.GenOptions.(GenOptions.java:49)
at org.intellij.grammar.generator.ParserGenerator.(ParserGenerator.java:107)
at org.intellij.grammar.Main.main(Main.java:77)

Users with the same issue

Once, 18 hours ago
Once, 2 days ago
27 times, 6 days ago
2 times, 1 week ago
Once, 1 week ago
2512 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.