728x90
์๋ฌ ์ค๋ช
์ดํด๋ฆฝ์ค์์ ํ๋ก์ ํธ๋ฅผ ์คํ๋ง ๋ถํธ๋ก ์คํํ ๋ ๋๋ ์๋ฌ
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
ํด๊ฒฐ
ํ๋ก์ ํธ์ application.properties ํ์ผ์ JDBC url์ ์ถ๊ฐํ๋ฉด ๋๋ค.
# DataSource
spring.datasource.url=jdbc:mysql://localhost:3306/[DB์คํค๋ง๋ช ]?serverTimeZone=Asia/Seoul
spring.datasource.username=[DB์ ์Id]
spring.datasource.password=[DB์ ์Password]
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
'๐จ Projects > ์๋ฌ๋ชจ์' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[์๋ฌ๋ชจ์] The dependencies of some of the beans in the application context form a cycle (0) | 2023.03.18 |
---|---|
[GitHub] SQL ์ฝ๋ ์ธ์ ๋ชปํจ (0) | 2023.03.12 |
[์๋ฌ๋ชจ์] exceeded the 'max_questions' resource (0) | 2023.03.08 |
๋ฐฑ์คํ๋ธ ๋นจ๊ฐ ์ฒดํฌ (0) | 2023.03.07 |
[์๋ฌ๋ชจ์] java.lang.UnsupportedClassVersionError (0) | 2023.03.02 |
๋๊ธ