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 Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring MVC Problem" Watch "Spring MVC Problem" New topic

Spring MVC Problem

Rajith Gamage

Joined: Jun 17, 2010
Posts: 19

I'm new to Spring So I'm develop some Spring MVC application. But I got 404 error. Here is the code.




ref :

When I'm going to run on tomcat server I got the following Exception

What is the wrong with this code ? Please give a help to run this.
Prasad Krishnegowda
Ranch Hand

Joined: Apr 25, 2010
Posts: 659

This exception clearly tells you that, spring can't find the controller class.. Are you sure, your controller class is compiled..
Try rebuilding the application.
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

Just an added note. If you are learning Spring and Spring MVC here, I recommend using the latest version of Spring, which deprecates the Controller interfaces for the better @MVC approach.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Spring MVC Problem
jQuery in Action, 3rd edition