This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Unable to load file:.../target/apphoio/WEB-INF/classes/struts.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Unable to load file:.../target/apphoio/WEB-INF/classes/struts.xml" Watch "Unable to load file:.../target/apphoio/WEB-INF/classes/struts.xml" New topic
Author

Unable to load file:.../target/apphoio/WEB-INF/classes/struts.xml

Josep M Serrainat
Greenhorn

Joined: Sep 14, 2010
Posts: 16
Hi, when i run mvn tomcat:run-war get the error:

my struts.xml file are:

Any idea?. Thaks for all.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Welcome to JavaRanch!

Please UseCodeTags when posting code or configuration. Unformatted code and configuration is unnecessarily difficult to read. You can edit your post by using the button.

The error message pretty much sums it up: match the DTD.
Josep M Serrainat
Greenhorn

Joined: Sep 14, 2010
Posts: 16
.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Your pom file is irrelevant: your config file does not match the DTD, exactly like the error message states. (Did someone ask for the pom file and delete their message?)
 
 
subject: Unable to load file:.../target/apphoio/WEB-INF/classes/struts.xml
 
Similar Threads
Newbie HelloWorld Struts.xml problem
Download file issue
struts2 + interceptor
Dispatcher initialization failed + Struts 2.1.8
interceptor problem in struts2