# NoClassDefFoundError - Trying to add producer to the kafka module

**URL:** <https://forum.inductiveautomation.com/t/noclassdeffounderror-trying-to-add-producer-to-the-kafka-module/49926>\
**Category:** Module Development\
**Created:** [August 14, 2021, 3:16am UTC](https://forum.inductiveautomation.com/t/noclassdeffounderror-trying-to-add-producer-to-the-kafka-module/49926 "2021-08-14T03:16:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 14, 2021, 1:42pm UTC](https://forum.inductiveautomation.com/t/noclassdeffounderror-trying-to-add-producer-to-the-kafka-module/49926/2 "2021-08-14T13:42:15Z")

</div>

Don’t mistake this answer for me knowing anything about this module because I just cloned it for the first time.

I’m not sure what IDE you are using, but in IntelliJ you need to enable this option on your run configuration:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/0/d083478176719b70e118983a289b2503d7af8a2e.jpeg)

All of the Ignition SDK dependencies are marked as “provided” scope in the Maven pom files, which basically means “these are provided by the environment I will run in, so I need them to compile against but don’t need to package them for runtime”.

---

_[View the full topic](https://forum.inductiveautomation.com/t/noclassdeffounderror-trying-to-add-producer-to-the-kafka-module/49926)._
