본문 바로가기
기타

[IntelliJ] Build failed with an exception (Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0)

by foreverever 2019. 5. 27.
반응형

IDE(IntelliJ)를 'Invalidate and Restart'로 재 실행 한 이후 서버를 실행하니 다음과 같은 에러가 발생했다. (서버는 돌아감)

이로인해 import.sql파일의 한글 깨짐 현상이 발생하고 (인코딩 설정이 UTF-8임에도 불구하고), 무엇보다 저 에러 메세지가 상당히 거슬렸다.

Gradle 버전에 따른 호환성 문제인 듯 싶다. (더 이상 사용되지 않는 Gradle기능을 사용할 경우 발생하는 문제)

 

해결방법 

프로젝트 'File-Settings'에서 'Java Compiler'의 'Additional command line parameters'에 --warning-mode=all 기입

반응형