Uploaded image for project: 'Maven Compiler Plugin'
  1. Maven Compiler Plugin
  2. MCOMPILER-277

Compilation error while compiling for 1.6 using JDK 1.8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Workaround
    • 3.3, 3.5.1
    • 3.5.1
    • None
    • Maven 3.2.5. JDK 1.8.

    Description

      I have JDK 8 (Java version: 1.8.0_91, vendor: Oracle Corporation) installed with Maven 3.2.5 and the maven-compiler-plugin is set for source and target version 1.6.
      I'm getting the following compilation error:xxx is not abstract and does not override abstract method getParentLogger() in javax.sql.CommonDataSource
      Switching the environment (PATH and JAVA_HOME) to work with JDK 6 (Java version: 1.6.0_45, vendor: Sun Microsystems Inc.) compiles OK.
      Seems to me that the plugin is not really compiles for 1.6.

      Attachments

        Activity

          People

            Unassigned Unassigned
            yorammi Yoram Michaeli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: