• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem running app under Tomcat v7

 
Mike Gibbs
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 15758
74
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Mike Gibbs
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I managed to get it working this morning, not sure what was wrong but I just created a new app today.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!