must declare a named package eclipse because this compilation unit is associated to the named module

Just delete module-info.java at your Project Explorer tab.

Leave a Comment