java.lang.NoClassDefFoundError: org/objectweb/asm/ClassVisitor

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Java.net JIRA by sarxos, 1 year ago
org/objectweb/asm/ClassVisitor
via hadoop-yarn-dev by Apache Jenkins Server, 1 year ago
org/apache/hadoop/security/UserGroupInformation
via hadoop-mapreduce-dev by Apache Jenkins Server, 1 year ago
via hadoop-yarn-dev by Apache Jenkins Server, 1 year ago
org/apache/hadoop/service/ServiceStateException
via hadoop-yarn-dev by Apache Jenkins Server, 1 year ago
org/apache/hadoop/service/ServiceStateException
java.lang.NoClassDefFoundError: org/objectweb/asm/ClassVisitor
at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.glassfish.jersey.server.ResourceConfig.scanClasses(ResourceConfig.java:885)
at org.glassfish.jersey.server.ResourceConfig._getClasses(ResourceConfig.java:849)
at org.glassfish.jersey.server.ResourceConfig.getClasses(ResourceConfig.java:755)
at org.glassfish.jersey.server.ResourceConfig$RuntimeConfig.(ResourceConfig.java:1181)
at org.glassfish.jersey.server.ResourceConfig$RuntimeConfig.(ResourceConfig.java:1154)
at org.glassfish.jersey.server.ResourceConfig.createRuntimeConfig(ResourceConfig.java:1150)
at org.glassfish.jersey.server.ApplicationHandler.(ApplicationHandler.java:318)
at org.glassfish.jersey.server.ApplicationHandler.(ApplicationHandler.java:273)
at org.glassfish.jersey.jdkhttp.JdkHttpHandlerContainer.(JdkHttpHandlerContainer.java:98)
at org.glassfish.jersey.jdkhttp.JdkHttpServerFactory.createHttpServer(JdkHttpServerFactory.java:104)
at org.glassfish.jersey.jdkhttp.JdkHttpServerFactory.createHttpServer(JdkHttpServerFactory.java:85)
at org.glassfish.jersey.jdkhttp.AbstractJdkHttpServerTester.startServer(AbstractJdkHttpServerTester.java:113)
at org.glassfish.jersey.jdkhttp.LifecycleListenerTest.testStartupShutdownHooks(LifecycleListenerTest.java:146)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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