How to disable css warning Unknown property in Eclipse Mars?
I filed an e(fx)clipse bug [1] and uninstalled e(fx)clipse for the time being.
The main reason why I had installed e(fx)clipse at the beginning was to get rid of the access restriction warnings related to jfxrt.jar (also see [2]). Now I use additonal access rules for the JRE container in my classpath file instead of using e(fx)eclipse:
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
<accessrules>
<accessrule kind="accessible" pattern="javafx/**"/>
<accessrule kind="accessible" pattern="com/sun/javafx/**"/>
</accessrules>
</classpathentry>
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=475347
[2] Using JavaFX in JRE 8
Eclipse doesn't see JavaFX properties in css file, unknown property
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:
servlet on eclipse asks me do you want to save this file or find a program online to open it when run on server
You misspelled your content type.
Since the browser doesn't know how to display test/html
, it offers to save it instead.
Using JavaFX in JRE 8, “Access restriction” error
From the Eclipse Point of view the error is totally correct because JavaFX is coming from the extension classpath and is not available on ALL Java8 VMs (e.g. ibm!).
As outlined you can suppress those warnings by add access-rules or IMHO the best solution is to install e(fx)clipse which does this automatically for you and beside that even provides you tooling for JavaFX CSS and FXML.
You can grab an all in one package from http://efxclipse.bestsolution.at/install.html
Related Topics
No Border-Spacing Before First Item and After Last Item
Flexbox Vertically Split Container in Half
Setting Up Auto Compile for Stylus
Overriding :Root CSS Variables from Inner Scopes
Gatsby: Set Background Image with CSS
How Does CSS Clearing Really Work
How to Select First Img Tag in a Div with Many Img Tag
Using Rem Units in Media Queries and as Width
CSS Is Looking Different on Heroku
Pagespeed Caching CSS, Annoying to Develop
Styling of Select2 Dropdown Select Boxes
Custom <Hr> with Image/Character in the Center
Set Button in Position "Fixed" in React Native
How to Change Link Color and Hover Color in Bootstrap Version 4