具体错误:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project teavm-samples-benchmark: Fatal error compiling: 无效的标记: -arg -> [Help 1]
pom.xml相关内容如下:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.3</version> <configuration> <source>1.8</source> <target>1.8</target> <compilerArguments> <arg>-Xmx8192m</arg> </compilerArguments> </configuration> </plugin>
查了一下,网上不少说法是认识的。这是因为Idea的专用标志?