将整个目录树添加到tomcat共享classloader

发布于 2025-02-06 16:34:38 字数 284 浏览 3 评论 0原文

例如,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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

↙温凉少女 2025-02-13 16:34:38

tomcat不支持这一点。

Tomcat does not support this out of the box.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文