PLANNED MAINTENANCE

Hello, DataStax Community!

We want to make you aware of a few operational updates which will be carried out on the site. We are working hard to streamline the login process to integrate with other DataStax resources. As such, you will soon be prompted to update your password. Please note that your username will remain the same.

As we work to improve your user experience, please be aware that login to the DataStax Community will be unavailable for a few hours on:

  • Wednesday, July 15 16:00 PDT | 19:00 EDT | 20:00 BRT
  • Thursday, July 16 00:00 BST | 01:00 CEST | 04:30 IST | 07:00 CST | 09:00 AEST

For more info, check out the FAQ page. Thank you for being a valued member of our community.


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