-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect steps mentioned on VS Code website to deploy Azure App Service #5911
Comments
@tarekahf thanks for creating this issue. The current web pages are creating App Service and Azure Spring Apps using the VS code extension, could you please clarify what went wrong for you? also @silenceJialuo as fyi |
I was following the steps here: and got this error when browsing the App Service:
Also, the default packaging of the sample project was JAR and it was not deploying JAR and was requesting WAR. I changed the packaging to WAR and deployed successfully but I got the above response error in the browser when navigating to the App Service URL. What is wrong is the missing steps which I included in the initial post above. Also, I tried creating App Service from VSCode for Java 17, Java SE, and Linux, but I got an error indicating something wrong with Java 17. However, I was able to create this App Service from the Azure Portal directly. See microsoft/vscode-azureappservice#2348 for details. See https://stackoverflow.com/q/75010485/4180447 for more details. Tarek |
Also, include @Flanker32 for awareness with the issue. |
@tarekahf Thanks a lot for your report, the issue for Java 17 creation in VSCode has been fixed in PR microsoft/vscode-azureappservice#2350. |
Looks like the extension has been released with the necessary fix for Java 17 https://github.com/microsoft/vscode-azureappservice/blob/main/CHANGELOG.md#0246---2023-02-08 |
The steps mentioned on this link:
https://code.visualstudio.com/docs/java/java-on-azure
for the following:
The above articles provide steps to deploy App Service from VS Code. The steps are wrong and they are not working for:
https://code.visualstudio.com/docs/java/java-webapp
https://code.visualstudio.com/docs/java/java-spring-apps
It should be as follows:
https://learn.microsoft.com/en-us/azure/app-service/quickstart-java?pivots=platform-linux-development-environment-maven&tabs=tomcat
The above PS commands will also create the App Service and deploy it.
Please fix the relevant web pages.
The text was updated successfully, but these errors were encountered: