I have exported two jars of two apps I have in the same Kafka/Spark Streaming project. The jar with the Kafka Producer works fine. The jar with the Spark Consumer returns this error:
NoClassDefFoundError: kafka/serializer/StringDecoder
They share the same dependencies folder, which I have obviously exported in order to make the jars work outside Eclipse.
In Eclipse they both work fine.
How can I fix this?