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

  1. ,
    Expert tip

    Look if your classpath is correct, and check if the versions of your libraries match the version you described in your pom.xml

Solutions on the web

via mkyong.com by Unknown author, 1 year ago
via Google Groups by phil swenson, 2 years ago
via liferay.com by Unknown author, 2 years ago
via GitHub by kungfoo
, 2 years ago
org/scalatest/Matchers
via Eclipse Bugzilla by sppatel2, 1 year ago
org/osgi/service/url/URLStreamHandlerService
via Oracle Community by 807601, 3 months ago
HelloWorld (wrong name: org/HelloWorld)
java.lang.NoClassDefFoundError: org/objectweb/asm/FieldVisitor	at java.lang.ClassLoader.defineClass1(Native Method)	at java.lang.ClassLoader.defineClass(ClassLoader.java:620)	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)	at org.glassfish.web.loader.WebappClassLoader.findClass(WebappClassLoader.java:927)	at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1476)	at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1359)	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)	at java.lang.ClassLoader.defineClass1(Native Method)	at java.lang.ClassLoader.defineClass(ClassLoader.java:620)	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)	at org.glassfish.web.loader.WebappClassLoader.findClass(WebappClassLoader.java:927)	at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1476)	at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1359)	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)	at com.opensymphony.xwork2.util.finder.ClassFinder.readClassDef(ClassFinder.java:782)	at com.opensymphony.xwork2.util.finder.ClassFinder.(ClassFinder.java:165)	at org.apache.struts2.convention.PackageBasedActionConfigBuilder.findActions(PackageBasedActionConfigBuilder.java:386)	at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:344)	at org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:53)	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:245)	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)	at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390)	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:437)	at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:193)	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:264)	at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:120)