You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[## Observed vs. expected behavior
My IDE keeps giving this error java: Attempt to recreate a file for type com.guissisoftware.starter.model.QCourse
whenever I run mvn clean install
I use with Gradle 8.5 and jdk 21.0.1 and spring boot 3.x,no problem. the error key word is "recreate". this is a annotations process error happen when dupplicated file name recreate. I guess your setting may have some problem.
@Gaga-for-coding you can try to remove the querydsl-apt dependencies from </dependencies> and leave it only inside the <plugin> as dependency. Also might be necessary to add the jakarta classifier there. This is what worked for me at least.
[## Observed vs. expected behavior
My IDE keeps giving this error java: Attempt to recreate a file for type com.guissisoftware.starter.model.QCourse
whenever I run mvn clean install
Steps to reproduce
4.0.0
org.springframework.boot
spring-boot-starter-parent
3.1.5
com.guissisoftware
starter
0.0.1-SNAPSHOT
starter
Journey to learning Spring boot with Musib
<java.version>17</java.version>
<querydsl.version>5.1.0</querydsl.version>
org.springframework.boot
spring-boot-starter-web
org.springframework.boot
spring-boot-starter-logging
Environment
Windows 10, Intellij Idea
Querydsl version: 5.1.0
Querydsl module:
Database:
Spring boot
JDK:
Java 17
Additional details
](java: Attempt to recreate a file for type com.guissisoftware.starter.model.QCourse)
The text was updated successfully, but these errors were encountered: