小编Crø*_*ian的帖子

Maven - 无法执行目标 org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile Using java 10

我正在尝试使用 Git bash 将我的 discord bot 项目上传到 Heroku 我的项目是 java 10,我使用的是 Maven,但出现此错误:

remote:        [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project bot_discord: Fatal error compiling: invalid flag: --release -> [Help 1]
remote:        [ERROR]
remote:        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
remote:        [ERROR] Re-run Maven using the -X switch to enable full debug logging.
remote:        [ERROR]
remote:        [ERROR] For more information about the errors and possible solutions, please read the …
Run Code Online (Sandbox Code Playgroud)

java compiler-errors build heroku maven

6
推荐指数
1
解决办法
3万
查看次数

标签 统计

build ×1

compiler-errors ×1

heroku ×1

java ×1

maven ×1