hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <ROLWE...@de.ibm.com>
Subject Re: ExceptionInInitializerError Error as soon as I Run
Date Mon, 12 Sep 2005 05:48:39 GMT
Hi Graeme,

> I have copied the tutorial here:
> http://jakarta.apache.org/commons/httpclient/tutorial.html
> So I know there are no errors in my code and I am sure I have all the
> dependencies in the classpath but I still get these errors as soon as I 
run
> it:
> 
> Exception in thread "main" java.lang.ExceptionInInitializerError
>         at HttpClientTutorial.main(HttpClientTutorial.java:13)
> [...]
> Caused by: java.lang.ClassNotFoundException:
> org.apache.commons.logging.impl.Log
> FactoryImpl

It looks like you are missing commons-logging.

1) verify the dependencies in the classpath again:
http://jakarta.apache.org/commons/httpclient/dependencies.html

2) verify the logging configuration:
http://jakarta.apache.org/commons/httpclient/logging.html

hope that helps,
  Roland


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


Mime
View raw message