250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- JavaScript
- jquery
- swiper
- classlist
- 인덱스
- error
- vscode
- slidePerGroup
- index
- css
- javascirpt
- slidePerView
- querySelector
- eslint
- realIndex
- eslint prettier
- prettier
- watchOverflow
- archiver
- activeIndex
- slideChange
- js
- swiperOption
- vue2
- CORS
- display
- loop:true
- v-bind
- centerSlides
- Vue
Archives
- Today
- Total
코딩하는 둥둥
[ SpringBoot / ERROR] Failed to load ApplicationContext 본문
728x90
java.lang.IllegalStateException
: Failed to load ApplicationContext 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]
1. h2 데이터베이스를 서버 모드로 띄워두지 않았을 때 발생하는 오류이기때문에
h2데이터베이스가 실행되었는지 & localhost:8082로 서버에 잘 접속이 되는지 확인
2. application.yml의 spring > datasource > url에 ;MVCC=TRUE가 잘 제거되었는지 확인
※ ;MVCC=TRUE를 제거해줘야하는 이유는?
https://doongi9.tistory.com/entry/%EC%8A%A4%ED%94%84%EB%A7%81%EB%B6%80%ED%8A%B8%EC%99%80-JPA-%ED%99%9C%EC%9A%A9-1-%ED%94%84%EB%A1%9C%EC%A0%9D%ED%8A%B8-%ED%99%98%EA%B2%BD%EC%84%A4%EC%A0%95-JPA%EC%99%80-DB-%EC%84%A4%EC%A0%95-%EB%8F%99%EC%9E%91%ED%99%95%EC%9D%B8
[ 참고 사이트 ]
728x90
'ERROR > JAVA' 카테고리의 다른 글
[ JAVA ERROR/STS ] Ajax : parseerror (0) | 2021.12.23 |
---|---|
[ JAVA ERROR/STS ] DefaultHandlerExceptionResolver (0) | 2021.12.22 |
[ JAVA ERROR/STS ] ClassNotFoundException: org.springframework.web.context.ContextLoaderListener (0) | 2021.12.18 |
[ JAVA ERROR/Eclipse ] org.apache.catalina.LifecycleException (0) | 2021.12.13 |
[ Eclipse / ERROR ] ClassNotFoundException : OJDBC 연결/추가 (0) | 2021.12.08 |