티스토리 뷰

Kotlin/Error

HTTP ERROR 500 오류발생

evolutioning 2024. 6. 18. 13:32

** 개인 프로젝트에서 발생함 **

 

io.undertow.request - UT005023: Exception handling request to /error

이라는 오류 메시지가 출력되면서

프로젝트 구동이 안되는 현상이다.

 

RuntimeException이 발생하면서 : org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templateserror.html]") 이런로그가 작성되었다.

 

Controller 에서 

@RequestMapping(value = [("/test/admin/test/test-list")] )

여기에

 method = [(RequestMethod.POST)]

POST방식으로 작동하도록 추가를 하려고진행했는데 오류가 발생했다.

 

Main 페이지에서 POST 방식을 사용하려고하니 오류가 발생한것이다.

 

Main에는 POST를 빼주었고, 그 외 Tab에 POST방식을 작성하니

 

이상없이 구동된다.

 

Ps. template에러는 controller을 확인하자

 

반응형

'Kotlin > Error' 카테고리의 다른 글

Uncaught TypeError: Cannot read properties of null (reading ' ')  (0) 2024.06.18
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함