[ QueryDSL ] java: Attempt to recreate a file for type 오류 해결

2024. 4. 1. 09:32Full Stack Course 풀스택과정/SPRING

728x90

 

 

Executing pre-compile tasks… Running 'before' tasks Checking sources Copying resources... [shop] Parsing java… [shop] java: Attempt to recreate a file for type com.shop.entity.QItem Checking dependencies… [shop] Dependency analysis found 0 affected files Errors occurred while compiling module 'shop' javac 17.0.10 was used to compile java sources Finished, saving caches… Compilation failed: errors: 1; warnings: 0 Executing post-compile tasks… Synchronizing output directories… 2024-04-01 오전 9:22 - Build completed with 1 error and 0 warnings in 2 sec, 196 ms


이런식으로 에러뜨고 Attempt to recreate a file 어쩌구 에러가 뜬다

 

 

 

Pom.xml 에서 com.mysema.maven 을 delete 시켜준다

 

 

 

 

 

그뒤에 오른쪽에 M(Maven) 버튼을 누른뒤에 하나의 프로젝트 안에 Lifecycle 에 캐쉬값을 삭제 시키고 (clean) 

다시 compile 시키면 작동한다 

 

 

 

 

 

 

728x90