Hi Michael, I believe this is commonly caused by classloader problems. Are you running this code in a container of some sort?
When SimpleLog and Log are loaded by different classloaders, the "instance-of" operation can report false. Regards, Simon On Thu, 2004-01-08 at 15:40, Michael Czeiszperger wrote: > I'm evaluating HttpClient, and am having trouble getting even the > trivial sample code to work. I am able to compile the program, but when > it runs I get an error from the logging mechanism: > LogConfigurationException: Class > org.apache.commons.logging.impl.Jdk14Logger does not implement Log. > > > I've tried following all of the suggested logging settings, but each > attempt gives the error: > > Class X does not implement "Log", where X could be SimpleLog or NoOpLog. > > I searched the list archives but couldn't find any mention of these > errors. I've tried adjusting the CLASSPATH to place the logging and > HttpClient libs in different orders, but that doesn't seem to make a > difference. > > Any suggestions would be appreciated. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
