Switch to AWS Corretto, they offer Java 21 already Sylwester
wt., 12 wrz 2023, 10:26 użytkownik hantsy bai <han...@gmail.com> napisał: > Oh, I think it is my fault, it seems Github actions does not support 21, I > was using *zulu* distribution. > > --- > > 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 > > > On Tue, Sep 12, 2023 at 3:25 PM Olivier Lamy <ol...@apache.org> wrote: > > > 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 > > > > >