
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
안녕하세요 ㅎㅎ 실행하는중에 에러가 발생해서 질문을 남깁니다.
아무래도 디비 연동에 대한 에러인것 같은데 평소에는 local 에다가 설치해서 사용했지만 , 수업에서 h2 사용하는것을 권장하시는것 같아 h2 를 사용해보려고 합니다 .ㅎ
하지만 밑에와 같이 에러가 발생하는데요 ㅠㅠ
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource
토대로 검색해보니 https://seungyooon.tistory.com/218
결과가 나왔고 수정해도 똑같은 에러가 발생하네요
spring.h2.console.enabled=true spring.datasource.url=jdbc:h2:mem:testdb spring.jpa.show-sql=true spring.h2.console.path=/h2-console spring.datasource.username=username spring.datasource.password= spring.h2.console.settings.trace=false spring.h2.console.settings.web-allow-others=true spring.sql.init.mode=always spring.jpa.database-platform=org.hibernate.dialect.H2Dialect spring.jpa.hibernate.ddl-auto=none spring.jpa.properties.hibernate.use_sql=true spring.jpa.properties.hibernate.format_sql=true
보고 계신 화면 전체를 캡처

해 주시면, 튜터님들이 빠르게 상황을 이해할 수 있어요.
