我的 Heroku 版本如下:
heroku/7.0.60 darwin-x64 node-v10.2.1
Run Code Online (Sandbox Code Playgroud)
当我运行时:
heroku deploy:jar ...
Run Code Online (Sandbox Code Playgroud)
我得到:
› Error: deploy:jar is not a heroku command.
› Perhaps you meant destroy
› Run heroku help for a list of available commands.
Run Code Online (Sandbox Code Playgroud)
这似乎与文档相矛盾:
https://devcenter.heroku.com/articles/deploying-executable-jar-files
我究竟做错了什么?
这说明你还没有安装deploy插件。因此,首先使用以下命令安装 heroku 部署插件:
heroku plugins:install heroku-cli-deploy
Run Code Online (Sandbox Code Playgroud)
然后尝试部署 jar。应该有效
| 归档时间: |
|
| 查看次数: |
1584 次 |
| 最近记录: |