报错'pom.xml' has syntax errors和Unresolved dependency: 'org.mybatis:mybatis:jar:8.0.25'

 

错误:'pom.xml' has syntax errors

解决方法:

构建SpringBoot项目时报错:'pom.xml' has syntax errors

大概率是pom.xml中出现了语法错误 <dependency>和</dependency>要成对出现

 

错误:Unresolved dependency: 'org.mybatis:mybatis:jar:8.0.25'

原因:idea导入mybatis依赖dependency配置错误情况

解决:

 

导入阿里云镜像

 

 

posted @ 2022-11-07 22:43  YE-  阅读(1757)  评论(0编辑  收藏  举报