java.lang.IllegalStateException: No primary or single unique constructor found for interface org.springframework.ui.Model

지니·2023년 7월 30일

원인 🏷️

  • 기본 생성자가 없을 때

해결 🌱

@ModelAttribute("params")
  • 컨트롤러에서 이렇게 추가해놨던거
    더 이상 필요 없어서 지웠어야 했는데 까먹음
    지우니까 바로 해결 !

< 참고 >

profile
긁적

1개의 댓글

comment-user-thumbnail
2023년 7월 30일

좋은 정보 감사합니다

답글 달기