My static resources stopped working as soon as I added a new Controller (non rest) in my application with the following mapping
@RequestMapping(value = \"/{p
I added spring.resources.static-location=file:../frontend/build in application.properties
spring.resources.static-location=file:../frontend/build
application.properties
index.html is present in the build folder
index.html
build
Use can also add absolute path
spring.resources.static-location=file:/User/XYZ/Desktop/frontend/build