报错如下
[com/pactera/magic/conf/mybatiesplus/MybatisPlusConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is com.baomidou.mybatisplus.exceptions.MybatisPlusException: Error: GlobalConfigUtils setMetaData Fail ! Cause:java.sql.SQLException: org.postgresql.Driver
解决方案
1、看下mvan依赖里有没有postgres的依赖
2、配置文件里有没有postgres的连接信息,pg驱动是否正确



