温馨提示:本文翻译自stackoverflow.com,查看原文请点击:spring boot - Unable to run azure app service after deploying War file
azure-web-app-service spring-boot tomcat web-deployment azure-web-sites

spring boot - 部署War文件后无法运行Azure App服务

发布于 2020-04-08 10:17:37

我将我的war文件重命名为ROOT.war并通过FTP部署在azure Web应用程序服务上,但是它未能开始显示502错误。我从日志流中得到“在撤消过期的缓存条目后可用空间不足”。有人知道如何解决吗?

更新:@alok我尝试使用curl进行部署,这给了我一个无效凭据的错误。我正在从部署中心复制应用程序FTP应用程序凭据

    Server Error
    401 - Unauthorized: Access is denied due to invalid credentials.
    You do not have permission to view this directory or page using the credentials that you supplied.

(我的系统上已安装了AZURE CLI)当我尝试使用Power Shell进行部署时,它也会说

Publish-AzWebapp:术语“ Publish-AzWebapp”未被识别为cmdlet,函数,脚本文件或可运行程序的名称。检查名称的拼写,或者是否包含路径,请验证路径是否正确,然后重试。

查看更多

提问者
FS95
被浏览
48
7,125 2020-02-01 08:57

这是我如何使Eclipse的天蓝色作战的方法:

  1. 安装Eclipse的Azure的工具箱https://marketplace.eclipse.org/content/azure-toolkit-eclipse 安装蚀期间将重启几次。

  2. 从下拉菜单中右键单击您的项目将鼠标悬停在Azure上,然后选择“ 发布为Azure Webapp”。

  3. 使用所需的Jre和tomcat版本创建一个基于linux的新资源组

  4. 点击部署!