Why am I getting this error in eclipse involving initialization of boot layer?

大憨熊 提交于 2021-01-29 18:23:37

问题


I am trying to set up my eclipse environment for the sedgewick algorithms course and I keep receiving the following error:

Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for /home/yannik/algs4/algs4.jar
Caused by: java.lang.module.InvalidModuleDescriptorException: TestAlgs4.class found in top-level directory (unnamed package not allowed in module)

Why is this happening and how do I fix this?

And the image is attached. I created a class Rational under the default package in source.

来源:https://stackoverflow.com/questions/63877831/why-am-i-getting-this-error-in-eclipse-involving-initialization-of-boot-layer

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!