[jitsi-dev] Problems adding new funcionality (NoClassDefFoundError)


#1

Hello,

I am modifying InitialAccountRegistrationFrame to do a check in an LDAP
directory. To access the LDAP directory use:
javax.naming.directory.DirContext.

The compilation is correct, but at runtime I get this error:

···

*
*
*12:20:01.205 SEVERE: [40] util.UtilActivator.uncaughtException().91 An
uncaught exception occurred in thread=Thread[AWT-EventQueue-0,6,main] and
message was: javax/naming/directory/DirContext*
*java.lang.NoClassDefFoundError: javax/naming/directory/DirContext **at
net.java.sip.communicator.plugin.simpleaccreg.InitialAccountRegistrationFrame$AccountRegistrationPanel.signin(InitialAccountRegistrationFrame.java:422)
*
* at
net.java.sip.communicator.plugin.simpleaccreg.InitialAccountRegistrationFrame$SigninActionListener.actionPerformed(InitialAccountRegistrationFrame.java:514)
*
* at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)*
* at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
*
* at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
*
* at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)*
* at javax.swing.AbstractButton.doClick(AbstractButton.java:376)*
* at
javax.swing.plaf.basic.BasicRootPaneUI$Actions.actionPerformed(BasicRootPaneUI.java:208)
*
* at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1664)*
* at javax.swing.JComponent.processKeyBinding(JComponent.java:2879)*
* at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:306)*
* at
javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:250)*
* at
javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2971)
*
* at javax.swing.JComponent.processKeyBindings(JComponent.java:2963)*
* at javax.swing.JComponent.processKeyEvent(JComponent.java:2842)*
* at java.awt.Component.processEvent(Component.java:6282)*
* at java.awt.Container.processEvent(Container.java:2229)*
* at java.awt.Component.dispatchEventImpl(Component.java:4861)*
* at java.awt.Container.dispatchEventImpl(Container.java:2287)*
* at java.awt.Component.dispatchEvent(Component.java:4687)*
* at
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1895)
*
* at
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:762)
*
* at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1027)
*
* at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:899)
*
* at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:727)
*
* at java.awt.Component.dispatchEventImpl(Component.java:4731)*
* at java.awt.Container.dispatchEventImpl(Container.java:2287)*
* at java.awt.Window.dispatchEventImpl(Window.java:2719)*
* at java.awt.Component.dispatchEvent(Component.java:4687)*
* at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)*
* at java.awt.EventQueue.access$200(EventQueue.java:103)*
* at java.awt.EventQueue$3.run(EventQueue.java:682)*
* at java.awt.EventQueue$3.run(EventQueue.java:680)*
* at java.security.AccessController.doPrivileged(Native Method)*
* at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
*
* at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
*
* at java.awt.EventQueue$4.run(EventQueue.java:696)*
* at java.awt.EventQueue$4.run(EventQueue.java:694)*
* at java.security.AccessController.doPrivileged(Native Method)*
* at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
*
* at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)*
* at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
*
* at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
*
* at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
*
* at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)*
* at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)*
* at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)*
*Caused by: java.lang.ClassNotFoundException:
javax.naming.directory.DirContext not found by [4]*
* at
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:812)
*
* at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:72)*
* at
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1807)
*
* at java.lang.ClassLoader.loadClass(ClassLoader.java:356)*

I tried adding the jar jndi-1.2.1.jar in felix.client.run.properties and
.classpath, but the error still appears.
Any idea?

Thanks!
JMM


#2

Hi,

when using osgi bundles, to use a package you must import it in your
bundle manifest file. You can check the developer documentation:
https://jitsi.org/Documentation/CreatingServices
And in order to import a package in the manifest file it must be
exported by some other bundle.
When adding a library you add it in the place you use it, but if it is
used on several places you add the library like a bundle exporting its
packages.
Hop this helps and clear things.

Cheers
damencho

···

On Wed, Mar 6, 2013 at 1:30 PM, Jesús Martínez Martínez <jesusmm@um.es> wrote:

Hello,

