본문 바로가기
기타

[Gradle] :compileQuerydsl task error

by 햄과함께 2019. 5. 10.
320x100

Problem

Task ':compileQuerydsl' is not up-to-date because: 
Task has failed previously. 
Custom actions are attached to task ':compileQuerydsl'. 
All input files are considered out-of-date for incremental task ':compileQuerydsl'. 
Full recompilation is required because no incremental change information is available. 
This is usually caused by clean builds or changing compiler arguments. 
Compiling with JDK Java compiler API. 
:compileQuerydsl (Thread[Execution worker for ':',5,main]) completed. 
Closing Git repo: ~~~~~~~~.git FAILURE: Build failed with an exception.

Assemble 이나 BootRun을 하면 위와 같은 에러가 발생한다.

 

Solve

gradle cleanQuerydslSourcesDir

위 명령어로 querydsl clean 해주고 다시 실행하면 된다.

320x100

댓글