File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Spring and the fly likes Spring MVC - HTTP Status 404 error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring MVC - HTTP Status 404 error" Watch "Spring MVC - HTTP Status 404 error" New topic

Spring MVC - HTTP Status 404 error

Josh Borg
Ranch Hand

Joined: Oct 02, 2012
Posts: 35

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:



OlaMundoController class:

The console error:

Carol Enderlin
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
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(
I agree. Here's the link:
subject: Spring MVC - HTTP Status 404 error
It's not a secret anymore!