httpbuilder icon indicating copy to clipboard operation
httpbuilder copied to clipboard

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

Open sysmat opened this issue 2 years ago • 2 comments

  • 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

sysmat avatar Jan 04 '23 13:01 sysmat

+1

lpiatek avatar Mar 28 '23 15:03 lpiatek

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.

Bert-R avatar Mar 28 '23 17:03 Bert-R