Results 1 to 1 of 1
- 03-17-2010, 12:21 PM #1
Member
- Join Date
- Dec 2009
- Posts
- 9
- Rep Power
- 0
ClassNotFoundException in a simple spring application
Hello,
I am trying to write a very small web-application using spring framework (MVC). I am using tomcat and eclipse.
When i run the application i get the following error:
Caused by: java.lang.ClassNotFoundException: controller.WelcomeController
But in fact WelcomeController.java exists under controller package, and also i can see that the class file WelcomeController.class exists under WEB-INF/classes/controller/ directory.
What might be the reason of the problem?
As far as i know eclipse is dealing with the classpath by itself, how can i check the classpath used by eclipse?
Thanks in advance.
Similar Threads
-
Java Application Architecture for Struts, Spring and Hibernate
By stujava in forum Advanced JavaReplies: 0Last Post: 08-20-2009, 07:39 AM -
New simple application using a simple database
By webbusiness23 in forum New To JavaReplies: 9Last Post: 08-03-2009, 02:55 AM -
how to create my first spring application using eclips
By gayantha in forum Spring FrameworkReplies: 0Last Post: 12-31-2008, 05:38 AM -
Sample Spring Application
By Java Tip in forum Java TipReplies: 0Last Post: 03-29-2008, 12:41 PM -
A Sample spring Application
By JavaBean in forum Java TipReplies: 0Last Post: 09-26-2007, 08:32 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks