[Java] 에러 수정 일지 : required a bean of type 'com.querydsl.jpa.impl.JPAQueryFactory' that could not be found.
JPAQueryFactory 를 import 하면서 발생한 오류입니다. 이는 주로 IntelliJ 에서 발생하는 오류인데 @SpringBootApplication 에 scanBasePackages 설정을 해주면 해준다고 나와있습니다. 우선 예시를 보겠습니다. @Repository public class ACustomRepositoryImpl extends QuerydslRepositorySupport implements ACustomRepository { private JPAQueryFactory queryFactory; public ACustomRepositoryImpl(JPAQueryFactory queryFactory) { super(A.class); this.queryFactory = queryF..
Server
2022. 9. 1. 17:52
공지사항