-
During a build I get the following error.
I think the unnamed package is a problem. My question is, how do I figure out why it is attempting to access the unnamed module? Are there debugging options? Interestingly, this problem occurred when I tried to move from Java 11 to Java 17. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
Have you made sure that |
Beta Was this translation helpful? Give feedback.
-
There is no mention of javafx.beans.value in the manifest. The following is included in the manifest. It builds inside Eclipse just fine. It's only a problem when I build on the command line using maven. |
Beta Was this translation helpful? Give feedback.
-
Then this is wrong
PDE is buggy in this regard because it assumes all packages from a JVM are always imported by default what is no longer true since Java 9+ (and it was even wrong before Java 9). The rule is simple:
|
Beta Was this translation helpful? Give feedback.
-
A small example was the right thing to work on. The problem was caused by the parent pom, configuring tycho to use extraClassPathElements. These elements pointed to outdated javafx versions. And in fact these elements could be omitted altogether. I very much appreciate your help. |
Beta Was this translation helpful? Give feedback.
Then this is wrong
PDE is buggy in this regard because it assumes all packages from a JVM are always imported by default what is no longer true since Java 9+ (and it was even wrong before Java 9).
The rule is simple:
java.*
--->Bundle-RequiredExecutionEnvironment
Import-Package