Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.2 Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. spring boot 처음실행 시 다음과 같은 에러가 났다. Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. application.properties 에 JDBC url 을 추가해준다. [mysql] spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.url=jdbc:mysql://localhost:3306/[DB스키마명]?autoReconnect=true spring.datasource.username=[DB접속Id] spring.datasource.password.. 2021. 10. 7. Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. 다음과 같은 오류를 만나면 DB 정보가 입력되지 않아 생기는 오류이므로 application.properties 에 아래 코드를 입력해주면 된다. spring.datasource.driver-class-name=org.mariadb.jdbc.Driver spring.datasource.url=jdbc:mariadb://localhost:3306/database이름?characterEncoding=UTF-8&serverTimezone=UTC spring.datasource.username= spring.datasource.password= 2021. 4. 22. 이전 1 다음