Thanks for that I take it I am right in putting the commons-logging here: C:\Program Files\Java\jdk1.5.0_04\classpath\org\apache\commons\logging Is that's how its suppose to look like. In the Logging folder are files like LogConfigurationException and LogFactory for example and the folder impl
I don't quite understand the configuring. Since the Tutorial doesn't go into that so I am not entirely sure what I am suppose to do I am not even sure what file I am suppose to edit in the common-logging. -----Original Message----- From: Roland Weber [mailto:[EMAIL PROTECTED] Sent: 12 September 2005 06:49 To: HttpClient User Discussion Subject: Re: ExceptionInInitializerError Error as soon as I Run 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
