This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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/
 
Don't get me started about those stupid light bulbs.
 
subject: Deploying a War file in Jboss7
 
Similar Threads
Deploy WAR file via JBoss Tools in Eclipse Juno.
Error: ERROR initServletBean, Context initialization failed
Deployment error NoClassDefFoundError: org.hibernate.cfg.Configuration on Oracle 11g App Server
Jboss 7.0.1 Final Zap Server Deployment Problem
Error creating bean with name 'xxx':