File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Spring and the fly likes org.springframework.beans.factory.CannotLoadBeanCl assException: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "org.springframework.beans.factory.CannotLoadBeanCl assException: " Watch "org.springframework.beans.factory.CannotLoadBeanCl assException: " New topic

org.springframework.beans.factory.CannotLoadBeanCl assException:

gopal krishnan

Joined: Dec 17, 2007
Posts: 18
I had created the simple spring MVC controller, when i tried to execute i am getting the error.

Error Message:

org.springframework.beans.factory.CannotLoadBeanCl assException: Cannot find class [] for bean with name 'Redirect.jsp' defined in ServletContext resource [/WEB-INF/springapp-servlet.xml]; nested exception is java.lang.ClassNotFoundException:

This is my application structure.

----Web Pages
----Source Packages





Bill Gorder

Joined: Mar 07, 2010
Posts: 1682

does not match the package on your controller

Your application structure looks a little odd. Have a look at this

[How To Ask Questions][Read before you PM me]
gopal krishnan

Joined: Dec 17, 2007
Posts: 18
Thanks for your email..

i created the webapplication project using the NETBEANS IDE..

when i tried to create the java file, it creates in the source package.. means (src/java).
gopal krishnan

Joined: Dec 17, 2007
Posts: 18
i am closing this, since i got after moving inside the WEB-INF/jsp with redirect.jsp and accessing using the http://localhost:8080/SpringApp/Redirect.htm
I agree. Here's the link:
subject: org.springframework.beans.factory.CannotLoadBeanCl assException:
jQuery in Action, 3rd edition