lombok의 var 변수가 전혀 사용 되지 않았다.

잘못된 사용을 하고 있다는 경고창이 떳는데 검색을 해보니 버전 문제인 것 같았다.
Illegal reference to restricted type 'var'
Use var as the type of any local variable declaration (even in a for statement), and the type will be inferred from the initializing expression (any further assignments to the variable are not involved in this type inference).
For example: var x = 10.0; will infer double, and var y = new ArrayList<String>(); will infer ArrayList<String>.
Note that this is an annotation type because var x = 10; will be desugared to @var int x = 10;
Complete documentation is found at the project lombok features page for @var .
var 사용법에 적힌 저 'will be desugared to '의 뜻이 무엇일까 찾아보니 간결하게 표기된 문장(슈가링된 문장)을 다시 원래대로 돌린다는 뜻이었다. (흥미로웠지만 문제를 해결할만한 단서는 아니었다. )

해결
해당 라인을 지우니까 그냥 해결 되었다. 이유는 아직 모르겠다.
참고 : https://yyjing.tistory.com/51
람다 내부 구현 설명 및 슈가, 디슈가링이란?
출처: https://tourspace.tistory.com/11?category=788398, https://tourspace.tistory.com/12?category=788398 (자바 컴파일? java 파일이 class 파일로 변환되는 과정. class파일은 byte코드이다.) 설명 기존에 바이트코드에서 메
yyjing.tistory.com