Hard to say, but maybe Spring does not support the new version yet, as
the error say `org.springframework.beans.factory.BeanCreationException`.

Can you reach out to the Spring community to see if they can help?


-Matthias

On 10/24/19 10:59 AM, Xiyuan Hu wrote:
> 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!
> 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to