@JframeAlex

Не получается задеплоить приложение в Heroku?

Добрый вечер! Не удается развернуть приложение

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.583 s
[INFO] Finished at: 2019-04-20T20:03:03Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project ulmart: Fatal error compiling: invalid target release: 11 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] cwiki.apache.org/confluence/display/MAVEN/MojoExec...
! ERROR: Failed to build app with Maven
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/
! Push rejected, failed to compile Java app.
  • Вопрос задан
  • 2173 просмотра
Решения вопроса 1
Гуглим по запросу
Fatal error compiling: invalid target release: 11 -> [Help 1]

Переходим на ссылку: https://stackoverflow.com/questions/28291691/fatal...
Читаем и понимаем что не та версия jdk использовалась
Анализируем разницу и понимаем что нам нужен target release: 11
Ответ написан
Комментировать
Пригласить эксперта
Ответы на вопрос 1
@chel2287
Solved. Deleted this part of code

<properties>
<java.version>11</java.version>
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы