That happened when openjdk 17 was installed via homebrew. Installing it manually seems to have jmods folder set. However, even without the jmods folder, the user can run a successful mvn install but it fails with Caused by: java.nio.file.NoSuchFileException: /opt/homebrew/opt/openjdk@17/jmods when running via codeanalyzer.
That happened when openjdk 17 was installed via homebrew. Installing it manually seems to have jmods folder set. However, even without the
jmods
folder, the user can run a successfulmvn install
but it fails withCaused by: java.nio.file.NoSuchFileException: /opt/homebrew/opt/openjdk@17/jmods
when running via codeanalyzer.