Spring boot 3 return 404 on azure app

Florent Bonamis 21 Reputation points


We are running a Hello World app on an Azure Linux app.
When we are using Spring boot 2.76, there is no problem. When we are upgrading the sprong boot version to 3.0.4 we are encountering a 404 error.
Is this related to that kind of issue?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,818 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Grmacjon-MSFT 15,441 Reputation points

    @Florent Bonamis thanks for the additional info. To deploy a Spring Boot app on Azure Web App please follow the steps in this Azure doc : Quickstart: Deploy your first application to Azure Spring Apps. This tutorial explains how to deploy a small application to run on Azure Spring Apps.

    Please let us know if you have other questions.

    0 comments No comments

  2. Benjamin Possolo 5 Reputation points

    The solution is here.


    Solved by upgrading the ApplicationInsights Java Agent to 3.4.10

    My guess is the old agent is not compatible with jars compiled for Java 17.