I prototyped with Spring loading, where I added a dependency on spring-boot-starter-actuatorand spring-boot-starter-data-restand named my REST testing endpoint a tag /info. The application ran without any errors, however my endpoint could not be called, and the application returned 404 all the time.
After some time, I found out that the drive project contains a SAME endpoint /infoand basically redefines my user endpoint as RESTful, as I did not name it.
My question is: is there a way to prevent this behavior at all (what does a bean mean by running into error)? Or at least get a WARN message when this happens.
Thanks in advance for your answers.
source
share