-
controller 미 설정 ( HTTP 상태 404 )기타 2023. 4. 5. 12:19
댓글 기능을 달기 위해서 ReplyController를 생성했다. 하지만 /replies/new 자체에 진입이 불가능한 에러가 발생했다.
- 컨트롤러 java 파일의 클래스에 @Controller가 없어서 발생한 에러였다.
위와 같이 특정 클래스에 다음과 같이 역할을 부여하지 않아서 발생하는 에러들은 에러 코드에 상세한 설명이 주어지지 않기 때문에, 기본적인 것들을 항상 점검하도록 하자.
'기타' 카테고리의 다른 글
링크 모음 (0) 2023.04.06 HTTP 상태 415 – 지원되지 않는 Media Type (0) 2023.04.05 eclipse , github 연결 (0) 2023.04.03 유튜브 클론코딩(1) (0) 2023.03.23 유튜브 API (메모용) (0) 2023.03.22