Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

URL mapping not triggering controller

Ranch Hand
Posts: 67
Spring Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am following along in the book Spring in Action trying to build the Spittr application. I created my configuration classes and home controller, but when I call localhost:8080/ I get a 404.

Project layout

(I removed the config that eclipse put in here by default when making a new Spring Web MVC projectbecause it was complaining about multiple context listeners)

I have tried navigating to `http://localhost:8080/Spittr/`, `http://localhost:8080/`, and `http://localhost:8080`. All result in a 404. No exceptions show up in the Java console though, so it's like its not even registering the request.

This is a part of what the console prints when I run my application

What do I need to do to get my application running? Thanks!

We're being followed by intergalactic spies! Quick! Take this tiny ad!
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
    Bookmark Topic Watch Topic
  • New Topic