Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
This error is seen in the file - org.apache.apex.malhar.kafka.AbstractKafkaInputOperator cannot be resolved. It is indirectly referenced from required .class files
Even though, I have included this in the pom.xml
<dependency>
<groupId>org.apache.apex</groupId>
<artifactId>malhar-kafka010</artifactId>
<version>3.8.0-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
I had to add this explicitly to resolve -
<dependency>
<groupId>org.apache.apex</groupId>
<artifactId>malhar-kafka-common</artifactId>
<version>3.8.0-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka_2.11</artifactId>
</exclusion>
</exclusions>
</dependency>
However, I don't see such issue with -
<dependency>
<groupId>org.apache.apex</groupId>
<artifactId>malhar-kafka</artifactId>
<version>${malhar.version}</version>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>