Knowledge/Trouble Shooting

Inferred type 'S' for type parameter 'S' is not within its bound;

똑똑한망치 2024. 5. 5. 00:04
728x90
반응형

💢 문제 상황

에러 발생 : Inferred type 'S' for type parameter 'S' is not within its bound;

 

👍 해결 방법

JPA의 JpaRepository 매개변수, 인터페이스 명이 일치하는지 확인하자.

 

 

필자의 경우 JpaRepository에 ChattingRoomRepository로 들어가 있었다.

 

수정 후 정상작동한다.

반응형