[
https://issues.apache.org/jira/browse/MCOMPILER-342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16492886#comment-16492886
]
Mincong Huang commented on MCOMPILER-342:
-----------------------------------------
Hi [~michael-o], the ASM 6.2 is released. However, I didn't find the right
place update Maven Compiler Plugin (I checked
https://github.com/apache/maven-compiler-plugin/blob/master/pom.xml). Could you
help me to update this dependency?
My workaround is to override the version on my own project:
{code:title=pom.xml}
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<dependencies>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>6.2</version>
</dependency>
</dependencies>
</plugin>
{code}
> Unsupported class file major version 55
> ---------------------------------------
>
> Key: MCOMPILER-342
> URL: https://issues.apache.org/jira/browse/MCOMPILER-342
> Project: Maven Compiler Plugin
> Issue Type: Bug
> Affects Versions: 3.7.0
> Reporter: Mincong Huang
> Priority: Blocker
> Attachments: log.txt
>
>
> 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:
> {quote}
> 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]
> {quote}
> See https://github.com/mincong-h/MCOMPILER-342 for reproduction
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)