How to Use Apache JCs to display java. Lang. noclassdeffounderror: edu/Oswego/CS/dl/util/concurrent/Channel
@ For & ever 2009-11-23
When using Apache JCsIn the process, the following problems occur:
Java. Lang. noclassdeffounderror: edu/Oswego/CS/dl/util/concurrent/Channel
At org. Apache. JCs. Engine. Control. compositecachemanager. Configure (compositecachemanager. Java: 203)
At org. Apache. JCs. Engine. Control. compositecachemanager. Configure (compositecachemanager. Java: 192)
At org. Apache. JCs. Engine. Control. compositecachemanager. Configure (compositecachemanager. Java: 149)
At org. Apache. JCs. Engine. Control. compositecachemanager. getinstance (compositecachemanager. Java: 93)
At org. Apache. JCs. JCs. ensurecachemanager (JCs. Java: 99)
At org. Apache. JCs. JCs. getinstance (JCs. Java: 64)
Cause:
The concurrent. jar package is missing in the compilation path.
Solution:
Obtain the concurrent. jar package and add it to the compiling path (LIB) to re-compile and run it.
Concurrent. JarMethods:
1Download the source code from the original website and compile it into concurrent. Jar
Download at the Web site http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html.
2In JBoss:
Download the JBoss source code. In the lib directory under the root directory of JBoss, find concurrent. jar and copy it to the compiling path.
3, From WebLogic:
Similar to 2, find concurrent. Jar under the installation directory WEB-INF/lib of Weblogic and copy it to the compilation path.
@ Forandever 2009-11-23