How to Use Apache JCs to display java. Lang. noclassdeffounderror: edu/Oswego/CS/dl/util/concurrent/Channel

Source: Internet
Author: User

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

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.