On Thu, 21 Jul 2005, Roland Weber wrote:
> Hi Glenn,
>
> try loading commons-logging in the boot classpath.
> Most classloaders will check their parents for a
> class first, and this might prevent the testrunner
> from loading commons-logging multiple times.
>
> hope that helps,
>   Roland

Hi Roland,

Thanks for the tip.  I have to confess some ignorance about
bootclasspath.  After reading on the web about it on the
web, I tried putting commons-logging.jar into
/usr/lib/j2sdk1.5-sun/jre/lib/ but that didn't change
anything.  I also tried:

java -Xbootclasspath/a:lib/commons-logging.jar  -cp 
.:commons-httpclient-2.0.2.jar:commons-logging.jar:junit_3.8.1.jar 
junit.swingui.TestRunner HttpClientBug

but that had the same result.  I then tried

java -Xbootclasspath/a:lib/commons-logging.jar  -cp 
.:commons-httpclient-2.0.2.jar:junit_3.8.1.jar junit.swingui.TestRunner 
HttpClientBug

but then LogFactory couldn't be found.  Are these the sort
of things you meant?

Thanks,
Glenn


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to