Eclipse doesn’t see JavaFX properties in css file, “unknown property” Code Answer

Hello Developer, Hope you guys are doing great. Today at Tutorial Guruji Official website, we are sharing the answer of Eclipse doesn’t see JavaFX properties in css file, “unknown property” without wasting too much if your time.

The question is published on by Tutorial Guruji team.

I installed Eclipse and downloaded the OpenJFX SDK. But the problem is that Eclipse marks all -fx- properties in the .css file as warning and writes “unknown property”. My JavaFX projects compile and run fine – I followed the instructions on the official JavaFX website. But CSS auto-completion has no properties. In addition, when I add the JavaFX SDK Library to the Build Path, it does not appear in Project Explorer, maybe this is due. Also I have installed e(fx)clipse.
enter image description here
enter image description here
enter image description here
enter image description here

Answer

Solution:
Delete e(fx)clipse plugin; try to install again from

http://download.eclipse.org/efxclipse/updates-released/3.6.0/site

https://download.eclipse.org/efxclipse/updates-nightly/site

, probably you will be noticed that due unsatisfied dependencies version will be automatically downgraded (3.6.0 -> 3.5.7 in my case). If so, install m2e support from same repository:
enter image description here

We are here to answer your question about Eclipse doesn’t see JavaFX properties in css file, “unknown property” - If you find the proper solution, please don't forgot to share this with your team members.

Related Posts

Tutorial Guruji