TroubleShooting
발생한 문제
의존 관계 주입 관련 테스트를 진행하다가 Spring console에서 평소에는 보지 못한 warning이 보여 찾아보았다.
해결 및 시도 방법
1. 구글링
-> @Nullable 이 열거형을 사용하는데 자동으로 사용하도록 되어있지 않아서 뜨는 문제라고 함.
Spring nullable annotation generates unknown enum constant warning
In my app, whenever I add @Nullable (which imports from org.springframework.lang.Nullable) to any of the fields, I get a build warning: Warning:java: unknown enum constant javax.annotation.meta...
stackoverflow.com
세부사항 변화
수정
경고 표시 제거
회고
google bug find repo가 있다는게 신기했다.
https://github.com/findbugsproject/findbugs
GitHub - findbugsproject/findbugs: The new home of the FindBugs project
The new home of the FindBugs project. Contribute to findbugsproject/findbugs development by creating an account on GitHub.
github.com
'Troubleshooting' 카테고리의 다른 글
[TroubleShooting] Java 프로젝트에 Kotlin 추가하기 (1) | 2023.12.05 |
---|---|
[Issue] Gradle implementation 작성시 주의할 점 (0) | 2023.04.21 |
Spring Security 필터로 인한 Swagger-ui.html 접속 불가 (0) | 2022.08.20 |
Spring JPA - Cascade 문제 처리 (0) | 2022.08.18 |
Spring CORS 세팅 - addAllowedOriginPattern, isPreFlightRequest 관련 문제 (0) | 2022.08.17 |