首页 > 代码库 > tomcat 7 下添加 shared/lib 文件夹
tomcat 7 下添加 shared/lib 文件夹
你打开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 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=
tomcat 7 下添加 shared/lib 文件夹
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。