I am modifying InitialAccountRegistrationFrame to do a check in an LDAP
directory. To access the LDAP directory use:
javax.naming.directory.DirContext.

The compilation is correct, but at runtime I get this error:

12:20:01.205 SEVERE: [40] util.UtilActivator.uncaughtException().91 An
uncaught exception occurred in thread=Thread[AWT-EventQueue-0,6,main] and
message was: javax/naming/directory/DirContext
java.lang.NoClassDefFoundError: javax/naming/directory/DirContext at
net.java.sip.communicator.plugin.simpleaccreg.InitialAccountRegistrationFrame$AccountRegistrationPanel.signin(InitialAccountRegistrationFrame.java:422)
at
net.java.sip.communicator.plugin.simpleaccreg.InitialAccountRegistrationFrame$SigninActionListener.actionPerformed(InitialAccountRegistrationFrame.java:514)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at
javax.swing.plaf.basic.BasicRootPaneUI$Actions.actionPerformed(BasicRootPaneUI.java:208)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1664)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2879)
at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:306)
at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:250)
at
javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2971)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2963)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2842)
at java.awt.Component.processEvent(Component.java:6282)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1895)
at
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:762)
at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1027)
at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:899)
at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:727)
at java.awt.Component.dispatchEventImpl(Component.java:4731)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:682)
at java.awt.EventQueue$3.run(EventQueue.java:680)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:696)
at java.awt.EventQueue$4.run(EventQueue.java:694)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
Caused by: java.lang.ClassNotFoundException:
javax.naming.directory.DirContext not found by [4]
at
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:812)
at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:72)
at
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1807)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)

I tried adding the jar jndi-1.2.1.jar in felix.client.run.properties and
.classpath, but the error still appears.
Any idea?

Thanks!
JMM


#3

Thanks Damian,

If I understand you, I have to add packages in the manifest of the bundle,
in this case simpleaccreg.

I added the following to simpleaccreg.manifest.mf:

* javax.naming.NamingEnumeration,*
* javax.naming.directory.Attribute,*
* javax.naming.directory.DirContext,*
* javax.naming.directory.InitialDirContext,*
* javax.naming.directory.SearchControls,*
* javax.naming.directory.SearchResult*

However, I get the following error:

*ERROR: Bundle [4] Error starting
reference:file:sc-bundles/simpleaccreg.jar
(org.osgi.framework.BundleException: Unresolved constraint in bundle [4]:
Unable to resolve 4.0: missing requirement [4.0] package;
(package=javax.naming.Context))*

Did I leave something?

A greeting.
JMM

···

2013/3/6 Damian Minkov <damencho@jitsi.org>

Hi,

when using osgi bundles, to use a package you must import it in your
bundle manifest file. You can check the developer documentation:
https://jitsi.org/Documentation/CreatingServices
And in order to import a package in the manifest file it must be
exported by some other bundle.
When adding a library you add it in the place you use it, but if it is
used on several places you add the library like a bundle exporting its
packages.
Hop this helps and clear things.

Cheers
damencho

