java.lang.NoClassDefFoundError: org/apache/mahout/cf/taste/common/TasteException

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

    NETLOGO Extension external jars import issue

    GitHub | 8 months ago | smas1
    java.lang.NoClassDefFoundError: org/apache/mahout/cf/taste/common/TasteException
  2. 0
    samebug tip
    This exception normally means you either have to add the said class to your dependencies or you miswrote it. Look in the documentation of your library how to add it as a dependency.
  3. 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>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    This was caused by a failure to instantiate Kafka broker. Check your dependencies.
  6. 0
    samebug tip
    NoClassDefFoundError means java has failed to find a class you're trying to instantiate, look if you've added the class you're trying to instantiate to the dependencies.
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

    org.apache.mahout.cf.taste.common.TasteException

    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. java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:814)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    4 frames
  3. Unknown
    MahoutRecommenderExtension.load
    1. MahoutRecommenderExtension.load(MahoutRecommenderExtension.java:22)
    1 frame
  4. org.nlogo.workspace
    ExtensionManager.importExtension
    1. org.nlogo.workspace.ExtensionManager.importExtension(ExtensionManager.java:214)
    1 frame
  5. org.nlogo.compiler
    Compiler$.compileProgram
    1. org.nlogo.compiler.StructureParser.parseImport(StructureParser.scala:459)
    2. org.nlogo.compiler.StructureParser.parse(StructureParser.scala:196)
    3. org.nlogo.compiler.CompilerMain$.compile(CompilerMain.scala:25)
    4. org.nlogo.compiler.Compiler$.compileProgram(Compiler.scala:28)
    4 frames
  6. org.nlogo.window
    Event.raise
    1. org.nlogo.window.CompilerManager.compileProcedures(CompilerManager.java:107)
    2. org.nlogo.window.CompilerManager.compileAll(CompilerManager.java:87)
    3. org.nlogo.window.CompilerManager.handle(CompilerManager.java:309)
    4. org.nlogo.window.Events$CompileAllEvent.beHandledBy(Events.java:175)
    5. org.nlogo.window.Event.doRaise(Event.java:198)
    6. org.nlogo.window.Event.raise(Event.java:122)
    6 frames
  7. org.nlogo.app
    ProceduresTab$CompileAction.actionPerformed
    1. org.nlogo.app.ProceduresTab$CompileAction.actionPerformed(ProceduresTab.scala:60)
    1 frame
  8. Java RT
    EventDispatchThread.run
    1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
    2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
    3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
    4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
    5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
    6. java.awt.Component.processMouseEvent(Component.java:6535)
    7. javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
    8. java.awt.Component.processEvent(Component.java:6300)
    9. java.awt.Container.processEvent(Container.java:2236)
    10. java.awt.Component.dispatchEventImpl(Component.java:4891)
    11. java.awt.Container.dispatchEventImpl(Container.java:2294)
    12. java.awt.Component.dispatchEvent(Component.java:4713)
    13. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
    14. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
    15. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
    16. java.awt.Container.dispatchEventImpl(Container.java:2280)
    17. java.awt.Window.dispatchEventImpl(Window.java:2750)
    18. java.awt.Component.dispatchEvent(Component.java:4713)
    19. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    20. java.awt.EventQueue.access$500(EventQueue.java:97)
    21. java.awt.EventQueue$3.run(EventQueue.java:709)
    22. java.awt.EventQueue$3.run(EventQueue.java:703)
    23. java.security.AccessController.doPrivileged(Native Method)
    24. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    25. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
    26. java.awt.EventQueue$4.run(EventQueue.java:731)
    27. java.awt.EventQueue$4.run(EventQueue.java:729)
    28. java.security.AccessController.doPrivileged(Native Method)
    29. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    30. java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    31. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    32. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    33. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    34. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    35. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    36. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    36 frames