File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Deploying a War file in Jboss7

lavanya challa

Joined: Mar 27, 2014
Posts: 1
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 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.
I agree. Here's the link:
subject: Deploying a War file in Jboss7
It's not a secret anymore!