728x90
Process 'command 'C:\Program Files\자바경로' finished with non-zero exit value 1
해결방법
Files > settings > Build, Execution, Deployment > Gradle(난 gradle임)
bulid and run using:
Run tests using:
원래 gradle이었는데 IntelliJ IDEA로 변경해준다
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
해결방법
DB 설정이 안되어있어서 그럼
application.properties에 추가
# mysql database settings
spring.datasource.driver-class-name = com.mysql.cj.jdbc.Driver
spring.datasource.url = jdbc:mysql://localhost:3306/schema?serverTimezone=UTC&characterEncoding=UTF-8
spring.datasource.username = root
spring.datasource.password = 0000
728x90