[Kotlin - API 서버 이슈 1] 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. 해결하기



API 서버를 돌리려는데 아래와 같은 에러 메시지가 나왔다.

Error Message >>
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.

application.properties 파일에 아래처럼 DB관련 설정을 추가해줘야한다.

spring.datasource.url=jdbc:mysql://localhost/myappspring.datasource.username=
spring.datasource.password=
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver





[Kotlin - API 서버 이슈 1] Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. [Kotlin - API 서버 이슈 1] Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reviewed by John.P on 7월 05, 2020 Rating: 5

댓글 없음:

Powered by Blogger.