Thanks for the reply Peter

I have reviewed the tomcat class loader doc
http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html
b
And it appears I am adhering to the rules but Ive also reviewed this page

http://marc.info/?l=tomcat-user&m=103843452413727&w=2

and its possible that this snippet could be the issue

* If a class itself cannot be found, you will usually get a
  ClassNotFoundException.  You're getting a NoClassDefFoundError
  exception instead, which means that your class was found,
  but one of the classes *it* depends on (i.e. imports)
  can not be found.  Double check that the classes your Syslog
  class depends on are available.


Question what is Syslog?  As per the stack trace it says NoClassDefFoundError, 
but why does it not specify the exact missing dependency?? And how can I find 
it?

Regards
Mike

-----Original Message-----
From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On 
Behalf Of Peter Crowther
Sent: Wednesday, March 17, 2010 11:33 AM
To: Tomcat Users List
Subject: Re: Tomcat-Spring-Eclipse/Flex Classpath Issue

On 17 March 2010 14:50, Goldberg, Michael1 <michael1.goldb...@citi.com>wrote:

> Hello
>
> I am using Tomcat version 6.0.x, Spring 2.5 in eclipse 3.4.2.  Trying to
> configure a tomcat webserver which hosts the backend for a flex web app.
>
> Now on startup tomcat is having an issue resolving some spring dependancies
> which appears to be a classpath issue.  As far as I can tell the classpath
> is set correctly.


How are you testing this?


> What can be the issue?
>
> Usually, the issue is relying on the class path rather than including *all*
the jars you need with the webapp.  Webapps are intended to be
self-contained, and servlet containers such as Tomcat can modify the
classpath, use their own classloaders that load classes in a well-defined
order that is not what a Java developer expects, and other oddities.

- Peter

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

Reply via email to