Maven Spring 2.2.1生成错误缺少工件com.microsoft.sqlserver:sqljdbc4:jar:4.0
对于spring 4.1.7到spring boot 2.2.1的部分,我在我的父项目中添加了Maven Spring 2.2.1生成错误缺少工件com.microsoft.sqlserver:sqljdbc4:jar:4.0,maven,spring-boot,maven-3,Maven,Spring Boot,Maven 3,对于spring 4.1.7到spring boot 2.2.1的部分,我在我的父项目中添加了spring boot starter父项目,如下所示 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2
spring boot starter父项目
,如下所示
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.1.RELEASE</version>
<relativePath/>
</parent>
.m2文件夹结构
Am还可参考以下链接
如何解决这个问题。我绑定了删除
C:/Users/Administrator/.m2/repository/com/microsoft/sqlserver/sqljdbc4/4.0
文件夹,然后重建项目。现在对我来说,它工作正常
Missing artifact com.microsoft.sqlserver:sqljdbc4:jar:4.0