Optional의 isEmpty 메소드를 찾을 수 없다는 에러가 떴다.
먼저, 아래 방법대로 해봤는데 안됨
https://youtrack.jetbrains.com/issue/IDEA-242790
Java cannot find symbol java.util.Optional#isEmpty : IDEA-242790
Hi, the following code works return !PlayerCredential.findByIdOptional(username).isPresent(); But the following code does not compile when rebuilding the project: return PlayerCredential.findByIdOptional(username).isEmpty(); If I ctrl+click the "isEmpty()"
youtrack.jetbrains.com
두 번째로 시도한 방법
설정이 제대로 되었는지 확인하기
이 방법으로 해결
https://www.inflearn.com/questions/77532
프로젝트 생성 에러 메시지 - 인프런 | 질문 & 답변
안녕하세요 선생님! 오류찾다가 도움요청합니다...! 프로젝트 생성 시 Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: 오류가 뜨면서 Load gra...
www.inflearn.com
반응형
'IDE > Intellij' 카테고리의 다른 글
[Intellij] Module not found (0) | 2023.12.24 |
---|---|
Intellij 이유 없는 에러 (0) | 2023.06.18 |
변경된 소스 코드 바로 적용하기 (0) | 2022.05.05 |
디버깅 속도가 느려졌을 때 (0) | 2022.02.08 |
Local History (0) | 2022.01.15 |