Strom already had the required bank on the server side. So, if you look at pom.xml, you will find something similar to: https://github.com/apache/storm/blob/master/examples/storm-starter/pom.xml
<dependency> <groupId>org.apache.storm</groupId> <artifactId>storm-core</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency>
The scope provided is only available through compilation and testing. Because of this, your project compiles, but then fails at runtime with the exception: java.lang.NoClassDefFoundError.
Please comment out the scope line in pom.xml and update the maven dependencies to solve this problem. It should look like this:
<dependency> <groupId>org.apache.storm</groupId> <artifactId>storm-core</artifactId> <version>${project.version}</version> </dependency>
source share