springboot wildfly 10部署错误jdk.unsupported module not found

qc6wkl3g  于 2021-07-07  发布在  Java
关注(0)|答案(0)|浏览(717)

我有一个带有Java1.8的SpringBootV2项目,当我尝试在WildFly10上部署我的springboot项目时,我总是遇到这个错误

19:12:25,295 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "HealthCheck.war")]) - failure description: {
    "WFLYCTL0080: Failed services" => {"jboss.module.service.\"deployment.HealthCheck.war\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.HealthCheck.war\".main: WFLYSRV0179: Failed to load module: deployment.HealthCheck.war:main
    Caused by: org.jboss.modules.ModuleNotFoundException: jdk.unsupported:main"},
    "WFLYCTL0412: Required services that are not installed:" => ["jboss.module.service.\"deployment.HealthCheck.war\".main"],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined

我已经创建了一个jboss-deployment-structure.xml并在那里添加了“jdk.unsupported”依赖项,我也尝试过将它添加到manifest.mf中,还尝试过在maven war插件下的pom文件中添加缺少的“jdk.unsupported”依赖项,但没有成功。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题