directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny (Jira) <j...@apache.org>
Subject [jira] [Commented] (DIRAPI-354) java.lang.NoClassDefFoundError: org/apache/directory/api/i18n/I18n in osgi
Date Tue, 03 Mar 2020 16:06:00 GMT

    [ https://issues.apache.org/jira/browse/DIRAPI-354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17050342#comment-17050342
] 

Emmanuel Lécharny commented on DIRAPI-354:
------------------------------------------

Good catch !

 

I guess this is also true for all the others modules.

 

I'll get that fix. Thanks !

> java.lang.NoClassDefFoundError: org/apache/directory/api/i18n/I18n in osgi
> --------------------------------------------------------------------------
>
>                 Key: DIRAPI-354
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-354
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Arnaud MERGEY
>            Priority: Major
>
> I experienced a java.lang.NoClassDefFoundError: org/apache/directory/api/i18n/I18n 
using API in osgi environment trying to activate debug logging.
> It seems *org.apache.directory.api.ldap.net.mina* is dependent of *org.apache.directory.api.i18n* but
there is no import package defined in MANIFEST 
>  
> {code:java}
> java.lang.NoClassDefFoundError: org/apache/directory/api/i18n/I18n at org.apache.directory.api.ldap.codec.protocol.mina.LdapProtocolEncoder.encode(LdapProtocolEncoder.java:115)
at org.apache.mina.filter.codec.ProtocolCodecFilter.filterWrite(ProtocolCodecFilter.java:323)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callPreviousFilterWrite(DefaultIoFilterChain.java:753)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1500(DefaultIoFilterChain.java:49)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.filterWrite(DefaultIoFilterChain.java:1146)
at org.apache.mina.core.filterchain.IoFilterAdapter.filterWrite(IoFilterAdapter.java:138)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callPreviousFilterWrite(DefaultIoFilterChain.java:753)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireFilterWrite(DefaultIoFilterChain.java:746)
at org.apache.mina.core.session.AbstractIoSession.write(AbstractIoSession.java:570) at org.apache.mina.core.session.AbstractIoSession.write(AbstractIoSession.java:515)
at org.apache.directory.ldap.client.api.LdapNetworkConnection.writeRequest(LdapNetworkConnection.java:5126)
at org.apache.directory.ldap.client.api.LdapNetworkConnection.bindAsync(LdapNetworkConnection.java:1610){code}



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

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


Mime
View raw message