DataStax Academy FAQ

DataStax Academy migrated to a new learning management system (LMS) in July 2020. We are also moving to a new Cassandra Certification process so there are changes to exam bookings, voucher system and issuing of certificates.

Check out the Academy FAQ pages for answers to your questions:


question

kascatchme_38391 avatar image
kascatchme_38391 asked ·

Help needed to setup Annotation processing in Eclipse

I'm getting the below error. Can anyone help?

Errors occurred during the build.
    Errors running builder 'Java Builder' on project 'Engine'.
    com/datastax/oss/driver/shaded/guava/common/collect/immutableSet

In Eclipse, I have added all these jars in my classpath:

java-driver-shaded-guava-25.1-jre.jar
java-driver-core-shaded-4.5.1.jar
java-driver-core-4.5.1.jar
java-driver-mapper-processor-4.5.1.jar
java-driver-mapper-runtime-4.5.1.jar
java-driver-query-builder-4.5.1.jar

I have tried the same thing in IntelliJ. But no luck. Getting this error:

Error:java: java.lang.NoClassDefFoundError: com/datastax/oss/driver/api/mapper/annotations/Entity
driverjava
1 comment
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Could you share a sample project with us? Thanks!

0 Likes 0 · ·

0 Answers