Hi,
You will also have to include all used Java FX packages to Constants.FRAMEWORK_SYSTEMPACKAGES_EXTRA
if you want to access them from within OSGi bundles. So in this
case you should at least add "javafx.scene".
Best regards,
Tim
On 12/03/2014 10:56 AM, Ladislav Török wrote:
Now I get exception:
---------------------------------------------------------
Concierge OSGi 5.0.0.alpha on Windows 7 6.1 starting ...
(default) startlevel=3
---------------------------------------------------------
---------------------------------------------------------
Framework started in 0.003 seconds.
---------------------------------------------------------
Loading XBundle
Hello from my firstbundle...
org.osgi.framework.BundleException: Error starting bundle
[sk.ltorok.xbundle-1.0.0]
at
org.eclipse.concierge.BundleImpl.activate0(BundleImpl.java:521)
at
org.eclipse.concierge.BundleImpl.activate(BundleImpl.java:473)
at
org.eclipse.concierge.BundleImpl.start(BundleImpl.java:427)
at
org.eclipse.concierge.BundleImpl.start(BundleImpl.java:367)
at
com.javafx.experiments.dukepad.starter.StarterApplication.lambda$startOSGi$27(StarterApplication.java:167)
at
com.javafx.experiments.dukepad.starter.StarterApplication$$Lambda$99/1094701973.run(Unknown
Source)
at
com.javafx.experiments.dukepad.starter.StarterApplication$2.run(StarterApplication.java:193)
at
com.sun.javafx.application.PlatformImpl.lambda$null$169(PlatformImpl.java:295)
at
com.sun.javafx.application.PlatformImpl.lambda$null$169(PlatformImpl.java:295)
at
com.sun.javafx.application.PlatformImpl$$Lambda$48/540370836.run(Unknown
Source)
at java.security.AccessController.doPrivileged(Native
Method)
at
com.sun.javafx.application.PlatformImpl.lambda$runLater$170(PlatformImpl.java:294)
at
com.sun.javafx.application.PlatformImpl$$Lambda$47/1232367853.run(Unknown
Source)
at
com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native
Method)
at
com.sun.glass.ui.win.WinApplication.lambda$null$144(WinApplication.java:101)
at
com.sun.glass.ui.win.WinApplication$$Lambda$36/1161082381.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: javafx/scene/Scene
at sk.ltorok.xbundle.Activator.start(Activator.java:20)
at
org.eclipse.concierge.BundleImpl.activate0(BundleImpl.java:496)
... 16 more
Caused by: java.lang.ClassNotFoundException:
javafx.scene.Scene
at
org.eclipse.concierge.BundleImpl$Revision$BundleClassLoader.findClass(BundleImpl.java:2431)
at
org.eclipse.concierge.BundleImpl$Revision$BundleClassLoader.loadClass(BundleImpl.java:2410)
... 18 more
BUILD STOPPED (total time: 36 seconds
What I
could still try?
Thanks.
_______________________________________________
concierge-dev mailing list
concierge-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/concierge-dev
--
Tim Verbelen
Department of Information Technology
Broadband Communication Networks (IBCN)
Ghent University - iMinds
Gaston Crommenlaan 8 (Bus 201), B-9050 Gent, Belgium
T: +32 9 33 14940 ; T Secr: +32 9 33 14900
F: +32 9 33 14899
E: tim.verbelen@xxxxxxxxxxxxxx
W : www.ibcn.intec.UGent.be