• 카테고리

    질문 & 답변
  • 세부 분야

    백엔드

  • 해결 여부

    미해결

컴파일 관련 에러

22.04.10 22:19 작성 조회수 526

0

test 중에 계속

1. HikariPool-1 - Exception during pool initialization.

 

2.2022-04-10 22:13:08.388 ERROR 10156 --- [           main] j.LocalContainerEntityManagerFactoryBean : Failed to initialize JPA EntityManagerFactory: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]

 

3.2022-04-10 22:13:08.382  WARN 10156 --- [           main] o.h.e.j.e.i.JdbcEnvironmentInitiator     : HHH000342: Could not obtain connection to query metadata

 

 

4.022-04-10 22:13:08.388  WARN 10156 --- [           main] o.s.w.c.s.GenericWebApplicationContext   : Exception encountered during context initialization - cancelling refresh attempt: 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.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]

 

이러한 에러가 뜹니다... 구글링을 해봐도 yml 문제도 아닌거같고

알려주시면 감사하겠습니다..

 

답변 1

답변을 작성해보세요.

0

OMG님의 프로필

OMG

2022.04.11

안녕하세요. fe00045님, 공식 서포터즈 OMG입니다.

h2를 실행하고 확인해주세요.

h2실행 여부와 관계없이 문제가 발생하는 경우 아래의 내용을 첨부해주세요.

 

1. build.gradle

2. application.yml

3. h2접속화면


감사합니다.