hi
Published 2020. 8. 17. 16:49
리눅스 스프링 실행시 오류 Spring
Description:

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

Reason: Failed to determine suitable jdbc url


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 (the profiles real,db are currently active).

build.gradle에 compile("com.h2database:h2") 을 추가해주면 된다..

'Spring' 카테고리의 다른 글

[오류] springboot 외부 properties 설정  (0) 2020.08.17
profile

hi

@ysk223

포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!