jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fernando Duarte Oliveira Castro <ferna...@smartprice.com.br>
Subject Re: FW: Client side configuration problem
Date Fri, 04 Jul 2003 13:49:25 GMT
Hello,

I have the same error:

"junit.framework.AssertionFailedError: Exception in constructor:
testConverter
(org.apache.commons.logging.LogConfigurationException:
java.lang.ClassCastException"

How do you resolve it?

thanks,
Fernando

Manav Gupta wrote:

>Apologies if its a repost, but my message don't seem to reach...
>
>
>Hi,
>
>I believe this is one of the several problems that must have been reported
>in the past related to the classpath issues. I did search archives, found an
>answer, but am unable to resolve it.
>
>My client side classpath is: 
>CLASSPATH=D:\manav\cramer\Cramer5\Prototype2\classes;c:\jdk1.4.1_03\lib;D:\j
>akar
>ta\junit3.8.1\junit.jar;.;D:\manav\cramer\rnd\testSuite\cactus\log4j.propert
>ies;
>D:\jakarta\junit3.8.1\junit.jar;D:\jakarta\jakarta-cactus-13-1.4.1\lib\cactu
>s-1.
>4.1.jar;D:\jakarta\jakarta-cactus-13-1.4.1\lib\servletapi-2.3.jar;D:\jakarta
>\jak
>arta-cactus-13-1.4.1\lib\commons-logging-1.0.jar;D:\jakarta\jakarta-cactus-1
>3-1.
>4.1\lib\log4j-1.2.5.jar;D:\jakarta\jakarta-cactus-13-1.4.1\lib\aspectjrt-1.0
>.5.j
>ar;D:\jakarta\jakarta-cactus-13-1.4.1\lib\commons-httpclient-2.0alpha1-20020
>606.
>jar;D:\manav\cramer\rnd\testSuite\cactus\cactus.properties;
>
>But I still get the following exception when i run the swing ui:
>
>junit.framework.AssertionFailedError: Exception in constructor:
>testReadServletOutputStream
>(org.apache.commons.logging.LogConfigurationException:
>java.lang.ClassCastException
>	at
>org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:506)
>	at
>org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:350)
>	at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:381)
>	at
>org.apache.cactus.util.JUnitVersionHelper.around146_getTestCaseName(JUnitVer
>sionHelper.java;org/apache/cactus/util/log/LogAspect.aj(1k):1170)
>	at
>org.apache.cactus.util.JUnitVersionHelper.getTestCaseName(JUnitVersionHelper
>.java;org/apache/cactus/util/log/LogAspect.aj(1k):103)
>	at
>org.apache.cactus.AbstractTestCase.<init>(AbstractTestCase.java:124)
>	at
>org.apache.cactus.AbstractWebTestCase.<init>(AbstractWebTestCase.java:86)
>	at
>org.apache.cactus.ServletTestCase.<init>(ServletTestCase.java:119)
>
>Any ideas what can be done to resolve it? 
>
>Thanks,
>M
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>  
>



Mime
View raw message