Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Multiple struts applications and NoClassDefFoundError: org/apache/struts/ac  RSS feed

Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I've had a single Struts application running nicely for about 2 months now but last week i deployed a new struts application and i got the following error: java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm

The first project is an .ear containing a .war and the second project is a standalone .war file. Both projects have their own struts.jar in WEB-INF/lib.

I've been googling a bit and has an example but I have none of the problem suggestions in neither of my two projectes.

How is Jboss handling the classpath for struts.jar file?, should the struts file be shared between all struts applications in a shared lib-folder? any ideas?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!