Could not transfer artifact com.microsoft.sqlserver:mssql-jdbc:pom:7.4.1.jre8 from/to central


报错信息

Could not transfer artifact com.microsoft.sqlserver:mssql-jdbc:pom:7.4.1.jre8 from/to central (https://repo.maven.apache.org/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

报错原因

maven 项目的 pom.xml 依赖项 mssql-jdbc 微软不允许以maven的方式直接下载该文件

<dependency>
            <groupId>com.microsoft.sqlserver</groupId>
            <artifactId>mssql-jdbc</artifactId>
            <scope>runtime</scope>
        </dependency>

解决方法

阅读剩余部分

相关阅读 >>

java.lang.classnotfoundexception: org.springframework.web.context.contextloaderlistener

apache maven 构建配置文件

apache maven 管理依赖

apache maven 插件

apache maven 构建 &amp; 测试工程

apache maven web 应用

apache maven 外部依赖

failed to read artifact descriptor for com.aliyun.openservices:aliyun-openservices:jar:2.0.0-ots

apache maven 环境配置

apache maven elipse ide

更多相关阅读请进入《maven》频道 >>




打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...