On Wed, Mar 6, 2013 at 1:30 PM, Jesús Martínez Martínez <jesusmm@um.es> > wrote:
> Hello,
>
> I am modifying InitialAccountRegistrationFrame to do a check in an LDAP
> directory. To access the LDAP directory use:
> javax.naming.directory.DirContext.
>
> The compilation is correct, but at runtime I get this error:
>
> 12:20:01.205 SEVERE: [40] util.UtilActivator.uncaughtException().91 An
> uncaught exception occurred in thread=Thread[AWT-EventQueue-0,6,main] and
> message was: javax/naming/directory/DirContext
> java.lang.NoClassDefFoundError: javax/naming/directory/DirContext at
>
net.java.sip.communicator.plugin.simpleaccreg.InitialAccountRegistrationFrame$AccountRegistrationPanel.signin(InitialAccountRegistrationFrame.java:422)
> at
>
net.java.sip.communicator.plugin.simpleaccreg.InitialAccountRegistrationFrame$SigninActionListener.actionPerformed(InitialAccountRegistrationFrame.java:514)
> at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
> at
>
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
> at
>
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
> at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
> at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
> at
>
javax.swing.plaf.basic.BasicRootPaneUI$Actions.actionPerformed(BasicRootPaneUI.java:208)
> at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1664)
> at javax.swing.JComponent.processKeyBinding(JComponent.java:2879)
> at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:306)
> at
javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:250)
> at
>
javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2971)
> at javax.swing.JComponent.processKeyBindings(JComponent.java:2963)
> at javax.swing.JComponent.processKeyEvent(JComponent.java:2842)
> at java.awt.Component.processEvent(Component.java:6282)
> at java.awt.Container.processEvent(Container.java:2229)
> at java.awt.Component.dispatchEventImpl(Component.java:4861)
> at java.awt.Container.dispatchEventImpl(Container.java:2287)
> at java.awt.Component.dispatchEvent(Component.java:4687)
> at
>
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1895)
> at
>
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:762)
> at
>
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1027)
> at
>
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:899)
> at
>
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:727)
> at java.awt.Component.dispatchEventImpl(Component.java:4731)
> at java.awt.Container.dispatchEventImpl(Container.java:2287)
> at java.awt.Window.dispatchEventImpl(Window.java:2719)
> at java.awt.Component.dispatchEvent(Component.java:4687)
> at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)
> at java.awt.EventQueue.access$200(EventQueue.java:103)
> at java.awt.EventQueue$3.run(EventQueue.java:682)
> at java.awt.EventQueue$3.run(EventQueue.java:680)
> at java.security.AccessController.doPrivileged(Native Method)
> at
>
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
> at
>
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
> at java.awt.EventQueue$4.run(EventQueue.java:696)
> at java.awt.EventQueue$4.run(EventQueue.java:694)
> at java.security.AccessController.doPrivileged(Native Method)
> at
>
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)
> at
>
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
> at
>
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
> at
>
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
> Caused by: java.lang.ClassNotFoundException:
> javax.naming.directory.DirContext not found by [4]
> at
>
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:812)
> at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:72)
> at
>
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1807)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
>
> I tried adding the jar jndi-1.2.1.jar in felix.client.run.properties and
> .classpath, but the error still appears.
> Any idea?
>
> Thanks!
> JMM

--

Jesús Martínez Martínez**

ATICA - Área de Tecnologías de la Información y las Comunicaciones Aplicadas
****

Campus de Espinardo****

Universidad de Murcia****

30100 Murcia****

Tfno. 868 88 8209****

Fax. 868 88 8337

https://twitter.com/jesusm2

*http://www.linkedin.com/in/jesusmartinezmartinez*

** **

*P* Antes de imprimir este mensaje asegúrese bien de si es necesario
hacerlo. El medio ambiente está en nuestras manos.


#4

Hi again,

Thanks Damian,

If I understand you, I have to add packages in the manifest of the bundle,
in this case simpleaccreg.

I added the following to simpleaccreg.manifest.mf:

javax.naming.NamingEnumeration,
javax.naming.directory.Attribute,
javax.naming.directory.DirContext,
javax.naming.directory.InitialDirContext,
javax.naming.directory.SearchControls,
javax.naming.directory.SearchResult

you can check other bundles that are using this package, import and
exports are about packages, not classes (just import javax.naming).

However, I get the following error:

ERROR: Bundle [4] Error starting reference:file:sc-bundles/simpleaccreg.jar
(org.osgi.framework.BundleException: Unresolved constraint in bundle [4]:
Unable to resolve 4.0: missing requirement [4.0] package;
(package=javax.naming.Context))

Did I leave something?

A greeting.
JMM

Hi,

when using osgi bundles, to use a package you must import it in your
bundle manifest file. You can check the developer documentation:
https://jitsi.org/Documentation/CreatingServices
And in order to import a package in the manifest file it must be
exported by some other bundle.
When adding a library you add it in the place you use it, but if it is
used on several places you add the library like a bundle exporting its
packages.
Hop this helps and clear things.

Cheers
damencho

