intellj로 테스트 코드를 작성하던 도중 다음과 같은 에러가 발생하였다.
Execution failed for task ':test'. > java.io.IOException: Unable to delete directory
정확히는 모르겠으나 특정 파일이 안지워져서 발생하는 오류같았다.
구글링을 통해 대략적으로 문제를 파악해 보니까 그 특정 파일을 누군가 사용하고 있어서 지워지지 않는다는 결론에 도출하였다.
따라서 intellj를 껐다가 다시 켰더니 문제가 말끔하게 해결되었다.
결론 : intellj를 껐다가 다시 켜보자!!
'지식창고' 카테고리의 다른 글
org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'application/octet-stream' not supported 에러 해결 (0) | 2022.07.25 |
---|---|
[자바 Spring] Caused by: java.nio.file.NoSuchFileException 에러 (0) | 2022.07.24 |
[Spring Intellij 오류] Cannot resolve symbol 해결 (0) | 2022.07.19 |
[자바 Spring] intellj 인메모리 DB 활성화 방법 (0) | 2022.07.01 |
Git의 Repository를 Fork해서 사용하는 방법에 대해 알아보자 (2) | 2022.06.27 |