This page looks best with JavaScript enabled

关于maven无法导包解决Dependency not found

 ·  ☕ 1 min read

    报错:Dependency ‘org.dom4j:dom4j:2.1.1’ not found

    我开始是直接在最顶层的pom.xml中的<dependencyManagement>标签中导版本包

    然后就一直报Dependency ‘org.dom4j:dom4j:2.1.1’ not found

    最后解决是直接到子模块中导包,发现可以导入,然后将子模块的版本号去掉

    Support the author with
    alipay QR Code
    wechat QR Code