Request processing failed: java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.booleanValue()" because the return value of "java.util.Map.get(Object)" is null] with root cause
- boolean 값이 필요한데 null로 리턴 된다.
- NullPointerException으로 처리해도 되지만
response.get("result") != null
- != null 조건을 추가해서 해결
'기록하는 중 > Spring Boot' 카테고리의 다른 글
[Spring] BeanCreationException: Error (0) | 2024.10.30 |
---|---|
[Spring Boot] Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. (0) | 2024.09.14 |
[Spring] TooManyResultException: Expected one result(or not) to be returned by selectOne(), but found: 3 (0) | 2024.03.02 |
[Lombok] 어노테이션 (0) | 2024.01.28 |
[Spring] tomcat (0) | 2023.12.03 |