본문 바로가기

전체 글

(48)
스프링 부트 3 백엔드 개발자 되기_13 newArticle.html에 수정 등록 수정부분 빼먹어서 수정이 안됐었던 거임
스프링 부트 3 백엔드 개발자 되기_12 #게시글을 생성할땐 URL에 별도 쿼리 파라미터가 없다. 그러나 수정할 때는 URL에 ?id=123과 같이 수정할 글의 id를 쿼리 파라미터에 추가해 요청 쿼리 파라미터란 HTTP요청에서 URL의 끝에 ? 로 시작하는 키 값으로 이루어진 문자열이며 '&"로 구분 ?id=123 의 경우 키는 id 값은 123 191pg 실행테스트 했는데 수정이 안됨?
스프링 부트 3 백엔드 개발자 되기_11 Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. Fri Aug 11 08:38:50 KST 2023 There was an unexpected error (type=Internal Server Error, status=500). An error happened during template parsing (template: "class path resource [templates/articleList.html]") org.thymeleaf.exceptions.TemplateInputException: An error happened during templ..
스프링 부트 3 백엔드 개발자 되기_10 Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. Fri Aug 11 08:38:50 KST 2023 There was an unexpected error (type=Internal Server Error, status=500). An error happened during template parsing (template: "class path resource [templates/articleList.html]") org.thymeleaf.exceptions.TemplateInputException: An error happened during templ..
스프링 부트 3 백엔드 개발자 되기_9 스프링부트 실행하고 웹브라우저 접속했는데 There was an unexpected error (type=Internal Server Error, status=500). An error happened during template parsing (template: "class path resource [templates/example.html]") org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/example.html]") at org.thymeleaf.templateparser.markup.AbstractMarku..
스프링 부트 3 백엔드 개발자 되기_8 mport org.springframework.ui.Model; 모델 객체는 뷰, 즉 HTML로 값을 넘겨주는 객체임 따로 생성할 필요없이 인자로 선언하기만 하면 스프링이 알아서 만들어줌
스프링 부트 3 백엔드 개발자 되기_7 3.http://localhost:8080/h2-console Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. Fri Aug 04 08:28:54 KST 2023 There was an unexpected error (type=Not Found, status=404). =>확인완료 application.yml 설정 spring: jpa: #전송 쿼리 확인 show-sql: true properties: hibernate: format_sql: true defer-datasource-initialization: true datasource: url: jd..
스프링 부트 3 백엔드 개발자 되기_6 어제 문제 Entity has no identifier => 아래 글로 해결함 https://sudo-minz.tistory.com/122 No identifier specified for entity 문제 해결 방법 No identifier specified for entity 문제 해결 방법 다음과 같은 오류가 발생하면.. nested exception is org.hibernate.AnnotationException: No identifier specified for entity: com.minji.site.domain.Member 해당 클래스의 @Id 어노테이 sudo-minz.tistory.com @Id 어노테이션이 무엇을 import 하고 있는가? 만약 import org.springframe..