We use Spring Boot 3.2.2 in our application and when upgrading to 3.2.3 we found this compilation error:

[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Bad service configuration file, or exception thrown while constructing Processor object: com/querydsl/apt/Abs>
[INFO] 1 error

It's trivial to reproduce, generate a project with SB 3.2.3 and Spring Data Couchbase from Initializr and `mvn clean install' it.

I attach a zip with the reproducer. sbcouchbaseregression.zip

See also the report by Christopher Abbonizio at the blog post.

Comment From: wilkinsona

This regression is caused by this change in Spring Data Couchbase. Please open a Spring Data Couchbase issue so that it can be addressed.

In the meantime, you can work around it by adding a dependency on querydsl-apt:

<dependency>
    <groupId>com.querydsl</groupId>
    <artifactId>querydsl-apt</artifactId>
</dependency>

Another option may be to configure Maven's compiler plugin to disable annotation processing or to only run certain processors. I don't think Gradle users will be affected as Gradle does not use the compile classpath for annotation processor discovery.

Comment From: cabbonizio

Hi all, Mike Reiche from spring data couchbase already put in a fix for this yesterday. I'm not at my computer but will post a link to the issue so things can be linked.

Comment From: cabbonizio

Here's the PR I believe that will fix this:

https://github.com/spring-projects/spring-data-couchbase/pull/1908

Comment From: juliojgd

Here's the PR I believe that will fix this:

spring-projects/spring-data-couchbase#1908

Are you sure? I can't find the relation between https://github.com/spring-projects/spring-data-couchbase/pull/1908 and this problem.

Comment From: cabbonizio

@juliojgd this is what I heard from Mike Reiche yesterday, but I think it's good you opened that issue on Spring Data Couchbase side to spread the awareness.

Comment From: mikereiche

The fix I put in yesterday was to change the signature of AuditingListenerFactory. Not related to querydsl.