Hi
Please run your build using option -e and have a look at the stack.
I use 21, and it works fine.
This might be some restrictions with spring boot parent.
Or, according to the error message "error: release version 21 not
supported" you might not using a jdk 21.

On Tue, 12 Sept 2023 at 17:16, hantsy bai <han...@gmail.com> wrote:
>
> I tried to update the compiler release to 21, and got a compiler error like
> this.
>
> Error: Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile
> (default-compile) on project spring6-sample-boot: Fatal error compiling:
> error: release version 21 not supported -> [Help 1]
> ---
>
> Regards,
>
> *Hantsy Bai*
>
> Self-employed consultant, fullstack developer, agile coach,
> freelancer/remote worker
>
> GitHub: https://github.com/hantsy
>
> Twitter: https://twitter.com/@hantsy
> Medium: https://medium.com/@hantsy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to