This week's book / license giveaways are in the JDBC and Relational Databases and Java in General forums.
We're giving away four copies each of PostGIS in Action and Java Advanced Topics Training and have the authors on-line!
See this thread and this one for details.
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
I agree. Here's the link:
subject: can't find digester method