File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes NoSuchMethodError: org.apache.struts.action. ActionMapping: method getApplicationConf Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "NoSuchMethodError: org.apache.struts.action. ActionMapping: method getApplicationConf" Watch "NoSuchMethodError: org.apache.struts.action. ActionMapping: method getApplicationConf" New topic
Author

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

Sudharsan Govindarajan
Ranch Hand

Joined: Jul 03, 2002
Posts: 319
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

Joined: Dec 19, 2002
Posts: 374
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.


"Write beautiful code; then profile that beautiful code and make little bits of it uglier but faster." --The JavaPerformanceTuning.com team, Newsletter 039.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NoSuchMethodError: org.apache.struts.action. ActionMapping: method getApplicationConf