saving . . . saved error while running EclipseDemo file has been deleted. error while running EclipseDemo file has been hidden .
error while running EclipseDemo file
Dear sir, I am using eclipse latest version on windows 10. While writing the project name i got error asking for lowercase letter. module name something it said.On running the program I got the following error.

Error occurred during initialization of boot layer
java.lang.module.FindException: Error reading module: C:\Users\sw\eclipse-workspace\EclipseDemo\bin
Caused by: java.lang.module.InvalidModuleDescriptorException: DemoClass.class found in top-level directory (unnamed package not allowed in module)

How to resolve?

Java Getting-started-Eclipse 02-03 min 10-20 sec 03-06-22, 12:34 p.m.


Dear User,

In the "New Java Project" dialog, "Create file" option is checked, so you get this "New" dialog. In the "New" dialog the module name is prefilled with the project name. If you don't want a file, click Don't Create.
06-06-22, 4:25 p.m. hbammkanti

Log-in to answer to this question.