***************************
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
에러 로그를 살펴보면,
'url' attribute is not specified and no embedded datasource could be configured.
즉 url attribute 가 잘못되었음을 나타내고 있다.
하지만 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 (no profiles are currently active).
필자의 경우는 2번에 해당되어 Spring Application 실행시 Active Profile 을 변경해줌으로써 문제를 해결함.