title: Module not found exception after Gradle 7.3 and JDK 17 upgrade
body: <p>I was trying to upgrade Java multi-module project to OpenJDK 17, which forced me to upgrade Gradle version from 6.8 to 7.3. After making the changes in build.gradle file, now the build is successful. But when I start the application I am getting the following exception.</p>
  <p>Error occurred during initialization of boot layer
  java.lang.module.FindException: Module &quot;foo&quot; not found, required by &quot;goo&quot;.</p>
  <p>Also the module not found exception are throwing for the JARs which are not added in module path.</p>
  <ul>
  <li><p>The jars are copied to libs folder and added the following command in build.gralde</p>
  <p>implementation fileTree(include: ['*.jar'], dir: 'libs')</p>
  </li>
  </ul>