Jerry Chin
Jerry Chin

Reputation: 667

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?

please help.

Upvotes: 0

Views: 208

Answers (1)

mani_nz
mani_nz

Reputation: 5622

Yes. The container will still have the old list of jar files and unless you restart it will not come into effect.

Upvotes: 1

Related Questions