简体   繁体   English

我可以在Jetty类路径中删除/添加jar而不重新启动它吗?

[英]Can I remove/add jars in Jetty classpath without restarting it?

my Jetty is started by java -jar starter.jar -cp lib , I put all jars required by my applications in lib , at some point later, I may upgrade my war file along with some new jar files, will I have to restart Jetty to make it effective? 我的码头是由java -jar starter.jar -cp lib启动的,我将应用程序所需的所有jar放入了lib ,稍后,我可能会升级war文件以及一些新的jar文件,我是否必须重新启动Jetty使之有效?

please help. 请帮忙。

Yes. 是。 The container will still have the old list of jar files and unless you restart it will not come into effect. 容器仍将具有旧的jar文件列表,除非您重新启动,否则它将不会生效。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我可以将 jars 添加到 Maven 2 构建类路径而不安装它们吗? - Can I add jars to Maven 2 build classpath without installing them? 如何在Jetty类路径中将jar放入jetty / lib? - How do I place jars in jetty/lib on the jetty classpath? 除了 jars 之外,避免在 Jetty 中扫描类路径 class - Avoid classpath class scanning in Jetty in addition to jars 如何在不重启 JVM 的情况下将外部 JARs 添加到 Spring 应用程序? - How to add external JARs to Spring application without restarting JVM? 如何在Ant构建任务中将捆绑的jar添加到类路径中? - How can I add bundled jars to my classpath in an Ant build task? 如何在Play Framework中将Jars添加到类路径? - How do I add Jars to the classpath in Play Framework? 我可以在不重新启动JVM的情况下将新证书添加到密钥库吗? - Can I add a new certificate to the keystore without restarting the JVM? 如何更改类路径或为 Jetty 添加类路径 - How to change the classpath or add classpath for Jetty 我可以要求ANT查看.classpath中的外部jar吗? - Can I ask ANT to look into .classpath for external jars? 无需重新启动ColdFusion即可以编程方式重新加载Java JAR - Programmatic reloading of Java JARs without restarting ColdFusion
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM