File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes Deploying a War file in Jboss7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Deploying a War file in Jboss7" Watch "Deploying a War file in Jboss7" New topic
Author

Deploying a War file in Jboss7

lavanya challa
Greenhorn

Joined: Mar 27, 2014
Posts: 1
Hi,
I am new to Jboss. I have deployed a war file in jboss7.When i am trying to run the application,it is unable to recognize spring-servlet.xml which is in web-inf folder.It is throwing an exception
"nested exception is java.io.FileNotFoundException: class path resource [../spring-servlet.xml] cannot be opened because it does not exist".Please help...
Roger Sterling
Ranch Hand

Joined: Apr 06, 2012
Posts: 426

You need to change spring-servlet.xml to <yourappname>-servlet.xml .

These step-by-steps may help you.

https://spring.io/guides/gs/convert-jar-to-war/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deploying a War file in Jboss7