Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploying a War file in Jboss7

 
lavanya challa
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 426
Eclipse IDE Fedora Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic