Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

kascatchme_38391 avatar image
kascatchme_38391 asked alexandre.dutra commented

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