Skip to main content



      Home
Home » Eclipse Projects » e(fx)clipse » WARNING: Could not resolve '-fx on a e4 JavaFX FXML RCP
WARNING: Could not resolve '-fx on a e4 JavaFX FXML RCP [message #1734482] Wed, 08 June 2016 11:53 Go to next message
Eclipse UserFriend
Windows 7
Mars 2
e(fx)clipse 2.4

The application works. But every time I start it up in Eclipse Mars 2 I get the following errors.


Jun 08, 2016 11:02:02 AM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-text-base-color' while resolving lookups for '-fx-text-fill' from rule '*.button' in stylesheet jar:file:/C:/Program%20Files/Java/jdk1.8.0_73/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
Jun 08, 2016 11:02:02 AM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-shadow-highlight-color' while resolving lookups for '-fx-border-color' from rule '*.separator:vertical *.line' in stylesheet jar:file:/C:/Program%20Files/Java/jdk1.8.0_73/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
Jun 08, 2016 11:02:02 AM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-text-base-color' while resolving lookups for '-fx-text-fill' from rule '*.toggle-button' in stylesheet jar:file:/C:/Program%20Files/Java/jdk1.8.0_73/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
Jun 08, 2016 11:02:02 AM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-shadow-highlight-color' while resolving lookups for '-fx-background-color' from rule '*.perspective-button:selected' in stylesheet bundleresource://141.fwk1182320432/org/eclipse/fx/ui/workbench/fx/perspective/default.css
Jun 08, 2016 11:02:02 AM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-text-base-color' while resolving lookups for '-fx-text-fill' from rule '*.toggle-button' in stylesheet jar:file:/C:/Program%20Files/Java/jdk1.8.0_73/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
Re: WARNING: Could not resolve '-fx on a e4 JavaFX FXML RCP [message #1734532 is a reply to message #1734482] Thu, 09 June 2016 04:39 Go to previous messageGo to next message
Eclipse UserFriend
Looks like the CSS parser is unable to resolve color variables. It looks
to me like all this is caused by the PerspectiveSwitcherNode but those
errors make no sense to me because all those colors are of course
defined inside modena.css

Tom

On 08.06.16 17:53, Paul Roubekas wrote:
> Windows 7
> Mars 2
> e(fx)clipse 2.4
>
> The application works. But every time I start it up in Eclipse Mars 2 I
> get the following errors.
>
>
> Jun 08, 2016 11:02:02 AM javafx.scene.CssStyleHelper calculateValue
> WARNING: Could not resolve '-fx-text-base-color' while resolving lookups
> for '-fx-text-fill' from rule '*.button' in stylesheet
> jar:file:/C:/Program%20Files/Java/jdk1.8.0_73/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
>
> Jun 08, 2016 11:02:02 AM javafx.scene.CssStyleHelper calculateValue
> WARNING: Could not resolve '-fx-shadow-highlight-color' while resolving
> lookups for '-fx-border-color' from rule '*.separator:vertical *.line'
> in stylesheet
> jar:file:/C:/Program%20Files/Java/jdk1.8.0_73/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
>
> Jun 08, 2016 11:02:02 AM javafx.scene.CssStyleHelper calculateValue
> WARNING: Could not resolve '-fx-text-base-color' while resolving lookups
> for '-fx-text-fill' from rule '*.toggle-button' in stylesheet
> jar:file:/C:/Program%20Files/Java/jdk1.8.0_73/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
>
> Jun 08, 2016 11:02:02 AM javafx.scene.CssStyleHelper calculateValue
> WARNING: Could not resolve '-fx-shadow-highlight-color' while resolving
> lookups for '-fx-background-color' from rule
> '*.perspective-button:selected' in stylesheet
> bundleresource://141.fwk1182320432/org/eclipse/fx/ui/workbench/fx/perspective/default.css
>
> Jun 08, 2016 11:02:02 AM javafx.scene.CssStyleHelper calculateValue
> WARNING: Could not resolve '-fx-text-base-color' while resolving lookups
> for '-fx-text-fill' from rule '*.toggle-button' in stylesheet
> jar:file:/C:/Program%20Files/Java/jdk1.8.0_73/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
>
>
Re: WARNING: Could not resolve '-fx on a e4 JavaFX FXML RCP [message #1734588 is a reply to message #1734532] Thu, 09 June 2016 10:59 Go to previous messageGo to next message
Eclipse UserFriend
I don't think it has anything to do with the PerspectiveSwitcherNode. Here is another stack without the line about the perspective.

One more fact. This happens stack dump come out to the console when the e4 RCP application is closed.

Jun 09, 2016 10:55:52 AM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-text-base-color' while resolving lookups for '-fx-text-fill' from rule '*.button' in stylesheet jar:file:/C:/Program%20Files/Java/jdk1.8.0_73/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
Jun 09, 2016 10:55:52 AM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-shadow-highlight-color' while resolving lookups for '-fx-border-color' from rule '*.separator:vertical *.line' in stylesheet jar:file:/C:/Program%20Files/Java/jdk1.8.0_73/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
Jun 09, 2016 10:55:52 AM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-text-base-color' while resolving lookups for '-fx-text-fill' from rule '*.toggle-button' in stylesheet jar:file:/C:/Program%20Files/Java/jdk1.8.0_73/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
Jun 09, 2016 10:55:52 AM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-shadow-highlight-color' while resolving lookups for '-fx-background-color' from rule '*.perspective-button:selected' in stylesheet bundleresource://141.fwk1182320432/org/eclipse/fx/ui/workbench/fx/perspective/default.css
Jun 09, 2016 10:55:52 AM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-text-base-color' while resolving lookups for '-fx-text-fill' from rule '*.toggle-button' in stylesheet jar:file:/C:/Program%20Files/Java/jdk1.8.0_73/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
Re: WARNING: Could not resolve '-fx on a e4 JavaFX FXML RCP [message #1735142 is a reply to message #1734588] Wed, 15 June 2016 15:08 Go to previous message
Eclipse UserFriend
I also get those warnings, but not a;; the time. I'm not using either FXML or PerspectiveSwitcherNode. I'm most likely to see it when there is a bug in my code that has been causing exceptions to be thrown, and I usually see these warnings when the application is closing down. The CSS still renders as expected even when those warnings are present.
Previous Topic:FXML - dynamic tab creation
Next Topic:Basic question: How do I display a JavaFX application on a web page?
Goto Forum:
  


Current Time: Wed Jul 23 16:43:25 EDT 2025

Powered by FUDForum. Page generated in 0.03776 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top