Menu

#11 Maven compile issues with Java 7

open
nobody
General (5)
2
2012-12-07
2011-12-09
No

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.
0.2:testCompile (default-testCompile) on project perfmon4j: Compilation failure
[ERROR] C:\projects\perfmon4j\tags\version1.2.0.ALPHA_2\base\src\test\java\org\p
erfmon4j\instrument\TransformerParamsTest.java:[371,23] error: StatementImpl is
not abstract and does not override abstract method isCloseOnCompletion() in Stat
ement
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

[ERROR] mvn <goals> -rf :perfmon4j

Discussion


Log in to post a comment.

MongoDB Logo MongoDB