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).
已经配置了数据源但是仍然报错未配置。
application.yml反复检查后没有问题。
解决方案:
将pom文件中的
<packaging>pom</packaging>
删掉就可以了。具体原理是啥俺也不明白。。。。