자바 빌드 오류 Message:
* What went wrong:
Gradle could not start your build.
> Could not create service of type FileHasher using BuildSessionServices.createFileHasher().
> Cannot lock file hash cache (/home/ec2-user/app/step1/ToyStoryGit/.gradle/6.9/fileHashes) as it has already been locked by this process.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
일때
리눅스 또는 윈도우 터미널
./gradlew --stop
./gradlew clean
./gradlew build
IntelliJ 에서 -- WARNING-MODE ALL 경고 메시지 없애는 방법
출처: https://aisi1004.tistory.com/842
방법: 파일-setting - build, execution, deployment - compiler - java compiler - Additional command line parameters:
--warning-mode=all --stacktrace <<-추가
'Development > Java' 카테고리의 다른 글
[Java] MD5 Hashing in Java (0) | 2021.08.10 |
---|---|
[Java] Interface와 Abstract class의 차이점 및 사용방법 이해하기 (0) | 2021.08.05 |
[Java] extends, implements 차이 (0) | 2021.08.03 |
[Java] 왜 private 상수는 관습적으로 private static final로 선언할까? (0) | 2021.08.02 |
[Java] final 과 static 의 핵심 정리 (0) | 2021.08.02 |