[ 
https://issues.apache.org/jira/browse/DIRAPI-357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Seelmann resolved DIRAPI-357.
------------------------------------
    Resolution: Cannot Reproduce

Close as "cannot reproduce" as no reproduction steps were provided. Please 
reopen if it's still a problem.

> java.lang.NoClassDefFoundError: 
> org/apache/directory/ldap/client/api/LdapConnectionFactory
> ------------------------------------------------------------------------------------------
>
>                 Key: DIRAPI-357
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-357
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>         Environment: Java 11
>            Reporter: Patrick Hub
>            Priority: Blocker
>
> I am using Apache Ldap Client API to connect to remote OpenLDAP Server.
> I have add this dependency in my pom.xml file:
> <dependency><dependency>                           
>     <groupId>org.apache.directory.api</groupId>    
>      <artifactId>api-all</artifactId>    
>       <version>2.0.1</version>
> </dependency>
> But when I deploy the app as war file in wildfly Every work fine. I can 
> performed CRUD operations on OpenLDAP Server using Apache Ldap Client API.
> But when I try to deploy the app as jar file in wildfly, I get the following 
> error :
> Caused by: java.lang.NoClassDefFoundError: 
> org/apache/directory/ldap/client/api/LdapConnectionFactory
>  at java.base/java.lang.Class.getDeclaredFields0(Native Method)
>  at java.base/java.lang.Class.privateGetDeclaredFields(Class.java:3062)
>  at java.base/java.lang.Class.getDeclaredFields(Class.java:2249)
>  at 
> org.jboss.as.server@10.0.3.Final//org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:72)
>  at 
> org.jboss.as.server@10.0.3.Final//org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70)
>  
> Please can someone help me ?
> Thank
>  
> But I have used 
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org

Reply via email to