java.lang.NoClassDefFoundError

org/objectweb/asm/util/CheckClassAdapter


Samebug tips5

Set the path for java. Try to look it from here.

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.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web20832

Solution icon of github
via GitHub by marevol
, 6 months ago
org/objectweb/asm/util/CheckClassAdapter

Solution icon of coderanch
via Coderanch by Mark Nuttall-Smith, 8 months ago
org/objectweb/asm/Type

Solution icon of github
org/objectweb/asm/ClassVisitor

Solution icon of github
org/objectweb/asm/ClassVisitor

Solution icon of googlegroups
via Google Groups by logarith, 3 months ago
org/objectweb/asm/ ClassVisitor

Solution icon of googlegroups
via Google Groups by deacent, 1 year ago
org/ objectweb/asm/Type

Solution icon of googlegroups
org/objectweb/asm/ClassVisitor

Solution icon of googlegroups
via Google Groups by Rakesh Patel, 1 month ago
org/objectweb/asm/Opcodes

Solution icon of java
via Java.net JIRA by gazmoo, 11 months ago
org/objectweb/asm/ClassVisitor

Solution icon of java
via Java.net JIRA by sarxos, 11 months ago
org/objectweb/asm/ClassVisitor

Stack trace

  • java.lang.NoClassDefFoundError: org/objectweb/asm/util/CheckClassAdapter at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) 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 org.elasticsearch.painless.antlr.Walker.visitSource(Walker.java:259) at org.elasticsearch.painless.antlr.Walker.visitSource(Walker.java:173) at org.elasticsearch.painless.antlr.PainlessParser$SourceContext.accept(PainlessParser.java:142) at org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visit(AbstractParseTreeVisitor.java:42) at org.elasticsearch.painless.antlr.Walker.<init>(Walker.java:195) at org.elasticsearch.painless.antlr.Walker.buildPainlessTree(Walker.java:176) at org.elasticsearch.painless.Compiler.compile(Compiler.java:102) at org.elasticsearch.painless.PainlessScriptEngineService$2.run(PainlessScriptEngineService.java:171) at org.elasticsearch.painless.PainlessScriptEngineService$2.run(PainlessScriptEngineService.java:168) at java.security.AccessController.doPrivileged(Native Method) at org.elasticsearch.painless.PainlessScriptEngineService.compile(PainlessScriptEngineService.java:168) at org.elasticsearch.script.ScriptService.compileInternal(ScriptService.java:335) at org.elasticsearch.script.ScriptService.compile(ScriptService.java:231) at org.elasticsearch.script.ScriptService.executable(ScriptService.java:472) at org.elasticsearch.action.update.UpdateHelper.executeScript(UpdateHelper.java:254) at org.elasticsearch.action.update.UpdateHelper.prepare(UpdateHelper.java:200) at org.elasticsearch.action.update.UpdateHelper.prepare(UpdateHelper.java:81) at org.elasticsearch.action.update.TransportUpdateAction.shardOperation(TransportUpdateAction.java:179) at org.elasticsearch.action.update.TransportUpdateAction.shardOperation(TransportUpdateAction.java:172) at org.elasticsearch.action.update.TransportUpdateAction.shardOperation(TransportUpdateAction.java:69) at org.elasticsearch.action.support.single.instance.TransportInstanceSingleOperationAction$ShardTransportHandler.messageReceived(TransportInstanceSingleOperationAction.java:247) at org.elasticsearch.action.support.single.instance.TransportInstanceSingleOperationAction$ShardTransportHandler.messageReceived(TransportInstanceSingleOperationAction.java:243) at org.elasticsearch.transport.TransportRequestHandler.messageReceived(TransportRequestHandler.java:33) at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:69) at org.elasticsearch.transport.TransportService$6.doRun(TransportService.java:577) at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:527) at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: org.objectweb.asm.util.CheckClassAdapter 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) ... 42 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 day ago
Once, 5 days ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
1596 more bugmates