tomcat 6 下 能加 shared/lib 文件夹么?

myjlh 2008-10-28 03:37:04
项目很多,都放在 tomcat 6 下,jar 都重复了,所以想仿照 tomcat5.5 的方式,可以跑不起来了,我想问问,tomcat6 下能不能建 shared/lib 文件夹 ?

谢谢!!!
...全文
364 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
fairyhawk 2008-10-28
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 sunyujia 的回复:]

你打开tomcat6\conf\catalina.properties文件
再打开tomcat5的,看完后,还是搞不定再来发贴.搞定了就结贴

#
# 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" lo…
[/Quote]
学习了。
sunyujia 2008-10-28
  • 打赏
  • 举报
回复
what?
java__king 2008-10-28
  • 打赏
  • 举报
回复
好象不行哎.
sunyujia 2008-10-28
  • 打赏
  • 举报
回复

你打开tomcat6\conf\catalina.properties文件
再打开tomcat5的,看完后,还是搞不定再来发贴.搞定了就结贴

#
# 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=
huoyin 2008-10-28
  • 打赏
  • 举报
回复
应当可以建,不过建了以后你要将它自己加入到tomcat的classpath中
feng8008 2008-10-28
  • 打赏
  • 举报
回复
直接放在tomcat6下的lib里就可以了
xiaowu_wings 2008-10-28
  • 打赏
  • 举报
回复
能不能装试一下

81,094

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