You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have checked out apicurio-registry at tag v.3.0.6 and followed the instructions in the README to start the registry and UI. I have then compiled and run the SimpleJsonSchemaExample in the examples folder and got the following error:
Starting example SimpleJsonSchemaExample
Feb 11, 2025 8:09:56 PM io.netty.resolver.dns.DnsServerAddressStreamProviders <clinit>
WARNING: Can not find io.netty.resolver.dns.macos.MacOSDnsServerAddressStreamProvider in the classpath, fallback to system defaults. This may result in incorrect DNS resolutions on MacOS. Check whether you have a dependency on 'io.netty:netty-resolver-dns-native-macos'
Producing (5) messages.
Messages successfully produced.
Closing the producer.
Creating the consumer.
Subscribing to topic SimpleJsonSchemaExample
Consuming (5) messages.
No messages waiting...
No messages waiting...
No messages waiting...
Exception in thread "main" java.lang.ClassCastException: class com.fasterxml.jackson.databind.node.ObjectNode cannot be cast to class io.apicurio.registry.examples.simple.json.MessageBean (com.fasterxml.jackson.databind.node.ObjectNode and io.apicurio.registry.examples.simple.json.MessageBean are in unnamed module of loader 'app')
at io.apicurio.registry.examples.simple.json.SimpleJsonSchemaExample.lambda$main$1(SimpleJsonSchemaExample.java:160)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at io.apicurio.registry.examples.simple.json.SimpleJsonSchemaExample.main(SimpleJsonSchemaExample.java:159)
Previously I checked out the main branch and had the same issue so I thought maybe going back to the latest release it would be OK. I note the MacOS DNS error but adding the dependency makes no difference to this issue.
The text was updated successfully, but these errors were encountered:
I have checked out apicurio-registry at tag v.3.0.6 and followed the instructions in the README to start the registry and UI. I have then compiled and run the SimpleJsonSchemaExample in the examples folder and got the following error:
Previously I checked out the main branch and had the same issue so I thought maybe going back to the latest release it would be OK. I note the MacOS DNS error but adding the dependency makes no difference to this issue.
The text was updated successfully, but these errors were encountered: