对于spring 4.1.7到spring boot 2.2.1的一部分,我已经在我的父项目中添加了spring-boot-starter-parent,如下所示。
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.1.RELEASE</version>
<relativePath/>
</parent>当我试图构建我的父项目和子项目时,得到了一个错误
Missing artifact com.microsoft.sqlserver:sqljdbc4:jar:4.0

.m2文件夹结构

我还参考了下面的链接stackoverflow
如何解决这个问题。
发布于 2019-11-28 18:12:15
我删除了C:/Users/Administrator/.m2/repository/com/microsoft/sqlserver/sqljdbc4/4.0文件夹,然后重建了.Now项目,它对我来说工作得很好。
https://stackoverflow.com/questions/59086324
复制相似问题