Im working on a project with spring boot. After finish this project and package with mvn install in order to get my compiled jar file, i get some issue during the exploitation.
Some controller on my app need to get files or file path from classpath by using
String filePath = ResourceUtils.getFile("classpath:file.json").getPath()
this method work until i package to jar
Same issue to access properties files from classpath.