• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

regarding plugins

 
rajasri raju
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all.
I have added the following validator plugin in my struts-config.

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




iam getting the following Exception when i run my application :

[5/19/06 17:50:34:659 IST] 251b251b WebGroup I SRVE0180I: [CTRS-PhaseII]
[/ctrs] [Servlet.LOG]: action: init
[5/19/06 17:50:34:739 IST] 251b251b TilesPlugin I
org.apache.struts.tiles.TilesPlugin Factory already exists for module ''. The factory found is from module ''. No new creation.
[5/19/06 17:50:34:739 IST] 251b251b ValidatorPlug I org.apache.struts.validator.ValidatorPlugIn Loading validation rules file from '/WEB-INF/validator-rules.xml'
[5/19/06 17:50:34:749 IST] 251b251b ValidatorPlug I org.apache.struts.validator.ValidatorPlugIn Loading validation rules file from '/WEB-INF/validation.xml'
[5/19/06 17:50:34:759 IST] 251b251b ActionServlet E org.apache.struts.action.ActionServlet 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.
[5/19/06 17:50:34:769 IST] 251b251b ActionServlet E org.apache.struts.action.ActionServlet TRAS0014I: The following exception was logged java.lang.NoSuchMethodError:
org/apache/commons/validator/ValidatorResources.<init>([Ljava/io/InputStream V
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.NoSuchMethodError.<init>(NoSuchMethodError.java:56)
at......



plz advice.
thanku
rajasri
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
rajasri raju,

We have a Struts specific forum on this site.
I think your question would do better there.
Moving..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic