公司不需要做网站了,烟台商城网站建设,做网站发布,wordpress 4.7解析文章目录 1、在开发中会出现这样的错误。2、其次#xff0c;再看其他错误#xff1a; 1、在开发中会出现这样的错误。
完整错误#xff1a;Caused by: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Error: GlobalConfigUtils setMetaData Fail ! Cause… 文章目录 1、在开发中会出现这样的错误。2、其次再看其他错误 1、在开发中会出现这样的错误。
完整错误Caused by: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Error: GlobalConfigUtils setMetaData Fail ! Cause:java.lang.NullPointerException
这是说明数据库的连接及操作等出现了异常。首先定位到是操作数据库的问题。
2、其次再看其他错误
1Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘alertServiceImpl’: Unsatisfied dependency expressed through field ‘baseMapper’; nested exception is
2org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘alertMapper’ defined in file
3Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘alertMapper’ defined in file
上述原因都说明没有形成springboot 的完整依赖。
接下来去看数据库 由此key可以看到是因为第一数据源注释了启动找不到数据源连接因此出现无法依赖导致报错。
至此打开数据源即可正常启动项目。