You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2017/06/20 02:24:00 UTC
[jira] [Commented] (LOG4J2-1947) using mvn install to the project
log4j2 causes build failure.
[ https://issues.apache.org/jira/browse/LOG4J2-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16055059#comment-16055059 ]
Gary Gregory commented on LOG4J2-1947:
--------------------------------------
Make sure you have Java 9 installed and that the toolchain xml file in the root of the project matches your local file paths.
> using mvn install to the project log4j2 causes build failure.
> -------------------------------------------------------------
>
> Key: LOG4J2-1947
> URL: https://issues.apache.org/jira/browse/LOG4J2-1947
> Project: Log4j 2
> Issue Type: Question
> Components: API
> Affects Versions: 2.8.2
> Environment: Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-04
> 6+08:00)
> Maven home: D:\maven\apache-maven-3.5.0\bin\..
> Java version: 1.7.0_80, vendor: Oracle Corporation
> Java home: D:\jdk\jre
> Default locale: zh_CN, platform encoding: GBK
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
> Reporter: zhangcai
> Priority: Trivial
> Labels: beginner, build, maven
>
> here are error reasons.
> Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (java9-compile) on project log4j-api: Compilation failure
> {color:red}[ERROR] 用法: javac: 无效的标记: --release{color}
> [ERROR] 用法: javac <options> <source files>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)