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

adding required packages to avoid NoClassDefFoundError #6

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Next Next commit
fixing java.lang.NoClassDefFoundError: org/apache/log4j/Logger error
root committed Dec 10, 2014

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit fd3126a20a66ffe13323e260a98c849e361bd847
29 changes: 28 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
@@ -9,7 +9,32 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>storm-kafka-0.8-plus-test</artifactId>
<dependencies>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.15</version>
<exclusions>
<exclusion>
<groupId>com.sun.jmx</groupId>
<artifactId>jmxri</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jdmk</groupId>
<artifactId>jmxtools</artifactId>
</exclusion>
<exclusion>
<groupId>javax.jms</groupId>
<artifactId>jms</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.6.4</version>
</dependency>

<dependency>
<groupId>org.apache.storm</groupId>
<artifactId>storm-kafka</artifactId>
<version>0.9.2-incubating</version>
@@ -19,10 +44,12 @@
<artifactId>kafka_2.9.2</artifactId>
<version>0.8.1.1</version>
<exclusions>

<exclusion>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
</exclusion>

<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
@@ -142,4 +169,4 @@
</profiles>


</project>
</project>