This question already has an answer here:
- Cannot Deploy Spring Boot Application to Azure 3 answers
- Spring Boot War deployed to Tomcat 11 answers
I just created a spring boot rest webservice using the following tutorial: https://spring.io/guides/gs/rest-service/
The application is supposed to return a JSON response upon visting http://localhost:8080/greeting
It runs fine locally. However, upon deployment to azure it doesn't give me any response, just a blank screen. When i inspect the page, it says under network there is a 404 error.
Am i missing something?
EDIT:
I solved the issue by adding a web.config file in the /wwwroot folder.