jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rune Jeppesen <...@visanti.com>
Subject Re: Simple JCS program
Date Thu, 30 Jun 2005 11:20:54 GMT
saipradeep.v@tcs.com wrote:

>Hi all,
>I am new to JCS. I have written a simple JCS program as per the guidelines 
>i got from the documentation. But I am not able to successfully execute 
>it. I am enclosing my program and the exception which I have received for 
>your perusal. please do suggest.
>Saipradeep V.G.

>log4j:WARN No appenders could be found for logger 
>log4j:WARN Please initialize the log4j system properly.
>java.lang.NoClassDefFoundError: EDU/oswego/cs/dl/util/concurrent/Channel
>        at 
>        at 
>        at 
>        at 
>        at org.apache.jcs.JCS.ensureCacheManager(JCS.java:99)
>        at org.apache.jcs.JCS.getInstance(JCS.java:64)
>        at 
>        at 
>        at TestViewCache.main(TestViewCache.java:28)
>Exception in thread "main"
Hi Saipradeep V.G.,

In an earlier message Aaron kinda gave the answer:

"There is nothing particularly incestuous about the JCS
dependency list:  commons-lang, common-logging, and
util concurrent are extremely common dependencies.  

If you haven't already, take a look at the util
concurrent library.  It is one of the best Java
pacakges around:


So what you have to do is have the concurrent package in your classpath, 
that should solve your problem.

Rune J.

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

View raw message