springboot启动出现Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set

1 问题:

       springboot启动出现Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set

       

2 问题的原因:

     这是因为数据源的参数错误,我这里的是spring.datasource.url的参数错误

     

3 解决的方法:

    把url后面的参数修改和数据的数据库名一致,把test改成springboot就可以了

        

        

猜你喜欢

转载自blog.csdn.net/t0404/article/details/82620015