Skip to main content



      Home
Home » Newcomers » Newcomers » started tutorial(error in first project)
started tutorial [message #1858681] Sat, 15 April 2023 21:23 Go to next message
Eclipse UserFriend
eclipse auto-generated the following class definition as i was using the tutorial. when i tried to run the stub i got the message below.

what's the problem?

public class HelloWorld {

public static void main(String[] args) {
// TODO Auto-generated method stub

}

}


Error occurred during initialization of boot layer
java.lang.module.FindException: Error reading module: C:\Users\19092\eclipse-workspace\HelloWorld\bin
Caused by: java.lang.module.InvalidModuleDescriptorException: HelloWorld.class found in top-level directory (unnamed package not allowed in module)
Re: started tutorial [message #1858683 is a reply to message #1858681] Sun, 16 April 2023 03:01 Go to previous message
Eclipse UserFriend
Either don't define classes without a package or done' include the module-info.java in the project. Modular projects to not allow you to define package-less classes.
Previous Topic:Why wont ImageIcons work
Next Topic:NuEclipse Debug
Goto Forum:
  


Current Time: Mon May 12 11:16:14 EDT 2025

Powered by FUDForum. Page generated in 0.09223 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top