Hi Vadeg,

I have     <Import-Package>*</Import-Package>   in my POM, and when I removed 
it, rebuild the JAR but the same error appears.


For systempackages, Do you mean the 
configorg.osgi.framework.system.packages.extra in config.properties of felix. 
I tried to change it to 

org.osgi.framework.system.packages.extra=javax.microedition.*

but it didn't work either.

Maybe you have another suggestions ?

Thanks

 =========================================================================
NGUYEN Tien Luong                    |                    M2PGI - UFRIMAG       
    
13 Rue Blanche MONIER                 |                    Tel : 06.45.42.46.33
38000 GRENOBLE                          |              http://tienluong.info





________________________________
From: Vadeg <niiba...@gmail.com>
To: users@felix.apache.org
Sent: Fri, 12 March, 2010 11:31:52
Subject: Re: Unresolved constraint in bundle (package=javax.microedition.io)

Take a look at the manifest in line "Import-Package".

Your bundle depends of bundle with package "javax.microedition.io" in it;

It seems that you must describe "systempackages" property for using libs 
from Java ME


Nguyen Tien Luong wrote:
>    Hi everybody,
>
> I'm new in OSGi and when I try to create my first bundle, I had this error
>
>
>
> org.osgi.framework.BundleException: Unresolved constraint in bundle 
> oregonWMR200 [16]: package; (package=javax.microedition.io)
>
>
> I really don't know where I have this constraint.
>
> How can I resolve it ?
>
> Thanks
>
> =========================================================================
> NGUYEN Tien Luong                    |                    M2PGI - UFRIMAG     
>      
> 13 Rue Blanche MONIER                 |                    Tel : 
> 06.45.42.46.33
> 38000 GRENOBLE                          |              http://tienluong.info
>
>
>      
>  


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


      

Reply via email to