Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Andreas Toom
Greenhorn
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 http://www.geocities.com/Colosseum/Field/7217/SW/struts/errors.html 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?

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