에러 메시지
"message": "Parameter value [\\\\] did not match expected type [java.lang.String (n/a)]; nested exception is java.lang.IllegalArgumentException: Parameter value [\\\\] did not match expected type [java.lang.String (n/a)]",
코드
public interface ArticleRepository extends JpaRepository<Article, Long> {
List<Article> findByTitleContainsAndBoardId(String title, Long boardId);
List<Article> findByContentContainsAndBoardId(String content, Long boardId);
List<Article> findByUserIdAndBoardId(Long userId, Long boardId);
}
원인
해결방법
참고 사이트
https://github.com/spring-projects/spring-data-jpa/issues/2476