attachService
관련 코드 작성PostController
, html 파일 추가template might not exist or might not be accessible by any of the configured template resolvers
html 상단에 타임리프 문법 사용한다고 작성해주지 않아서 일어나는 에러 인줄 알았는데
template 폴더 밖에 html이 있어서 생기는 오류였다.
SimpleDateFormatter
가 아닌 새로운 방식이 있는 것을 알게 되었음 : LocalDate 클래스 이용LocalDateTime.now()
: How to Format LocalDateTime in Java 8