I'm having an issue when I import my team's group project from git, when imported to Eclipse I have to add the JavaFX SDK from the build path library and once I open up my style package with the .css files in it they all have yellow warning lines underneath each line of code. For example:
.label {
-fx-font-size: 12pt;
-fx-font-family: "Helvetica bold";
-fx-text-fill: #000000;
}
the warning message would be:
Unknown property: "-fx-font-size: 12pt"
It has this warning for every .css file and every line.
Any help would be greatly appreciated.
I had a similar issue and rectified it by ensuring I had included all of the JAR's and Libraries that I required in the Build Path. I had to add Joda Time JAR, SQLite Jar, SceneBuilder Jar and the JavaFX SDK Library.
It is also important to leave these files 'unticked' in the Order and Export section of the Java Build Path.
You should install e(fx)clipse
I assume you have Web Tools Platform installed already.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With