This is a bug in the Maven compiler plugin, related to JDK7 I think. Works fine with JDK6.
More Related Contents:
- Maven error :Perhaps you are running on a JRE rather than a JDK?
- incompatible types required char found java.lang.string
- How do I tell Maven to use the latest version of a dependency?
- How do you specify the Java compiler version in a pom.xml file?
- Maven does not find JUnit tests to run
- Problems using Maven and SSL behind proxy
- org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when ‘hibernate.dialect’ not set
- Eclipse can’t find XML related classes after switching build path to JDK 10
- How do I add a Maven dependency in Eclipse?
- Package conflicts with automatic modules in Java 9
- The method getDispatcherType() is undefined for the type HttpServletRequest
- leiningen – how to add dependencies for local jars?
- How to compile a java source file which is encoded as “UTF-8”?
- Eclipse/Maven error: “No compiler is provided in this environment”
- Ambari 2.7.5 installation failure on CentOS 7
- Java Error: illegal start of expression
- Maven build Compilation error : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project Maven
- The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path [duplicate]
- intellij idea – Error: java: invalid source release 1.9
- repository element was not specified in the POM inside distributionManagement element or in -DaltDep loymentRepository=id::layout::url parameter
- AbstractMethodError using UriBuilder on JAX-RS [duplicate]
- javac : Compiling a .java file which uses other classes in it
- How is “mvn clean install” different from “mvn install”?
- Maven 3.3.1 ECLIPSE: -Dmaven.multiModuleProjectDirectory system propery is not set
- Running a specific Maven plugin goal from the command line in a sub-module of a multi-module reactor project
- Creating Two Executable Jars Using maven-assembly-plugin
- Allure report: nothing shown in Chrome
- How to make gradle generate a valid pom.xml file at the root of a project for maven users?
- IntelliJ GUI Designer Maven Executable JAR Export
- RESTEasy: Could not find writer for content-type application/json type