you might want to checkout Tom Schindl's blog: http://tomsondev.bestsolution.at/2012/03/11/javafx2-and-osgi-deployment-model/

On 19-03-12 15:07, Filipe Portes wrote:
hello,

I'm working to run javafx in the Apache felix osgi runtime,
using Bundle-NativeCode and lots of Import/Export-Package I make an javafx bundle, that work properly to run javaFx interfaces write in plain java...
but, when I try to load an fxml file I'm getting this issue:

|javafx.fxml.LoadException: BorderPane is not a valid type.
        at javafx.fxml.FXMLLoader.createElement(Unknown Source)
        at javafx.fxml.FXMLLoader.processStartElement(Unknown Source)
        at javafx.fxml.FXMLLoader.load(Unknown Source)
|


the exception give me no more information... I think, It's occuring some problem to find BorderPane class by It's name...

ps.: the same fxml file run fine outside the osgi runtime.

best regards.

--
Filipe Portes - @filipeportes
Java Architec - Senior Java EE/Web/Flex Developer
JUGLeader Gojava <http://www.gojava.org/> - @gojava


_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

--
Ferry Huberts

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to