英文:
war deploy from IntelliJ to Heroku
问题
以下是您要翻译的内容:
我需要在Heroku上发布我的Web应用程序,我使用命令行
heroku war-deploy <war-file-path> --app <app-name>
我使用IntelliJ导出我的war文件。当我在本地Tomcat服务器上测试文件时,没有问题。
在Heroku上,我遇到了这个错误:
"应用程序错误 - 应用程序中发生了错误,无法为您提供页面。如果您是应用程序所有者,请检查日志以获取详细信息。"
我认为这只是一个IntelliJ的问题。
英文:
I need to publish my web app on Heroku anche I use command line
heroku war-deploy <war-file-path> --app <app-name>
I use IntelliJ to export my war file. When I test file with my local Tomcat Server there are no problem.
On Heroku I have this error:
"Application error - An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details."
I think is only an IntelliJ problem
答案1
得分: 0
请注意您的 WAR 文件路径。IntelliJ 默认名称为“
在我的情况下解决了这个问题。
英文:
Pay attention to your war file path. IntelliJ default name is "<project-name>:war archive". Ensure your file path don't contain spaces or
accented characters.
In my case solved the problem
专注分享java语言的经验与见解,让所有开发者获益!
评论