Hi Jorg
I try httpclient in another place and I get a problem too. I don't understand and worse I don't find any solution.
Thank's for your help.
Andre
{orion:rcs} java -classpath $JWSDP_HOME/jwsdp-shared/lib/commons-httpclient.jar:$JWSDP_HOME/jwsdp-shared/lib/commons-logging.jar:$J2RE_LIBRARY/jsse.jar:$J2RE_LIBRARY/jce.jar -jar Test.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/httpclient/protocol/SecureProtocolSocketFactory
Jörg Schaible wrote:
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]