> Hello,
>
> I am modifying InitialAccountRegistrationFrame to do a check in an LDAP
> directory. To access the LDAP directory use:
> javax.naming.directory.DirContext.
>
> The compilation is correct, but at runtime I get this error:
>
> 12:20:01.205 SEVERE: [40] util.UtilActivator.uncaughtException().91 An
> uncaught exception occurred in thread=Thread[AWT-EventQueue-0,6,main]
> and
> message was: javax/naming/directory/DirContext
> java.lang.NoClassDefFoundError: javax/naming/directory/DirContext at
>
> net.java.sip.communicator.plugin.simpleaccreg.InitialAccountRegistrationFrame$AccountRegistrationPanel.signin(InitialAccountRegistrationFrame.java:422)
> at
>
> net.java.sip.communicator.plugin.simpleaccreg.InitialAccountRegistrationFrame$SigninActionListener.actionPerformed(InitialAccountRegistrationFrame.java:514)
> at
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
> at
>
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
> at
>
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
> at
> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
> at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
> at
>
> javax.swing.plaf.basic.BasicRootPaneUI$Actions.actionPerformed(BasicRootPaneUI.java:208)
> at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1664)
> at javax.swing.JComponent.processKeyBinding(JComponent.java:2879)
> at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:306)
> at
> javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:250)
> at
>
> javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2971)
> at javax.swing.JComponent.processKeyBindings(JComponent.java:2963)
> at javax.swing.JComponent.processKeyEvent(JComponent.java:2842)
> at java.awt.Component.processEvent(Component.java:6282)
> at java.awt.Container.processEvent(Container.java:2229)
> at java.awt.Component.dispatchEventImpl(Component.java:4861)
> at java.awt.Container.dispatchEventImpl(Container.java:2287)
> at java.awt.Component.dispatchEvent(Component.java:4687)
> at
>
> java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1895)
> at
>
> java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:762)
> at
>
> java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1027)
> at
>
> java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:899)
> at
>
> java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:727)
> at java.awt.Component.dispatchEventImpl(Component.java:4731)
> at java.awt.Container.dispatchEventImpl(Container.java:2287)
> at java.awt.Window.dispatchEventImpl(Window.java:2719)
> at java.awt.Component.dispatchEvent(Component.java:4687)
> at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)
> at java.awt.EventQueue.access$200(EventQueue.java:103)
> at java.awt.EventQueue$3.run(EventQueue.java:682)
> at java.awt.EventQueue$3.run(EventQueue.java:680)
> at java.security.AccessController.doPrivileged(Native Method)
> at
>
> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
> at
>
> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
> at java.awt.EventQueue$4.run(EventQueue.java:696)
> at java.awt.EventQueue$4.run(EventQueue.java:694)
> at java.security.AccessController.doPrivileged(Native Method)
> at
>
> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)
> at
>
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
> at
>
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
> at
>
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
> Caused by: java.lang.ClassNotFoundException:
> javax.naming.directory.DirContext not found by [4]
> at
>
> org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:812)
> at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:72)
> at
>
> org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1807)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
>
> I tried adding the jar jndi-1.2.1.jar in felix.client.run.properties and
> .classpath, but the error still appears.
> Any idea?
>
> Thanks!
> JMM

--

Jesús Martínez Martínez

ATICA - Área de Tecnologías de la Información y las Comunicaciones Aplicadas

Campus de Espinardo

Universidad de Murcia

30100 Murcia

Tfno. 868 88 8209

Fax. 868 88 8337

https://twitter.com/jesusm2

http://www.linkedin.com/in/jesusmartinezmartinez

P Antes de imprimir este mensaje asegúrese bien de si es necesario hacerlo.
El medio ambiente está en nuestras manos.

Cheers
damencho

···

On Wed, Mar 6, 2013 at 2:36 PM, Jesús Martínez Martínez <jesusmm@um.es> wrote:

2013/3/6 Damian Minkov <damencho@jitsi.org>

On Wed, Mar 6, 2013 at 1:30 PM, Jesús Martínez Martínez <jesusmm@um.es> >> wrote: