java.lang.NoClassDefFoundError: org/objectweb/asm/util/CheckClassAdapter


Samebug tips6

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


,
via askubuntu.com by Unknown author

Needs to add netty-transport-native-epoll with a OS classifier to the classpath, it's not included in netty-all


,
via netty.io by Unknown author

Solutions on the web2357

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

Solution icon of github
org/objectweb/asm/ClassVisitor

Solution icon of github
org/objectweb/asm/ClassVisitor

Solution icon of github
org/objectweb/asm/Opcodes

Solution icon of web
org/objectweb/asm/MethodVisitor

Solution icon of web
org/objectweb/asm/Opcodes

Solution icon of web
org/objectweb/asm/Opcodes

Solution icon of web
org/objectweb/asm/ClassAdapter

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 month ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
1622 more bugmates