mardi 10 octobre 2017

Spring boot war with no lib on tomcat 8

I have a spring boot war (REST service) file that is run on a tomcat 8 server. I am using spring-boot-maven-plugin to get all the loader goodies in the repackaged war. Due to recent company policy changes, we can no longer have dependency jars packaged inside a war. Spring boot maven plugin adds the loaders to the war and also adds a lib or lib-provided directory inside WEB-INF. If I were to manually delete the lib directory and then use Tomcat 8's JarResources to mount a server directory to WEB-INF/lib. Will the spring boot war run as usual?

Aucun commentaire:

Enregistrer un commentaire