java.lang.NoClassDefFoundError

org/apache/struts/action/Action


Samebug tips1

This means you're missing a class that Java needs for this program. Check if you're not missing the jsr305-1.3.7.jar from your classpath, it's the jar that contains the class javax.annotation.Nullable.

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


Solutions on the web19414

Solution icon of apache
via struts-user by Johannes Geppert, 10 months ago
org/apache/struts/action/Action

Solution icon of apache
via struts-user by Lukasz Lenart, 10 months ago
org/apache/struts/action/Action

Solution icon of oraclecommunity
via Oracle Community by 464080, 1 year ago
org/apache/struts/action/Action

Solution icon of web
via gmane.org by Unknown author, 1 year ago
org/apache/struts/action/Action

Solution icon of coderanch
via Coderanch by Liz Brown, 8 months ago
org/apache/struts/action/Action

Solution icon of apache
via struts-user by Thim Anneessens, 10 months ago
org/apache/struts/action/Action

Solution icon of apache
via struts-user by Lukasz Lenart, 10 months ago
org/apache/struts/action/Action

Solution icon of apache
via struts-user by Thim Anneessens, 10 months ago
org/apache/struts/action/Action

Solution icon of oraclecommunity
via Oracle Community by 807541, 1 year ago
org/apache/struts/action/Action

Solution icon of stackoverflow
org/apache/struts/action/Action

Stack trace

  • java.lang.NoClassDefFoundError: org/apache/struts/action/Action at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:791) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2957) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) at com.opensymphony.xwork2.util.finder.ClassLoaderInterfaceDelegate.loadClass(ClassLoaderInterfaceDelegate.java:34) at com.opensymphony.xwork2.util.finder.ClassFinder$ClassInfo.get(ClassFinder.java:563) at com.opensymphony.xwork2.util.finder.ClassFinder.findClasses(ClassFinder.java:344) at org.apache.struts2.convention.PackageBasedActionConfigBuilder.findActions(PackageBasedActionConfigBuilder.java:393) at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:347) Caused by: java.lang.ClassNotFoundException: org.apache.struts.action.Action at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) ... 12 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, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
446 more bugmates