Azure Webapp using Springboot Tomcat, Gradle error

Aman 1 Reputation point

I have deployed my webapp using Github Actions but still it shows

Hey, Java developers!

Your app service is up and running.
Time to take the next step and deploy your code.

My app name is different from ROOT.

I have also tried deploying using WAR file but could not succeed.
From this url

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

1 answer

Sort by: Most helpful
  1. Ryan Hill 26,241 Reputation points Microsoft Employee

    Hi @Aman ,

    The .war file needs to be deployed so it can be extracted by the hosting environment. Try deploying your app using POST request to https://<app-name> or using the Azure CLI maven plugin command mvn package azure-webapp:deploy

    Check to make sure your code was extracted correctly using the Kudu console. If you don't see your files, use unzip sample.war -d sample to manually unzip the contents. Make sure you've enabled Application Logging (Filesystem) so that you can view the deployment logs. They will be located at D:\home\LogFiles\Application. Check for catalina.yyyy-mm-dd.logs.

    1 person found this answer helpful.