• Post Reply Bookmark Topic Watch Topic
  • New Topic

URL mapping not triggering controller  RSS feed

Ranch Hand
Posts: 67
Java Linux Spring
  • Mark post as helpful
  • send pies
  • 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!

That's a very big dog. I think I want to go home now and hug this tiny ad:
Rocket Oven Kickstarter - from the trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!