Sts 실행 시 아래와 같은 문제가 발생하였다.
***************************
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).
DB설정에 문제가 있기 때문에 나타나는 메시지이다.
https://docs.spring.io/spring-boot/docs/2.0.5.RELEASE/reference/htmlsingle/#boot-features-configure-datasource
application.properties 또는 yml 에 설정한 DB정보를 다시 설정 후 실행할 것
mysql jdbc 설정하기.
DataSource configuration is controlled by external configuration properties in spring.datasource.*. For example, you might declare the following section inapplication.properties:
'IT 문제해결' 카테고리의 다른 글
c# 일관성 없는 엑세스 가능성 오류 메시지. (0) | 2019.09.28 |
---|---|
nvidia container 끄기 (1) | 2019.04.25 |
파일 첨부시 익스플로어 종료 (0) | 2019.03.05 |
Error creating bean with name 'entityManagerFactory' defined in class path resource : Invocation of init method failed (0) | 2019.01.08 |
윈도우10 로그인 비밀번호 변경 (0) | 2018.09.18 |
댓글