简体   繁体   English

导入org.apache.commons.id无法解析

[英]The import org.apache.commons.id cannot be resolved

I have used the following dependeny in my POM 我在POM中使用了以下依赖项

<dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-sandbox-parent</artifactId>
            <version>10</version>
            <type>pom</type>
</dependency>

but still I am getting the error 但我仍然得到错误

The import org.apache.commons.id cannot be resolved

The artifact id is incorrect. 工件ID不正确。 If you look at the pom file for the project, the artifact id should be commons-id . 如果查看项目的pom文件 ,工件ID应为commons-id

I finally found something. 我终于找到了一些东西 There is no maven release for Apache Commons Id yet. Apache Commons Id还没有maven版本。 However we can download the Jar and use. 但是我们可以下载Jar并使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM