Description
Describe the bug
I have a spring boot application running with Java 17 which has been to deployed to azure spring apps and it is up and running. Recently, I have upgraded to Java 21 as well as Spring boot version to v3.3.3. The application is up and running on my local machine with latest versions. But, when I try to deploy it to azure spring apps, the deployment is getting failed with message says "InternalServerError".
Later, I tried with simple spring demo application with Java 21. I have faced the same issue. Please find the below screenshots for the same. I am getting an option to select Java 21 runtime, but when I am trying to deploy with Java 21 it is failed. The azure spring apps documentation also says Java 21 is supported. I have created Azure spring apps with Standard plan pay as you go, East US region, FYI. Please help me out what is wrong here. Thanks in advance.
To Reproduce
Steps to reproduce the behavior:
Code Snippet
Add the code snippet that causes the issue.
Expected behavior
The deployemnt should be succeeded as it is shown for other applications with Java 17.
Setup (please complete the following information):
- Java version: 21
My local machine set up:
Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
Maven home: /opt/maven
Java version: 21.0.4, vendor: Microsoft, runtime: /home/user/.sdkman/candidates/java/21.0.4-ms
Default locale: en_IN, platform encoding: UTF-8
OS name: "linux", version: "6.8.0-40-generic", arch: "amd64", family: "unix"
Metadata
Assignees
Labels
Type
Projects
Status
Todo