Closed jimmyhealer closed 2 years ago
Hi, the reason might be the Java module system. If the JPX library is put into the module path, you have to add requires io.jenetics.jpx
in your module-info.java
file. Putting the libs into the classic classpath_ might also work. Since I'm not a Maven expert, I don't know the default behavior of your pom.
Regards Franz
Thank! Finally I am modifying the pom dependency option scope
. Originally, it was copied directly from maven, but I didn't check it carefully.
Hello, I'm trying to use jpx, however when I import jpx, vscode gives me
The import io.jenetics.jpx cannot be resolved
. What step did I do wrong?my java version
openjdk 17.0.3 2022-04-19 LTS
pom.xml