[스프링(Srping)]H2-console 사용하면서 난 오류

allnight5·2023년 3월 19일
0

스프링

목록 보기
55/62
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 0

이런 오류가 나왔다.
yml파일은 들여쓰기가 중요하다.
한칸더 들여쓰기 하니까 찾지 못한다.

또 한가지 gradle에 넣고 새로고침해서 적용했는지 살펴보자
한번씩 하지 않고 햇다고 착각했을수 있으니 고민해보자

profile
공부기록하기

0개의 댓글