[KAFKA-347] NoClassDefFoundError For CodecRegistryHelper Created: 13/Jan/23 Updated: 13/Jan/23 Resolved: 13/Jan/23 |
|
| Status: | Closed |
| Project: | Kafka Connector |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Question | Priority: | Unknown |
| Reporter: | Krishna Agrawal | Assignee: | Ross Lawley |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
We are getting following error for both sink and source connector . we are using lastest version of connector 1.8.1
|
| Comments |
| Comment by Krishna Agrawal [ 13/Jan/23 ] |
|
Thanks Ross, After adding the uber dependency jar the issue is not fixed , I am closing the ticket. we have raised the same ticket to mongodb support team. now only issue is now the data is not syncing we will continue the discussion with support team. |
| Comment by Ross Lawley [ 13/Jan/23 ] |
|
Thank you for reaching out. A java.lang.NoClassDefFoundError indicates that you are missing required classes to use the Kafka connector. Its not clear how you have installed it or what flavour of Kafka you have but please review the installation documentation. It appears you are not using the uber jar and therefore have missing classes. Let me know if that helps fix the issue for you. If not please provide information regarding how you have installed the connector and the build / environment you are using. For future reference as this sounds like a support issue, I wanted to give you some resources to get this question answered more quickly:
Just in case you have already opened a support case and are not receiving sufficient help, please let me know and I can facilitate escalating your issue. All the best, Ross Lawley |