We are attempting to run a "self contained" app on an existing Adobe Coldfusion Tomcat server. The server already includes some of the dependencies used by our new Spring Boot JAVA app. Is it possible to force the new JAVA app to only use it's own dependencies instead of using those on the wider existing tomcat server. For example, our Coldfusion server uses hibernate version 5.2.11 but the version built into our JAVA app is 5.6.7. Is there a way to force our app to use 5.6.7 instead of 5.2.11 once it is deployed to the existing Coldfusion 2018 server?
Asked
Active
Viewed 22 times
0
-
One possibility might be to use a [fat jar](https://stackoverflow.com/questions/19150811/what-is-a-fat-jar). IIRC dependencies bundled within the jar should override external ones in the CF \lib directory. – SOS May 13 '22 at 03:47