File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "can Watch "can New topic

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(
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.

Consultant, Sima Solutions
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
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