【发布时间】:2021-03-29 05:49:36
【问题描述】:
我正在使用 Wildfly 作为服务器使用 Java 开发 REST API。安装 JBoss Tools 并配置 Wildfly 文件后,我创建了我的服务器并运行它,但总是得到相同的错误:
Error occurred during initialization of boot layer java.lang.module.FindException: Module java.se not found
The server "WildFly 21" requires a JDK to run properly. The VM used to launch
this server is not recognized as a valid JDK.
C:\Users\jorge\AppData\Local\Temp\eoi7210.tmp\plugin\
org.eclipse.justj.openjdk.hotspot.jre.minimal.stripped.win32.x86_64_15.0.1.v20201027-0507\jre
此外,如果我调试它而不是运行服务器,它最终会处于 [Starting, Synchronized] 状态,但我也会遇到异常:
Cannot connect to VM
Socket closed
再说一遍:
Error occurred during initialization of boot layer java.lang.module.FindException: Module java.se not found
在此先感谢任何能给我一点帮助的人。
【问题讨论】: