java.lang.NoClassDefFoundError: com/puppycrawl/tools/checkstyle/api/CheckstyleException

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

,

you can change your scala version to 2.11.11

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

Solutions on the web

via Stack Overflow by SirArt
, 10 months ago
com/puppycrawl/tools/checkstyle/api/CheckstyleException
java.lang.NoClassDefFoundError: com/puppycrawl/tools/checkstyle/api/CheckstyleException
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at ch.ntb.sir.ntbbluejextension.NtbBlueJExtension.startup(NtbBlueJExtension.java:79)
at bluej.extmgr.ExtensionWrapper.safeStartup(ExtensionWrapper.java:533)
at bluej.extmgr.ExtensionWrapper.newExtension(ExtensionWrapper.java:209)
at bluej.extmgr.ExtensionsManager.loadDirectoryExtensions(ExtensionsManager.java:164)
at bluej.extmgr.ExtensionsManager.loadExtensions(ExtensionsManager.java:100)
at bluej.extmgr.ExtensionsManager.getInstance(ExtensionsManager.java:61)
at bluej.Main.(Main.java:101)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at java.lang.Class.newInstance(Class.java:442)
at bluej.Boot.bootBluej(Boot.java:348)
at bluej.Boot.main(Boot.java:175)

Users with the same issue

Once, 4 months ago
22 times, 1 week ago
Once, 2 months ago
6 times, 3 months ago
Samebug visitor profile picture
Unknown user
2 times, 3 months ago

Write tip

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