Hi,

I've read the upgrade notes on the Wiki and have followed all the
instructions, including updating the validation.xml file.

When run with the 1.2.4 version of Struts it runs run but now I have
upgraded I always get a message saying the servlet is unavailable when
trying to view a page.  The error occurs in ActionServlet.java:364 and
dumps to following message to the log file:

java.lang.NoSuchMethodError:
org.apache.commons.validator.ValidatorResources.<init>([Ljava/io/InputStream;)V
at 
org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:237)
at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:162)
....

This error always occurs after it tries to load the validation.xml
file, and yet when I remove references to the Struts Validator from
the Struts-Config file it all works fine:

  <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
    <set-property property="pathnames"
value="/WEB-INF/resources/xml/validator-rules.xml,/WEB-INF/resources/xml/validation.xml"
/>
  </plug-in>


Anyone got any ideas?!

Cheers :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to