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 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 Murach's Java Servlets and JSP this week in the Servlets 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
 
wood burning stoves
 
subject: can't find digester method
 
Similar Threads
Unable to initialize Struts ActionServlet
hibernate-annotations error
Error accessing application in Tomcat 5
problem deploying my application with weblogic after adding a new form bean
resource problem when deploying on weblogic