Thanks,
Brooke Hedrick

-----Original Message-----
From: Don Lawton [dglaw...@verizon.net]
Received: Tuesday, 26 Jun 2012, 6:11am
To: Tomcat Users List [users@tomcat.apache.org]
Subject: Re: SEVERE: Servlet threw load() exception 
java.lang.ClassNotFoundException:

Good morning and thank you for you quick response. This problem occurs
while testing within Eclipse - the app is not deployed. The class is listed
in the project tree in the 'Java Resources/src' folder. There is nothing in
the 'Web Content/WEB-INF/lib' folder and there is no 'Web
Content/WEB-INF/classes' folder . Any ideas? Thanks.

Don, can you find the .class files? They might be in a bin or classes folder. 
If eclipse isn't compiling your classes, that would cause the problem.


Don Lawton

-----Original Message-----
From: Brooke Hedrick
Sent: Monday, June 25, 2012 7:27 PM
To: Tomcat Users List
Subject: Re: SEVERE: Servlet threw load() exception
java.lang.ClassNotFoundException:




-Brooke

On Jun 25, 2012, at 5:57 PM, "Don Lawton" <dglaw...@verizon.net> wrote:

> I’m developing a servlet to use as the controller in a MVC web app. Each
> time I start/restart the server, I get a “SEVERE: Servlet threw load()
> exception java.lang.ClassNotFoundException:” error with a stack dump. The
> missing class that is identified is the controller servlet. I put some
> console print statements in the constructor and they indicate no problem.
> The jsp’s that post to the servlet and those that are dispatched from the
> servlet also work as expected. The hits I get from a web search usually
> point to a specific framework jar that is missing (i.e. Struts, Spring,
> etc.) that I can’t adapt to this issue. Here’s the dump:
>

Is the class, org.dgl.HomeFinances.Utilities.Controller.hfController,
included in your app's web-inf/classes or in a jar under web-inf/lib?

Sometimes these callstacks can be pretty long and what you are missing is
further down in the stacktrace.

> Jun 25, 2012 3:56:32 PM org.apache.catalina.core.StandardContext
> loadOnStartup
> SEVERE: Servlet threw load() exception
> java.lang.ClassNotFoundException:
> org.dgl.HomeFinances.Utilities.Controller.hfController
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1711)
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)
> at

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Thanks,
Brooke Hedrick

Reply via email to