javamodule-info

module-info.java - error: jdk.crypto.mscapi cannot be resolved to a module


Eclipse version: Version: 2022-03 (4.23.0)

JDK: 17.0.3

I'm making some updates to an existing modular project. For some reason, eclipse seems to think that jdk.crypto.mscapi cannot be resolved to a module.

enter image description here

I can see the module in the list when I run java --list-modules

I can see the module within eclipse

enter image description here

Not sure what the problem is here, anyone have any tips?


Solution

  • Eclipse is no longer displaying the error after changing the compiler compliance level

    enter image description here