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

  1. ,
    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.

  2. ,

    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 com.intellij.util.InstanceofCheckerGenerator.<clinit>(InstanceofCheckerGenerator.java:37) at com.intellij.patterns.ObjectPattern$1.<init>(ObjectPattern.java:43) at com.intellij.patterns.ObjectPattern.<init>(ObjectPattern.java:42) at com.intellij.patterns.TreeElementPattern.<init>(TreeElementPattern.java:37) at com.intellij.patterns.PsiElementPattern.<init>(PsiElementPattern.java:42) at com.intellij.patterns.PsiElementPattern$Capture.<init>(PsiElementPattern.java:358) at com.intellij.patterns.PlatformPatterns.psiElement(PlatformPatterns.java:62) at org.intellij.grammar.psi.impl.BnfStringRefContributor.registerReferenceProviders(BnfStringRefContributor.java:48) at org.intellij.grammar.psi.impl.BnfStringImpl.<clinit>(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 com.intellij.psi.impl.PsiElementBase.findChildByClass(PsiElementBase.java:301) 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 com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:38) 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.<init>(GenOptions.java:49) at org.intellij.grammar.generator.ParserGenerator.<init>(ParserGenerator.java:107) at org.intellij.grammar.Main.main(Main.java:77)Caused by: java.lang.ClassNotFoundException: 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) ... 33 more