[오류]디비연결 안했을경우 (spring boot)

신상우·2023년 7월 29일

APPLICATION FAILED TO START


Description:

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

Reason: Failed to determine a suitable driver class

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 (no profiles are currently active).

Process finished with exit code 1

이런오류가 나오는이유는
// implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
jpa를 사용중이였다 근데 db연결을 아직 하지않은 상태라 나는 오류였다

profile
기록 남기기

1개의 댓글

comment-user-thumbnail
2023년 7월 29일

유익한 글이었습니다.

답글 달기