aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Problem running app under Tomcat v7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Problem running app under Tomcat v7" Watch "Problem running app under Tomcat v7" New topic
Author

Problem running app under Tomcat v7

Mike Gibbs
Greenhorn

Joined: Oct 31, 2011
Posts: 11
I tried to run the app on Tomcat in Eclipse but keep getting this error "The requested resource (/Ecommerce/) is not available." - what might be wrong? In the tomcat directory "wtpwebapps" - I don't see any jsp files and I dont why this is. And there is an actual jsp file in the project. I can attach the project if anyone wants to try.

HelloWorldController.java



web.xml


dispatcher-servlet.xml


Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14273
    
  21

Welcome to the Ranch.

Did you look at the Tomcat logfiles? Do you see there that your webapp is being properly deployed, or is there an error message that something went wrong with the deployment of the webapp? Or is there nothing at all about your webapp in the logs, which might mean that Tomcat doesn't find your webapp at all?


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Mike Gibbs
Greenhorn

Joined: Oct 31, 2011
Posts: 11
I managed to get it working this morning, not sure what was wrong but I just created a new app today.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem running app under Tomcat v7