This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring MVC - HTTP Status 404 error

 
Josh Borg
Ranch Hand
Posts: 37
Chrome Eclipse IDE Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys, I am experimenting some problems trying to do a step-by-step tutorial from a Spring MVC chapter from a Web Development Book,
that's gives me the error: HTTP Status 404 - Servlet Spring MVC Dispatcher Servlet is not available the way why the book says that
may be the configuration and the console error in the end:



web.xml:



spring-context.xml:



OlaMundoController class:



The console error:

Thanks.
 
Carol Enderlin
drifter
Ranch Hand
Posts: 1364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is Servlet /TesteWeb? I don't see that in the code/config that you have included in your post.

SEVERE: Servlet /TesteWeb threw load() exception



Is the commons logging jar included?

java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic