2023-07-21 16:52阅读: 104评论: 0推荐: 0

手动编译 org.eclipse.jgit-5.1.17 报错处理

 

1、下载源码

2、mvn clean package

报错

WalkEncryption.java:  DatatypeConverter The import javax.xml.bind cannot be resolved

3、处理方案

增加依赖

<dependencies>
        <dependency>
            <groupId>javax.xml.bind</groupId>
            <artifactId>jaxb-api</artifactId>
            <version>2.3.0</version>
        </dependency>
        <dependency>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb-impl</artifactId>
            <version>2.3.0</version>
        </dependency>
        <dependency>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb-core</artifactId>
            <version>2.3.0</version>
        </dependency>
        <dependency>
            <groupId>javax.activation</groupId>
            <artifactId>activation</artifactId>
            <version>1.1.1</version>
        </dependency>
    </dependencies>

4、参考连接

https://blog.csdn.net/weixin_44290191/article/details/117446429

本文作者:鹰翱

本文链接:https://www.cnblogs.com/guoqiang5277/articles/17571922.html

版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。

posted @   鹰翱  阅读(104)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示
评论
收藏
关注
推荐
深色
回顶
收起