zoukankan      html  css  js  c++  java
  • tomcat 7 下添加 shared/lib 文件夹

    你打开tomcat7confcatalina.properties文件
    再打开tomcat5的,看完后, 你就知道了

     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=
  • 相关阅读:
    生物信息学常用的在线网站及数据库汇总
    Python入门--6--今天抄袭人家一篇日志--numpy这个
    Perl语言--一些关于赋值、引用的东西
    Python入门--5--列表
    Idea下 调试Spring源代码
    Java OOM出现场景
    分布式事务解决方案
    mybatis generator 根据表生成对应的mapper文件
    签名工具类
    BPMN2.0
  • 原文地址:https://www.cnblogs.com/mjorcen/p/3932887.html
Copyright © 2011-2022 走看看