Azure,默认为“嘿,Java开发人员!”成功部署后的欢迎页面

时间:2020-10-05 22:27:09

标签: java azure spring-boot azure-web-app-service

在Azure的App Service中通过Github存储库成功部署了我的Spring boot Application之后,我仍然“嘿Java开发人员!”页面,我尝试通过Github和Github Actions,Github和Kudu,FTP来执行此操作,但结果始终相同。我没主意了。

enter image description here

enter image description here

1 个答案:

答案 0 :(得分:0)

更新

今天,我再试一次。我断开连接。尝试重新连接,我看到了如下所示的构建区域。

enter image description here

Action完成后,它可以正常工作。

所以我建议您断开连接并重新连接以解决问题。

重要

根据您的描述,我亲自测试了一侧,并且您的问题再次出现。

我的故障排除步骤:

  1. 首先为webapp创建一个默认页面。 (在Windows下,它失败,表明不是)。

  2. 在linux下部署webapp,发现一切正常。

在github上的Action中,发现Windows下部署中的构建应该有问题。

结论:

建议使用linux部署webapp。对于Windows下的部署失败,建议使用raise a support ticket for help

我的测试结果。

在Linux下,执行构建操作后,我们可以在wwwroot文件夹下看到app.jar文件。

enter image description here

enter image description here

我也将其移至Windows webapp,它不起作用。