/WEB-INF/validator-rules.xml could not be opened during deploy
Issue
When deploying struts application with ValidatorPlugin the following exception is thrown.
ERROR [org.apache.struts.validator.ValidatorPlugIn] Skipping validation rules file from '/WEB-INF/validator-rules.xml'. No stream could be opened.
Other similar exception can be thrown, but the meaning of the exception (/WEB-INF/validator-rules.xml cannot be found or read) remains the same.
Environment
- JBoss Enterprise Application Platform (EAP)
- 6.0
- Apache Struts
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
