Skip to content

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project testmocks: Fatal error compiling #20841

Description

@YANGJINJUE

Search before asking

  • I searched in the issues and found nothing similar.

Version

macos m1 12.6.6

Minimal reproduce step

./mvnw package -Dmaven.test.skip

What did you expect to see?

build success

What did you see instead?

use jdk17, [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project testmocks: Fatal error compiling: 错误: 不支持发行版本 1.8 -> [Help 1]

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugThe PR fixed a bug or issue reported a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions