将整个目录树添加到tomcat共享classloader
例如,ANT提供了将整个目录树添加到类Path的选项,并带有“ **/*。jar in Fileset/include tag”等配置。 在tomcat中,是否有可能将所有目录树中的所有JAR文件扫描以 *.jar文件扫描并添加到ClassLoader caucho树脂 www.caucho.com 在配置文件中具有选项。 一个人可以添加树加载程序标签以在ClassLoader中包含整个目录。
For example Ant provides option to add entire directory tree to classpath with configuration like "**/*.jar in fileset/include tag.
Is it possible in tomcat that all jar files in entire directory tree with subdirectories are scanned for *.jar files and added to classloader
Caucho Resin www.caucho.com has option in configuration file.
one can add tree-loader tag to include entire directory in classloader.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
tomcat不支持这一点。
Tomcat does not support this out of the box.