gpt4 book ai didi

azure - 在 Azure 上部署 war 文件

转载 作者:行者123 更新时间:2023-12-03 03:50:55 26 4
gpt4 key购买 nike

当我将 war 文件放在 D:\home\site\wwwroot\webapps 并重新启动我的应用程序时,不会创建任何目录您有一些解决方案吗?

部署日志:

2021-03-22T11:42:58.0110686Z,Updating submodules.,1bd3e5b1-47f2-46ce-9457-f22ade6578aa,0
2021-03-22T11:42:58.0891711Z,Preparing deployment for commit id 'c6e8c194dd'.,0e358782-a7e2-489c-a948-8d092e2167bb,0
2021-03-22T11:42:58.3235865Z,Generating deployment script.,f5b0c67e-46f7-462d-8910-d82e86d2d6ca,0
2021-03-22T11:42:58.3704629Z,Using cached version of deployment script (command: 'azure -y --no-dot-deployment -r "D:\home\site\repository" -o "D:\home\site\deployments\tools" --basic --sitePath "D:\home\site\repository"').,,0
2021-03-22T11:42:58.4016684Z,Running deployment command...,c4320046-f4d1-4886-8e7b-bd831740e0d4,0
2021-03-22T11:42:58.4172963Z,Command: "D:\home\site\deployments\tools\deploy.cmd",,0
2021-03-22T11:42:59.9329442Z,Handling Basic Web Site deployment.,,0
2021-03-22T11:43:01.1360454Z,Creating app_offline.htm,,0
2021-03-22T11:43:01.1516687Z,KuduSync.NET from: 'D:\home\site\repository' to: 'D:\home\site\wwwroot',,0
2021-03-22T11:43:01.1516687Z,Copying file: 'bin\apache-tomcat-8.0.33\webapps\sapws.war',,0
2021-03-22T11:43:01.1672937Z,Deleting app_offline.htm,,0
2021-03-22T11:43:01.1672937Z,Finished successfully.,,0
2021-03-22T11:43:01.2297946Z,Running post deployment command(s)...,24cd4f28-8e09-4dd3-884f-7a78ac72e1cb,0
2021-03-22T11:43:01.3079454Z,Triggering recycle (preview mode disabled).,24b334b7-e6c1-428f-a9ac-d91f039188c6,0
2021-03-22T11:43:01.4172916Z,Deployment successful.,9512433d-cee0-45c2-a8fe-4bf173281d0b,0

最佳答案

你可以使用我gif中的方法来测试和部署。

您还可以使用以下方式部署 webapp。

Deploy your app to Azure App Service with a ZIP or WAR file

enter image description here

关于azure - 在 Azure 上部署 war 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66745640/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com