Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NoSuchMethodError: org.apache.struts.action. ActionMapping: method getApplicationConf

 
Sudharsan Govindarajan
Ranch Hand
Posts: 319
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any Idea why do I get this error when I deploy my Struts App in WS 5.0?

And when i refrred the Struts Docs, the Base class of ActionMapping, the org.apache.struts.config.ActionConfig seems to have the getApplicationConfig() method.
The same app when deployed in Tomcat works fine. I'm using struts 1.1 b2.
thanks
Sudharsan
 
David Hibbs
Ranch Hand
Posts: 374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like what happens when you try to use mixed versions of Struts, i.e. your code was compiled and tested with the beta and is running on an app server finding another version of the code, the "official release". I've seen similar errors recently while moving from one platform to another (we're currently migrating from WAS 3.5.x to 4.x and to the newest beta of struts along with it) due to the differences in the two versions.
Check your classpath and make sure you're not picking up multiple versions of struts.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic