ApacheDS模式/ou=schema/cn=adsconfig.ldif的多个副本

时间:2018-12-24 05:13:03

标签: java ldap apacheds

我正在尝试将ApacheDS与以下pom条目一起使用:

</dependency>
    <dependency>
    <groupId>org.apache.directory.server</groupId>
    <artifactId>apacheds-core</artifactId>
    <version>2.0.0-M24</version>
</dependency>
<dependency>
    <groupId>org.apache.directory.server</groupId>
    <artifactId>apacheds-all</artifactId>
    <version>2.0.0-M24</version>
</dependency>

但是我得到了

org.apache.directory.api.ldap.schema.extractor.UniqueResourceException: Problem locating schema LDIF file
    Multiple copies of resource named 'schema/ou=schema/cn=adsconfig.ldif' located on classpath at urls
        jar:file:/rust/home-luke/.m2/repository/org/apache/directory/api/api-ldap-schema-data/1.0.0-RC1/api-ldap-schema-data-1.0.0-RC1.jar!/schema/ou%3dschema/cn%3dadsconfig.ldif
        jar:file:/rust/home-luke/.m2/repository/org/apache/directory/server/apacheds-all/2.0.0-M23/apacheds-all-2.0.0-M23.jar!/schema/ou%3dschema/cn%3dadsconfig.ldif

我应该依靠别的东西吗?

旁注: ApacheDS不可靠吗?我认为它已经8年没有发布GA了。

0 个答案:

没有答案