Re: Find the effective classpath in a spring webapp's Controller

2022-08-22 Thread Mark Thomas
On 22/08/2022 18:56, anjan bacchu wrote: Hi there, I have a Controller in a spring webapp deployed to tomcat as a .war file(this is not a boot app). I have this code in the Controller this.getClass().getClassLoader().getResourceAsStream(licenseFile) The licenseFile is a 3rd party license

Find the effective classpath in a spring webapp's Controller

2022-08-22 Thread anjan bacchu
Hi there, I have a Controller in a spring webapp deployed to tomcat as a .war file(this is not a boot app). I have this code in the Controller this.getClass().getClassLoader().getResourceAsStream(licenseFile) The licenseFile is a 3rd party license file in our artifactory repository and gets