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).
后台打包dos命令出现上面的错误
我的是因为的的配置文件没有在resource下面,所以把application.yml文件复制在jar包文件就可以了
![在这里插入图片描述](https://img-blog.csdnimg.cn/20201228165804852.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzUwMDMxMDE2,size_16,color_FFFFFF,t_70#pic_center)