QueryDSL Error Duplication Class

I am using spring boot with dsl query to generate query classes for JPA entities using plugin: "com.ewerk.gradle.plugins.querydsl"

The gradle compileQueryDsl task is working fine.

When I run the gradle compileJava task I see the Q classes are generated and then I get the duplicate class exception

In other plugins I've seen options.compilerArgs = ['-proc: none',

helps to solve this problem.

Any suggestions to make this work.

thank

+3


source to share


1 answer


Try doing 'gradle clean ... first (I solved a similar problem using maven doing "mvn clean package" instead of "mvn package")



0


source







All Articles