wood burning stoves*
The moose likes Struts and the fly likes regarding plugins Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "regarding plugins" Watch "regarding plugins" New topic
Author

regarding plugins

rajasri raju
Greenhorn

Joined: May 19, 2006
Posts: 1
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

Joined: Dec 11, 2004
Posts: 13410

rajasri raju,

We have a Struts specific forum on this site.
I think your question would do better there.
Moving..


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: regarding plugins
 
Similar Threads
DynaAction and validation
java.lang.NoSuchMethodError GenericValidator
Why My Validation Lets All Errors Pass Through?
Exception while starting the Weblogic server
Struts validation[Very argent]