DevTools exposes every file in classpath #7880
Labels
type: blocker
An issue that is blocking us from releasing
type: bug
A general bug
type: regression
A regression from a previous release
Milestone
When I create a Spring Boot web application with DevTools in pom.xml every file on the classpath is exposed as static file to download. The documentation states:
But even when I run the application with java -jar every file is accessible to download. I have attached a simple demo project to illustrate this.
If you run the demo project for example with mvn spring-boot:run or by compiling it to a jar file and then java -jar, you can access the application.properties file in the browser under http://localhost:8080/application.properties.
Using SpringBoot Version 1.4.3
devtools-exposes-files.zip
The text was updated successfully, but these errors were encountered: