码迷,mamicode.com
首页 > 其他好文 > 详细

tomcat 7 下添加 shared/lib 文件夹

时间:2014-08-24 16:39:22      阅读:181      评论:0      收藏:0      [点我收藏+]

标签:style   blog   color   os   文件   for   ar   art   div   

 

 

你打开tomcat7\conf\catalina.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 Catalinas "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 Catalinas "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=

 

tomcat 7 下添加 shared/lib 文件夹

标签:style   blog   color   os   文件   for   ar   art   div   

原文地址:http://www.cnblogs.com/mjorcen/p/3932887.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!