Error with RichTextFX and VirtualizedScrollPane with Jdk 21
I am trying to use a InlineCssTextArea with a VirtualizedScrollPane like this:
InlineCssTextArea logArea= new InlineCssTextArea (); VirtualizedScrollPane<InlineCssTextArea> 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.