

Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Wed May 31 00:11:33 KST 2023
There was an unexpected error (type=Internal Server Error, status=500).
Intellij에서 다 실행했는데도 안돼서....
cors에러인가 싶어서 html meta 태그에 넣어도보고,
@GetMapping을 @RequestMapping에도 바꿔봤다가..
그러던 와중..
https://velog.io/@wy9295/spring-boot-jar-%ED%8C%8C%EC%9D%BC-%EC%8B%A4%ED%96%89%EC%8B%9C-500-%EC%97%90%EB%9F%AC
이 글을 마주하게 되었다..
#spring.thymeleaf.prefix=file:src/main/resources/templates/ 주석처리하자.

application.properties 의 타임리프 내용을 주석처리 하고, jar파일 빌드하니까 바로 실행됐다.... 대박 감격..
다음에는 h2 데이터베이스에서 aws의 rds를 사용해서 mysql로 옮기는 걸 해보려고 한다.
그리고 ec2로 배포해보는 것까지 ..!!