개발/SpringBoot14 @Autowired 필드 주입 , private final 생성자 주입 차이 https://jackjeong.tistory.com/41 [Spring] 생성자 주입 vs 필드 주입 (@Autowired) 안녕하세요~ 잭코딩입니다! 이번에는 스프링 프레임워크에서 의존성을 주입하는 방법을 살펴보고 어떤 방식으로 주입하는 게 좋은지 살펴볼까요? 우선 결론부터 말하자면 생성자 주입 (Constructo jackjeong.tistory.com 2022. 5. 31. [해결] 스프링 BeanCreationException:, org.hibernate.AnnotationException 에러 ✔ 문제 JPA로 테이블을 생성하려고 하는데 다음과 같은 에러가 났다. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.AnnotationException: No identifier specified for entity: webapp.mys.. 2022. 3. 11. 이전 1 2 3 4 다음