Cannot determine embedded database driver class for database type NONE 解决办法

程序报错详细信息如下

 Cannot determine embedded database driver class for database type NONE. 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).

这种情况就是idea无法识别properties文件造成的,直接在pom文件中加入下端内容,问题解决。



    blog
    
        
            ${basedir}/src/main/java
            
                **/*.properties
                **/*.xml
            
        
        
            ${basedir}/src/main/resources
        
    
 

你可能感兴趣的:(错误解决)