错误描述如下
Description:
Cannot determine embedded database driver class for database type NONE
Action:
If you want an embedded database please put a supported one on the classpath. If you have database settings to be loaded from a particular profile you may need to active it (no profiles are currently active).
明明自己的数据库驱动,类包,配置,实现都写好了,还是会报错呢,问题点就在下面
<resources>
<!-- 打包时将jsp文件拷贝到META-INF目录下 -->
<resource>
<!-- 指定resources插件处理哪个目录下的资源文件 -->
<directory>src/main/webapp</directory>
<!--注意此次必须要放在此目录下才能被访问到 -->
<targetPath>META-INF/resources</targetPath>
<includes>
<include>**/**</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
就因为资源文件在加载的时候缺少了这个看进来无用的内容(红字部分)
在pom.xml中添加上就可以完正常运行了,这个错误是反复尝试得到的结果,希望后来者谨记!