Skip to content

[QA] exception in phase 'semantic analysis' in source unit 'Script1.groovy' Unsupported class file major version 61 #2357

Closed Answered by imbajin
liming1010 asked this question in Q&A
Discussion options

You must be logged in to vote

maybe could search Unsupported class file major version 61 directly, seems u use the mismatch Java version(env)?

and u could try server's docker images to avoid the env problem, then find the difference (if the docker images 1.0.0 have the same problem but the latest image doesn't, could refer the PR[1] below)

refer:

  • #2231 (use the master code / latest docker images)
  • groovy 3.x need Java8+
  • groovy 4.x need Java11+
  • we will prepare to release V1.2.0 in this month

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by imbajin
Comment options

You must be logged in to vote
1 reply
@imbajin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working
2 participants
Converted from issue

This discussion was converted from issue #2351 on November 21, 2023 03:25.