With Computer/Spring Starter Project
-
[intelliJ] Error:: java.lang.IllegalArgumentException:With Computer/Spring Starter Project 2020. 2. 8. 02:02
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'postsService' defined in file [C:\Users\00\IdeaProjects\freelec-springboot2-webservice\build\classes\java\main\com\zozo\book\springboot\service\PostsService.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationExce..
-
[intelliJ] 스프링부트에서 JPA로 데이터베이스를 다뤄보자With Computer/Spring Starter Project 2020. 2. 7. 23:39
본 내용은 [책] 스프링부트와 AWS로 혼자 구현하는 웹서비스 에 기반한 글입니다. [ 돈주고 삼 ] 학습내용 JPA/Hibernate/Spring Data Jpa의 관계 Spring Data Jpa를 이용하여 관계형 데이터베이스를 객체지향적으로 관리하는 방법 JPA의 더티체킹을 이용하면 Update쿼리없이 테이블 수정이 가능하다는 것 JPA Auditing을 이용하여 등록/수정 시간을 자동화 하는 방법 테스트코드 작성을 하면 서버를 작동시키고 localhost를 매번 쳐서 뷰페이지에 하나하나 값을 입력하여 요청-결과를 확인할 필요가 없다는 걸 계속 배우는 중 H2 데이터베이스로 웹콘솔을 이용한 실험을 통해 직접 값을 입력하고 조회도 해봄 - 무척 간편하다 mybatis가 ORM의 종류인줄 알았는데, S..
-
[intelliJ] Error: HttpMessageNotReadableExceptionWith Computer/Spring Starter Project 2020. 2. 7. 22:33
[책] 스프링부트와 AWS로 혼자 구현하는 웹서비스 Cannot deserialize instance of `java.lang.Long` out of START_OBJECT token com.zozo.book.springboot.web.PostsApiControllerTest > Posts_�����ȴ� FAILED org.springframework.web.client.RestClientException at PostsApiControllerTest.java:84 Caused by: org.springframework.http.converter.HttpMessageNotReadableException at PostsApiControllerTest.java:84 Caused by: com.fasterxm..