Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Josep M Serrainat
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic