try setting com.foo.osgi.window.text as Private-Package

james yong wrote:
> 
> Hi,
> 
> I encounter the following error when starting felix.
> 
> ERROR: Error starting
> file:C:/workspace/ApacheWelo/bundle/com.foo.osgi.window.text_1.0.0.jar
> (org.osgi.framework.BundleException: Not found:
> com.foo.osgi.window.text.Activator)
> java.lang.ClassNotFoundException: com.foo.osgi.window.text.Activator
>       at
> org.apache.felix.framework.Felix.createBundleActivator(Felix.java:3429)
>       at org.apache.felix.framework.Felix._startBundle(Felix.java:1531)
>       at org.apache.felix.framework.Felix.startBundle(Felix.java:1470)
>       at
> org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1065)
>       at 
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258)
>       at java.lang.Thread.run(Unknown Source)
> 
> Any idea?
> 
> I do export the packge 
> Export-Package: com.foo.osgi.window.text
> and set
> Bundle-Activator: com.foo.osgi.window.text.Activator
> 
> The bundle is created with bnd.
> 
> 
> Regards,
> James
> 


-----
Tell me something you don't know!
-- 
View this message in context: 
http://www.nabble.com/Activator-not-found-tp14298496p14298906.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to