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

Unsupported class file major version 55

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 3.7.0
    • 3.8.0
    • None

    Description

      Maven compiler plugin does not support classes created by JDK 11 (major version 55). If you have classes created by JDK 11 in your classpath when using Maven Compiler, you've the following errors:

      Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project java-examples-dev-core: Execution default-compile of goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile failed: Unsupported class file major version 55 -> [Help 1]

      See https://github.com/mincong-h/MCOMPILER-342 for reproduction

      Attachments

        1. log.txt
          65 kB
          Mincong Huang
        2. plugin_issue.zip
          13 kB
          Surender

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              mincong Mincong Huang
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: