코딩 관련/오류 관련
Could not instantiate bean class [java.util.List]: Specified class is an interface
메리짱123
2020. 10. 8. 13:11
반응형
에러 내용
심각: 경로 []의 컨텍스트 내의 서블릿 [appServlet]을(를) 위한 Servlet.service() 호출이, 근본 원인(root cause)과 함께, 예외 [Request processing failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [java.util.List]: Specified class is an interface]을(를) 발생시켰습니다. |
컨트롤러에서 파라미터를 List 형태로 명시했는데 ArrayList로 고치면 해결됨
List는 인터페이스라 그렇슴
반응형