felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoît Thiébault <thieba...@artenum.com>
Subject Re: ClassNotFoundException: sun.awt.X11.XToolkit
Date Tue, 22 May 2012 14:43:24 GMT
Indeed it does not import that package. I will add the import and let 
you know

Thanks for your answers

Ben

Le 22/05/2012 14:24, Richard S. Hall a écrit :
> On 5/22/12 04:51 , Benoît Thiébault wrote:
>> 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]
>>     at 
>> org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(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?
>
> Is your bundle importing that package? Usually you get CNFEs when your 
> not importing it...
>
> -> richard
>
>>
>> Thanks for your help
>>
>> Kind regards,
>>
>> Ben
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>


-- 
Dr Benoît Thiébault
Project Manager

    Artenum Toulouse - Science&  Groupware
    http://www.artenum.com

        Bâtiment Calfocenter
        10, rue Marguerite-Long
        31320 Castanet-Tolosan
        France
        Phone: +33 (0)5 82 95 19 00


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Mime
View raw message