commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <Joerg.Schai...@Elsag-Solutions.com>
Subject RE: [logging] pb using eclipse
Date Wed, 09 Mar 2005 13:40:13 GMT
A Leg wrote on Wednesday, March 09, 2005 12:58 PM:

> Hi Jorg
> 
> My problem is when I take common-logging of from the J2RE/lib/ext in
> my appli I get NoClassDefFoundError even with
> commons-logging.jar passed in
> the command line...
> 
> Andre
> 
> {orion:rcs} java -classpath
> /Master/extern/java/eclipse/plugins/org.eclipse.tomcat_4.1.30/
> commons-logging.jar:$J2RE_LIBRARY/ext/commons-httpclient.jar:$
> J2RE_LIBRARY/jsse.jar:$J2RE_LIBRARY/jce.jar
> -jar Test.jar
> Debut
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/commons/logging/LogFactory
>         at
> org.apache.commons.httpclient.contrib.ssl.EasySSLProtocolSocke
> tFactory.<clinit>(EasySSLProtocolSocketFactory.java:97)
>         at Test.main(Test.java:44)

Again different class loaders. You may not put httpclient into J2RE/lib/ext.

- Jörg

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message