close

[Solved] Error occurred during initialization of boot layer FindException: Module not found

Hello Guys, How are you all? Hope You all Are Fine. Today I am facing the following error Error occurred during initialization of boot layer FindException: Module not found in Java. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Error occurred during initialization of boot layer FindException: Module not found Error Occurs?

Today I am facing the following error Error occurred during initialization of boot layer FindException: Module not found in Java.

How To Solve Error occurred during initialization of boot layer FindException: Module not found Error ?

  1. How To Solve Error occurred during initialization of boot layer FindException: Module not found Error ?

    To Solve Error occurred during initialization of boot layer FindException: Module not found Error I had the same issue while executing my selenium tests and I removed the selenium dependencies from the ModulePath to ClassPath under Build path in eclipse and it worked!

  2. Error occurred during initialization of boot layer FindException: Module not found

    To Solve Error occurred during initialization of boot layer FindException: Module not found Error I had the same issue while executing my selenium tests and I removed the selenium dependencies from the ModulePath to ClassPath under Build path in eclipse and it worked!

Solution 1

I had the same issue while executing my selenium tests and I removed the selenium dependencies from the ModulePath to ClassPath under Build path in eclipse and it worked!

Solution 2

You say that your module-info.java contains

module myModule {}

That means it declares a module called myModulenot com.pantech.myModule. Pointing this from the command format:

 -m <module-name>/<main-class>

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read