🍀Spring/기타

Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: java.lang.IllegalArgumentException: Name for argument of type [java.lang.Long] not specified, and parameter name information not available via reflection. Ensure that the compiler uses the '-parameters' flag.] with root cause ~~~~   스프링 부트 3.2부터 매개변수의 이름을 인식하지 못하는 문제가 있다고 한다.스프링 ..
https://velog.io/@sunnamgung8/%EC%9E%90%EB%B0%94-%EC%83%9D%EC%84%B1%EC%9E%90Constructor [자바] 생성자(Constructor)생성자란 new 연산자에 의해서 단 한 번 호출되는 단위입니다. 우리는 그 동안 생성자를 따로 정의하지 않았습니다. 하지만 객체는 new 연산자에 의해서 무조건 단 한 번 호출됩니다. 우리가 그 동velog.io  NoArgsConstructor : 파라미터가 없는 디폴트 생성자를 생성@AllArgsConstructor : 모든 필드 값을 파라미터로 받는 생성자를 생성@RequiredArgsConstructor : final이나 @NonNull으로 선언된 필드만을 파라미터로 받는 생성자를 생성 @NoArgsCon..
말동말동현
'🍀Spring/기타' 카테고리의 글 목록