[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - JBoss 5 RC1 and Struts 2 : Simple validation error (URI sche
do-not-reply at jboss.com
Sun Sep 7 00:00:48 EDT 2008
I am using JBoss RC 1 and Struts 2 and I am facing a problem when trying to use an XML validation file.
The error message i get is :
java.lang.IllegalArgumentException: URI scheme is not "file"
at java.io.File.(Unknown Source)
It looks like it is not happy with the XML validation file.
Here is the content of that file :
<?xml version="1.0" encoding="UTF-8"?>
| <!DOCTYPE validators PUBLIC
| "-//OpenSymphony Group//XWork Validator 1.0.2//EN"
| <field name="name">
| <field-validator type="requiredstring">
| <message>You must enter a name</message>
I made some research and found out that someone already had the same error :
My code looks almost exactly like his.
He "solved" the problem by switching back to JBoss 4.0.5 which is not a convenient solution for me
since i want to stick with JBoss 5.
Can anyone help me here ? Is there a problem with Struts 2 for JBoss 5 ?
I would appreciate any help you can provide.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174792#4174792
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174792
More information about the jboss-user