We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The text was updated successfully, but these errors were encountered:
gradle 설정 시
compileOnly "com.querydsl:querydsl-jpa"
로 설정했기 때문에 테스트 할 때 JPAQueryFactory에 대한 주입이 이루어지지 않아 문제를 발생 시켰다.
이를 implementation로 수정하여 테스트 시에도 주입이 가능하도록 변경하거나
implementation
테스트 @TestConfiguration을 통한 주입이 이루어지도록 하면 해결이 가능하다고 한다.
현재는 implementation으로 수정하여 진행
implementation "com.querydsl:querydsl-jpa" compileOnly "com.querydsl:querydsl-core" annotationProcessor "com.querydsl:querydsl-apt:${dependencyManagement.importedProperties['querydsl.version']}:jpa" // querydsl JPAAnnotationProcessor 사용 지정 annotationProcessor "jakarta.persistence:jakarta.persistence-api" annotationProcessor "jakarta.annotation:jakarta.annotation-api"
Sorry, something went wrong.
SeokRae
No branches or pull requests
The text was updated successfully, but these errors were encountered: