Closed
Description
Hi, we recently upgraded to Spring Boot 3.2.4 and are running into a compilation error with:
java.lang.NoClassDefFoundError: javax/inject/Inject: javax.inject.Inject
It looks like it's stemming from Spring Data Couchbase so any of our projects using it is running into this error. I saw this issue:
And tried to follow what you did but still get the compilation error. Can someone please suggest what we can do until a permanent release is issued?
This is what we have in dependency management:
<dependency>
<groupId>com.querydsl</groupId>
<artifactId>querydsl-apt</artifactId>
<exclusions>
<exclusion>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
<version>1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-couchbase</artifactId>
</dependency>