• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Problem running app under Tomcat v7

 
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


 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • 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.
 
Doody calls. I would really rather that it didn't. Comfort me wise and sterile tiny ad:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!