Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring MVC question

 
John Eric Hamacher
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Spring 3.0.5
Tomcat 7.0.12


Hello:

I am new to Spring MVC and having trouble. When I enter the URL "http://localhost:8080/FantasyPro/"
I get a 404 and the following message appears in my console:

WARNING: No mapping found for HTTP request with URI [/FantasyPro/] in DispatcherServlet with name 'fantasypro'

I am trying to get to /index.html.
Here is my controller:




Here is my web.xml:



Here is my context file (fantasypro-servlet.xml):



This is driving me nuts. Can anybody see a problem?

Thanks,
Eric
 
John Eric Hamacher
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anybody?
 
Gaurav Sandil
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi John,

I am experiencing the same problem. If you got the solution then do tell me.

Thanks in advance.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gaurav Sandil wrote:Hi John,

I am experiencing the same problem. If you got the solution then do tell me.

Thanks in advance.


This thread is a bit old. So the OP might not be around.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic