![](/img/trans.png)
[英]Java Spring MVC on Heroku Error: Unable to access jarfile target/dependency/webapp-runner.jar
[英]Heroku Java WAR app that was working now failing: “Unable to access jarfile webapp-runner-7.0.40.0.jar”
我们的Java WAR应用程序-只是一种无状态的Java Web服务-过去三年在Heroku上运行良好,但是在大概由Heroku在星期五发起的一些活动之后:
heroku-postgresql:通过heroku-postgresql更新HEROKU_POSTGRESQL_RED
该应用程序现在在动态重启时记录此错误:
2017-08-14T19:37:10.491690+00:00 heroku[web.1]: Starting process with command `${PRE_JAVA}java ${JAVA_OPTS} -jar webapp-runner-7.0.40.0.jar --port ${PORT} ${WEBAPP_RUNNER_OPTS} cv-services-1.0.0.war`
2017-08-14T19:37:12.584664+00:00 heroku[web.1]: State changed from starting to crashed
2017-08-14T19:37:12.585526+00:00 heroku[web.1]: State changed from crashed to starting
2017-08-14T19:37:12.575166+00:00 heroku[web.1]: Process exited with status 1
2017-08-14T19:37:12.503570+00:00 app[web.1]: Unable to access jarfile webapp-runner-7.0.40.0.jar
并返回503(服务不可用)错误。
Heroku支持说问题:
超出了Heroku支持政策的性质
如果您已经遇到并解决了此类问题(尤其是最近),或者有足够的见识,请回答。
PS
heroku信息输出:
Addons: heroku-postgresql:dev
Auto Cert Mgmt: false
Dynos: web: 1
Git URL: https://git.heroku.com/xxxxxx.git
Owner: xxxxxx@xxxxxx.com
Region: eu
Repo Size: 0 B
Slug Size: 0 B
Stack: cedar
Web URL: https://xxxxxx.herokuapp.com/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.