aspose file tools*
The moose likes Struts and the fly likes can't find digester method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "can Watch "can New topic
Author

can't find digester method

Katie Doody
Ranch Hand

Joined: Nov 03, 2006
Posts: 90
Hi all, I am using struts 1.3.8 in netbeans and common-digester 1.8. I have the digester in the class path but I am getting this error.

Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown, so marking the servlet as unavailable. Most likely, this is due to an incorrect or missing library dependency.
java.lang.NoSuchMethodError: org.apache.commons.digester.Digester.parse(Ljava/net/URL Ljava/lang/Object;
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:740)
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
I'd suggest you check to see if there is another version of the digester somewhere in your Application Server's classpath. In particular, check common shared directories in the classpath. If you find it, remeove it, as it could be causing this problem.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can't find digester method
 
Similar Threads
Error accessing application in Tomcat 5
resource problem when deploying on weblogic
problem deploying my application with weblogic after adding a new form bean
Unable to initialize Struts ActionServlet
hibernate-annotations error