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

GitHub | paxxux | 7 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd , Rafael Fischer Viola and rafael . Or join the community to write better ones.
  1. 0

    Standalone (1.4.2) is not working

    GitHub | 7 months ago | paxxux
    java.lang.NoClassDefFoundError: net/sf/cglib/core/ClassGenerator
  2. 0
    samebug tip
    A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 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.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0
    samebug tip
    If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add with the following: <groupId>com.fasterxml</groupId> <artifactId>classmate</artifactId> <version>1.0</version>
  5. 0
    samebug tip
    Check if you didn't forget to instantiate your topic in the kafka broker.

  1. batwalrus76 1 times, last 3 weeks ago
  2. osvzs 16 times, last 3 weeks ago
  3. stigkj 1 times, last 3 weeks ago
  4. Axelo 1 times, last 3 weeks ago
  5. odd 1 times, last 3 weeks ago
75 more registered users
20 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    net.sf.cglib.core.ClassGenerator

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    3. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    4 frames
  3. IDEA
    InstanceofCheckerGenerator.<clinit>
    1. com.intellij.util.InstanceofCheckerGenerator.<clinit>(InstanceofCheckerGenerator.java:37)
    1 frame
  4. DSL
    PlatformPatterns.psiElement
    1. com.intellij.patterns.ObjectPattern$1.<init>(ObjectPattern.java:43)
    2. com.intellij.patterns.ObjectPattern.<init>(ObjectPattern.java:42)
    3. com.intellij.patterns.TreeElementPattern.<init>(TreeElementPattern.java:37)
    4. com.intellij.patterns.PsiElementPattern.<init>(PsiElementPattern.java:42)
    5. com.intellij.patterns.PsiElementPattern$Capture.<init>(PsiElementPattern.java:358)
    6. com.intellij.patterns.PlatformPatterns.psiElement(PlatformPatterns.java:62)
    6 frames
  5. org.intellij.grammar
    BnfParserDefinition.createElement
    1. org.intellij.grammar.psi.impl.BnfStringRefContributor.registerReferenceProviders(BnfStringRefContributor.java:48)
    2. org.intellij.grammar.psi.impl.BnfStringImpl.<clinit>(BnfStringImpl.java:51)
    3. org.intellij.grammar.psi.BnfTypes$Factory.createElement(BnfTypes.java:127)
    4. org.intellij.grammar.BnfParserDefinition.createElement(BnfParserDefinition.java:87)
    4 frames
  6. IDEA
    PsiElementBase.findChildByClass
    1. com.intellij.psi.impl.source.tree.CompositeElement.createPsiNoLock(CompositeElement.java:818)
    2. com.intellij.psi.impl.source.tree.CompositeElement.getPsi(CompositeElement.java:790)
    3. com.intellij.psi.impl.source.SourceTreeToPsiMap.treeElementToPsi(SourceTreeToPsiMap.java:30)
    4. com.intellij.psi.impl.source.tree.SharedImplUtil.getNextSibling(SharedImplUtil.java:61)
    5. com.intellij.psi.impl.source.tree.LeafPsiElement.getNextSibling(LeafPsiElement.java:82)
    6. com.intellij.psi.impl.PsiElementBase.findChildByClass(PsiElementBase.java:301)
    6 frames
  7. org.intellij.grammar
    BnfFileImpl$3.compute
    1. org.intellij.grammar.psi.impl.BnfListEntryImpl.getLiteralExpression(BnfListEntryImpl.java:57)
    2. org.intellij.grammar.generator.ParserGeneratorUtil.getAttributeValue(ParserGeneratorUtil.java:141)
    3. org.intellij.grammar.psi.impl.BnfFileImpl.calcAttributeValues(BnfFileImpl.java:180)
    4. org.intellij.grammar.psi.impl.BnfFileImpl.access$200(BnfFileImpl.java:47)
    5. org.intellij.grammar.psi.impl.BnfFileImpl$3.compute(BnfFileImpl.java:70)
    5 frames
  8. IDEA
    PsiCachedValueImpl.getValue
    1. com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:49)
    2. com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:222)
    3. com.intellij.psi.impl.PsiCachedValue.getValueWithLock(PsiCachedValue.java:65)
    4. com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:38)
    4 frames
  9. org.intellij.grammar
    Main.main
    1. org.intellij.grammar.psi.impl.BnfFileImpl.findAttributeInfo(BnfFileImpl.java:109)
    2. org.intellij.grammar.psi.impl.BnfFileImpl.findAttributeValue(BnfFileImpl.java:102)
    3. org.intellij.grammar.generator.ParserGeneratorUtil.getRootAttribute(ParserGeneratorUtil.java:112)
    4. org.intellij.grammar.generator.ParserGeneratorUtil.getRootAttribute(ParserGeneratorUtil.java:108)
    5. org.intellij.grammar.generator.GenOptions.<init>(GenOptions.java:49)
    6. org.intellij.grammar.generator.ParserGenerator.<init>(ParserGenerator.java:107)
    7. org.intellij.grammar.Main.main(Main.java:77)
    7 frames