Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please could someone re-compile for Groovy V4+ / JDK 17+ #159

Open
merlinbeedell opened this issue May 15, 2024 · 2 comments
Open

Please could someone re-compile for Groovy V4+ / JDK 17+ #159

merlinbeedell opened this issue May 15, 2024 · 2 comments

Comments

@merlinbeedell
Copy link

merlinbeedell commented May 15, 2024

If Groovy v4 is used it shows class-not-found for XMLSlurper - the groovy.util.XMLSlurper is now located under groovy.xml.

If JDK 17+ is used then it responds with
Caught: java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Enum do not match. Expected 1 but got 0
at wslite.soap.SOAPVersion.(SOAPVersion.groovy)

I tried to get the gradle/maven etc to work, but I just do not have the knowledge to reconfigure these correctly.

So I am reaching out to the much more knowledgeable team to see if anyone could resurrect and update this very useful utility (I use it for SOAP calling groovy scripts - all basic stuff).

@joanapmarq
Copy link

Does anyone know how to resolve this issue? I also updated my java to 17 and now I get this error java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Enum do not match. Expected 1 but got 0
at wslite.soap.SOAPVersion.(SOAPVersion.groovy)

@ks1313
Copy link

ks1313 commented Aug 21, 2024

I have run into the same problem. Has anyone found a solution or workaround?
I am using Java 17 and Groovy 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants