> -----Original Message----- > From: Benoît Thiébault [mailto:[email protected]] > Sent: Tuesday, May 22, 2012 11:51 AM > To: [email protected] > Subject: ClassNotFoundException: sun.awt.X11.XToolkit > > Hi everyone, > > When running Felix 4.0.2 with an application I am developing, I am > getting the following error: > > java.lang.ClassNotFoundException: sun.awt.X11.XToolkit not found by > org-test-bundle [25]
Is this a GUI application? If not, you can try adding -Djava.awt.headless=true to the application's system properties. Robert > at > org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelega > tion(BundleWiringImpl.java:1460) > at > org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl > .java:72) > at > org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass > (BundleWiringImpl.java:1843) > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > > I have created a system bundle exporting sun.awt.X11, but it does not > change this behaviour. > Is this a framework bug? > Or could this be the result of a deadlock in the EDT? > > Thanks for your help > > Kind regards, > > Ben > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]

