简体   繁体   中英

war deploy from IntelliJ to Heroku

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

Pay attention to your war file path. IntelliJ default name is ":war archive". Ensure your file path don't contain spaces or accented characters. In my case solved the problem

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM