Загрузка Spring Boot на Hekoru

Когда запускаю в идеи сервер стартует без проблем, при попытке загрузить на heroku через git вылазит ошибка

 To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.4.1/userguide/gradle_daemon.html.
       Daemon will be stopped at the end of the build stopping after processing
       > Task :compileJava FAILED
       
       FAILURE: Build failed with an exception.
       
       * What went wrong:
       Execution failed for task ':compileJava'.
       > Could not target platform: 'Java SE 14' using tool chain: 'JDK 8 (1.8)'.
       
       * Try:
       Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
       
       * Get more help at https://help.gradle.org
       
       BUILD FAILED in 32s
       1 actionable task: 1 executed
 !     ERROR: Failed to run Gradle!
       We're sorry this build is failing. If you can't find the issue in application
       code, please submit a ticket so we can help: https://help.heroku.com
       You can also try reverting to the previous version of the buildpack by running:
       $ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-gradle#previous-version

Мои поиске решения проблемы мне ничего не дали, может у кого было похожее?


Ответы (1 шт):

Автор решения: Svetl9chok

Решение было снижение версии java c 14 на 1.8(8)

→ Ссылка