Skip to content

Using withDefaultResolver() or withEnumResolver() in groovy code results in error #468

Closed Answered by CarstenWickner
eyammer asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @eyammer,

This looks like a Groovy specific issue: your arrow/lambda functions are being instantiated as a "proxy" – or rather the default implementation of the StatefulConfig interface's resetAfterSchemaGeneration() method – and that "proxy" is then rejected by the Java module system.

The StatefulConfig interface was introduced with version 4.29.0.
Can you please try your code against version 4.28.0 of the schema generator, to confirm that this is to blame?

Replies: 1 comment 1 reply

Comment options

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

Answer selected by eyammer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants