[오류 해결] Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reason: Failed to determine a suitable driver class 다음 문구는 DB를 테스트 연결하기 위해 스프링 부트 프로젝트를 구성하였을때 나왔던 에러이다. 직역하자면 DB 환경설정을 제대로 하지 않으면 그 DataSoucre url을 찾지못해서 오류가 발생한다는 의미이다. 나의 경우 application.yml을 통해 DB관련 설정을 완료했다고 생각했기에 의아했다. [에러 발생 예시 코드] spring: datasource: driver-class-name: oracle..
2023.05.31