> On Dec 19, 2018, at 9:39 AM, Emmanuel Lécharny <[email protected]> wrote: > > sorry for the delayed response. > > For some reason, ldap-api-all is being loaded while it should not. I have > tried to get rid of it, but it's also present in many dependencies (as a > third party), so it's quite painful. > > One solution would be to exclude the api-ldap-schema-data from all the > dependencies that use it. It's pretty hard to do it by hand (you'll have to > check every single dependency), but thanks to Eclipse maven integration, you > can have it done automatically :
Hey Emmanuel. No worries. I tried the exclusion, but didn’t get all of the dependencies, and gave up. Went with Lucas’ workaround. > > On Dec 19, 2018, at 9:39 AM, Emmanuel Lécharny <[email protected]> wrote: > > Note:when I run the test, I have a failure, but that might be due to some > other reasons (like I'm using a more recent version of the API). Here is the > trace I get : > > java.lang.InstantiationError: org.apache.directory.api.ldap.model.entry.Value > at > org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.initInstance(AbstractBTreePartition.java:268) Exactly where I’m stuck, using the API version: <version.api.all>1.0.2</version.api.all> Thanks, —Shawn
signature.asc
Description: Message signed with OpenPGP
