Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with RichTextFX and VirtualizedScrollPane with Jdk 21 #1254

Open
git-moss opened this issue Nov 18, 2024 · 0 comments
Open

Error with RichTextFX and VirtualizedScrollPane with Jdk 21 #1254

git-moss opened this issue Nov 18, 2024 · 0 comments

Comments

@git-moss
Copy link

I am trying to use a InlineCssTextArea with a VirtualizedScrollPane like this:

InlineCssTextArea logArea= new InlineCssTextArea ();
VirtualizedScrollPane loggerScrollPane = new VirtualizedScrollPane<> (this.logArea);

I can build it with Maven but in Eclipse (on latest Windows 11) I get the following error:

"The type org.reactfx.value.Var cannot be resolved. It is indirectly referenced from required type org.fxmisc.flowless.VirtualizedScrollPane"

When I put the code in a library, build it with Maven and integrate it my application, I can again build it with Maven and run it. But if I integrate the library in Maven (which compiles fine as part of the application) and run it, it crashes with:

Caused by: java.lang.Error: Unresolved compilation problems:
The type org.reactfx.value.Var cannot be resolved. It is indirectly referenced from required type org.fxmisc.flowless.VirtualizedScrollPane
The type org.reactfx.value.Val cannot be resolved. It is indirectly referenced from required type org.fxmisc.flowless.VirtualizedScrollPane

The issue does not happen when I build it with Jdk 11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant