Java 启动层初始化期间出错。无法派生模块描述符

Java 启动层初始化期间出错。无法派生模块描述符,java,spring,Java,Spring,在运行spring应用程序时,我得到的错误是rialhttps://www.tutorialspoint.com/spring/spring_hello_world_example.html 我最初在一个默认包中创建了文件,然后创建了一个新包,并将类移动到那个新包中 Error occurred during initialization of boot layer java.lang.module.FindException: Unable to derive module descripto

在运行spring应用程序时,我得到的错误是rialhttps://www.tutorialspoint.com/spring/spring_hello_world_example.html

我最初在一个默认包中创建了文件,然后创建了一个新包,并将类移动到那个新包中

Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for C:\Users\MIDHUN\Downloads\spring-framework-5.2.3.RELEASE\libs\spring-context-indexer-5.2.3.RELEASE-sources.jar
Caused by: java.lang.module.InvalidModuleDescriptorException: Provider class org.springframework.context.index.processor.CandidateComponentsIndexer not in module

我认为您应该这样做:Spring(名称项目)右键单击GotoProperties,然后在java构建路径中尝试将jar文件添加到classpath文件夹中