Hi,

I'm trying to build and import 2.3.1-rc2 but getting below exceptions:

Invocation of init method failed; nested exception is
java.lang.NoClassDefFoundError: org/rocksdb/RocksDBException
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'imaItemProcessor': Invocation of init method
failed; nested exception is java.lang.NoClassDefFoundError:
org/rocksdb/RocksDBException

Caused by: java.lang.NoClassDefFoundError: org/rocksdb/RocksDBException
at 
org.apache.kafka.streams.state.internals.RocksDbWindowBytesStoreSupplier.get(RocksDbWindowBytesStoreSupplier.java:63)
at 
org.apache.kafka.streams.state.internals.RocksDbWindowBytesStoreSupplier.get(RocksDbWindowBytesStoreSupplier.java:23)

The way I imported 2.3.1-rc2 is as below:

1. Download kafka_2.11-2.3.1.tgz and unzip
2. Run: mvn install:install-file
-Dfile=kafka_2.11-2.3.1/libs/kafka-streams-2.3.1.jar
-DgroupId=org.apache.kafka -DartifactId=kafka-streams
-Dversion=2.3.1-rc2 -Dpackaging=jar -DgeneratePom=true
3. In my maven pom.xml:
<dependency>
   <groupId>org.apache.kafka</groupId>
   <artifactId>kafka-streams</artifactId>
   <version>2.3.1-rc2</version>
 </dependency>

Do I miss anything here?

Thanks a lot!

Reply via email to