티스토리 뷰
반응형
***************************
APPLICATION FAILED TO START
***************************
Description:
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
Action:
Consider the following:
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).
Springboot가 자동 시작될 때 필요한 기본 설정이 설정되지 않아서 발생한 문제이다.
build.gradle 파일 dependencies 에 compile("mysql:mysql-connector-java:5.1.34") 추가
반응형
댓글
반응형