question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I open java file

https://github.com/openjfx/samples/blob/master/IDE/Eclipse/Non-Modular/Maven/hellofx/src/main/java/org/openjfx/hellofx/MainApp.java

and as soon as I save it – eclipse.jdt.ls changes

import javafx.stage.Stage;

to

import org.graalvm.compiler.phases.common.NodeCounterPhase.Stage;

After this project won’t compile.

What should I do to make it work?

Looks like I forget to do something on importing the project, like caching the pom.xml dependencies. If that so how do I force eclipse.jdt.ls to cache pom.xml dependencies?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
snjezacommented, Dec 13, 2018

JDT fails to import the project and then returns wrong organize imports actions. I believe it is related to #871

@yyoncho could you try to use Java 11?

1reaction
bk322commented, Dec 13, 2018

did you open the folder or just the file?

I open a java file, emacs asks wither to import hellofx folder, I agree to that.

Emacs has two package that LSP/Eclipse server (lsp-mode, eglot)

I did not know about eglot. I was using lsp/eclipse.

Did you first open a issue at your LSP Emacs package page ?

I just did it, https://github.com/emacs-lsp/lsp-java/issues/82

Read more comments on GitHub >

github_iconTop Results From Across the Web

JavaFX Long Term Support - Gluon
JavaFX is now separated from JDK releases and no longer included in the standard long term Java SE support offerings from Oracle. Gluon...
Read more >
JavaFX
Finally Java has an advanced UI toolkit that can evolve independently of JDK development activities. A toolkit that is supported by a passionate...
Read more >
JavaFX Supported Configurations - Oracle
Windows configurations are supported on Oracle JDK 6 and Oracle JDK 7; JavaFX is not supported on Linux on ARM. Note: As of...
Read more >
JavaFX - Wikipedia
On desktops, JavaFX supports Windows Vista, Windows 7, Windows 8, Windows 10, macOS and Linux operating systems. Beginning with JavaFX 1.2, ...
Read more >
JavaFx Support - IntelliJ IDEA & Android Studio Plugin
Supports development of JavaFX applications with IntelliJ IDEA. Features: Syntax highlighting (with basic errors highlighting) Compilation.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found