Skip to content

Commit

Permalink
IM-473 Update to Groovy 3.0.23
Browse files Browse the repository at this point in the history
A model defined with a Groovy expression was failing silently.
Behind the scenes there was the following error:

Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 65

Version 65 is Java 17. The default target compilation level on Eclipse 2024-09.
Updating to Groovy 3.0.23 solves the issue
  • Loading branch information
iperdomo committed Nov 19, 2024
1 parent a263f3a commit 9c43181
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions klab.engine/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<!-- 2.8.0-01 and later require maven-compiler-plugin 3.1 or higher -->
<version>3.8.1</version>
<version>3.11.0</version>
<configuration>
<compilerId>groovy-eclipse-compiler</compilerId>
<!-- <compilerArguments> <indy /> </compilerArguments> -->
Expand All @@ -73,14 +73,14 @@
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-eclipse-compiler</artifactId>
<version>3.8.0</version>
<version>3.9.0</version>
</dependency>
<!-- for 2.8.0-01 and later you must have an explicit dependency on
groovy-eclipse-batch -->
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-eclipse-batch</artifactId>
<version>3.0.11-03</version>
<version>3.0.23-02</version>
<!-- <version>2.5.9-01</version> -->
<!-- or choose a different compiler version -->
<!-- <version>2.5.14-02</version> -->
Expand Down Expand Up @@ -607,7 +607,7 @@
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy</artifactId>
<!-- <version>2.5.0-beta-2</version> -->
<version>3.0.11</version>
<version>3.0.23</version>
<!-- <classifier>indy</classifier> -->
</dependency>

Expand Down

0 comments on commit 9c43181

Please sign in to comment.