Add the shared/lib folder under Tomcat 7

Source: Internet
Author: User

 

 

Open the tomcat7 \ conf \ Catalina. properties file.
Open Tomcat 5 again. After reading it, you will know.

Tomcat 5.5.35

## List of comma-separated paths defining the contents of the "shared" # classloader. Prefixes should be used to define what is the repository type.# Path may be relative to the CATALINA_BASE path or absolute. If left as blank,# the "common" loader will be used as Catalina‘s "shared" loader.# Examples:#     "foo": Add this folder as a class repository#     "foo/*.jar": Add all the JARs of the specified folder as class #                  repositories#     "foo/bar.jar": Add bar.jar as a class repository # Please note that for individual jar files, e.g. bar.jar, you need the URL form# starting with file:.shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar

Tomcat 7.0.47

## List of comma-separated paths defining the contents of the "shared"# classloader. Prefixes should be used to define what is the repository type.# Path may be relative to the CATALINA_BASE path or absolute. If left as blank,# the "common" loader will be used as Catalina‘s "shared" loader.# Examples:#     "foo": Add this folder as a class repository#     "foo/*.jar": Add all the JARs of the specified folder as class#                  repositories#     "foo/bar.jar": Add bar.jar as a class repository# Please note that for single jars, e.g. bar.jar, you need the URL form# starting with file:.shared.loader=

 

Add the shared/lib folder under Tomcat 7

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.