It's not a secret anymore!*
The moose likes Struts and the fly likes Unable to run Struts2 basic application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Unable to run Struts2 basic application" Watch "Unable to run Struts2 basic application" New topic
Author

Unable to run Struts2 basic application

Tarun Oohri
Ranch Hand

Joined: Feb 20, 2013
Posts: 172
Hello Everyone
I am trying to run a basic Struts2 application but the following exception is coming while deploying it. I tried to search it on internet , they say that it is due to some mistake in the .xml file.
I thoroughly checked, nothing is wrong. Actually, i was in the middle of deployment and my laptop ran out of battery, resulting in system turn off. It was deploying fine before this happened. what could be wrong ?


struts.xml

web.xml

Thanks in Advance!!!
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8836
    
    7

It looks like the problem is in Tomcat. Did you look at the server configuration files to see if any were corrupted? You should probably try removing it and installing it again.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Tarun Oohri
Ranch Hand

Joined: Feb 20, 2013
Posts: 172
Thanks Joe for replying .... I guess you are saying right, it has nothing to do with the application. Server itself is not working. I have reinstalled MyEclipse and set the server setting to default and its working fine now...Thanks
 
 
subject: Unable to run Struts2 basic application
 
Similar Threads
content is not allowed in prolog tomcat
tomcat prob
404 error when application is runned on tomcat server.
Can't start Tomcat
Problems installing xalan-j/xerces-j jar files with Tomcat 6