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

groovy 4 java.lang.NoClassDefFoundError: groovy/util/slurpersupport/GPathResult #93

Open
sysmat opened this issue Jan 4, 2023 · 2 comments

Comments

@sysmat
Copy link

sysmat commented Jan 4, 2023

  • groovy:4.0.7
  • error:
Caught: java.lang.NoClassDefFoundError: groovy/util/slurpersupport/GPathResult
java.lang.NoClassDefFoundError: groovy/util/slurpersupport/GPathResult
	at groovyx.net.http.ParserRegistry.<init>(ParserRegistry.java:87)
	at groovyx.net.http.HTTPBuilder.<init>(HTTPBuilder.java:185)
	at groovyx.net.http.RESTClient.<init>(RESTClient.java:80)
	at Rest.run(Rest.groovy:30)
Caused by: java.lang.ClassNotFoundException: groovy.util.slurpersupport.GPathResult
@lpiatek
Copy link

lpiatek commented Mar 28, 2023

+1

@Bert-R
Copy link

Bert-R commented Mar 28, 2023

This project is dead. Don't expect anyone to upgrade it to Groovy 4, particularly because it adds very little to the standard URLConnection class.

If it helps: In this commit, you find what I have done to move away from http-builder.

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