Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.[2022-11-02 15:43:11][ERROR] Application run failedorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'IReutersConfigServiceImpl': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type 'javax.persistence.EntityManagerFactory' available: expected single matching bean but found 2: biztalkEntityManager,metronomeEntityManager |
EntityManager가 두 개가 충돌해서 발생한 것으로 추측
빈 생성 부분과 인젝션 주입하는 부분에 name을 명시해주어야함.
[jpa] error: package com.querydsl.core.types does not existimport static com.querydsl.core.types.PathMetadataFactory.*; (0) | 2022.11.17 |
---|---|
[JPA] Querydsl - multi datasource 연동 관련 이슈 (0) | 2022.11.04 |
error: variable {변수명} not initialized in the default constructor (0) | 2022.10.31 |
JPA Querydsl 설정 오류 [Attempt to recreate a file for type] (0) | 2022.10.25 |
스프링 부트 톰캣 실행 에러 (0) | 2022.09.28 |