/WEB-INF/validator-rules.xml could not be opened during deploy

Solution Unverified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content