[검색] 공부하기/Error

attempt to recreate a file for type org.zerock.guestbook.entity.qbaseentity

Ben의 프로그램 2023. 8. 19. 00:06
728x90
원인
Querydsl 을 실행하기 위한 폴더가 이미 생성되어 있을 때 발생하는 문제이다. 

 

해결방법 1
generated 폴더를 삭제하면 해결 가능하다.

 

해결방법 2
intelliJ 의 빌드 및 테스트를 gradle 이 아니라 intelliJ 로 수정한다. 

intelliJ->setting -> build tools -> gradle : gradle -> intellj로 변경