• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem running app under Tomcat v7

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic