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

NoClassDef error in KinesisSink #153

Open
david-streamlio opened this issue Sep 27, 2021 · 0 comments
Open

NoClassDef error in KinesisSink #153

david-streamlio opened this issue Sep 27, 2021 · 0 comments

Comments

@david-streamlio
Copy link

Getting the following error when running the KinesisSink on AWS

│ 15:29:43.835 [//mykn-rgs-kinesis-sink-2-eadb4227-0] ERROR org.apache.pulsar.functions.instance.JavaInstanceRunnable - [//mykn-rgs-kinesis-sink-2-eadb4227:0] Uncaught exception in Java Instance │
│ java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter │
│ at com.amazonaws.services.kinesis.producer.HashedFileCopier.copyFileFrom(HashedFileCopier.java:56) ~[?:?] │
│ at com.amazonaws.services.kinesis.producer.KinesisProducer.extractBinaries(KinesisProducer.java:894) ~[?:?] │
│ at com.amazonaws.services.kinesis.producer.KinesisProducer.(KinesisProducer.java:245) ~[?:?] │
│ at org.apache.pulsar.io.kinesis.KinesisSink.open(KinesisSink.java:179) ~[?:?] │
│ at org.apache.pulsar.functions.instance.JavaInstanceRunnable.setupOutput(JavaInstanceRunnable.java:811) ~[io.streamnative-pulsar-functions-instance-2.8.0-rc-202106091215.jar:2.8.0-rc-202106091215] │
│ at org.apache.pulsar.functions.instance.JavaInstanceRunnable.setup(JavaInstanceRunnable.java:217) ~[io.streamnative-pulsar-functions-instance-2.8.0-rc-202106091215.jar:2.8.0-rc-202106091215] │
│ at org.apache.pulsar.functions.instance.JavaInstanceRunnable.run(JavaInstanceRunnable.java:243) [io.streamnative-pulsar-functions-instance-2.8.0-rc-202106091215.jar:2.8.0-rc-202106091215] │
│ at java.lang.Thread.run(Unknown Source) [?:?] │
│ Caused by: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter │
│ at java.net.URLClassLoader.findClass(Unknown Source) ~[?:?] │
│ at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?] │
│ at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?] │
│ ... 8 more

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

1 participant