java.lang.ClassFormatError:无法链接 javax/faces/webapp/FacesServlet

问题描述 投票:0回答:0

错误 [org.jboss.msc.service.fail](MSC 服务线程 1-1)MSC000001:无法启动服务 jboss.deployment.unit."ROOT.war".INSTALL:org.jboss.msc.service.StartException在服务 jboss.deployment.unit."ROOT.war".INSTALL 中:WFLYSRV0153:无法处理部署“ROOT.war”的安装阶段 在 [email protected]//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:189) 00001//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) 在 java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.lang.ClassFormatError: Failed to link javax/faces/webapp/FacesServlet (Module "deployment.ROOT.war" from Service Module Loader): 类文件 javax/ 中非本机或抽象方法中缺少代码属性面孔/webapp/FacesServlet

at [email protected]//org.wildfly.extension.undertow.deployment.ServletContainerInitializerDeploymentProcessor.loadSci(ServletContainerInitializerDeploymentProcessor.java:225) 在 [email protected]//org.wildfly.extension.undertow.deployment.ServletContainerInitializerDeploymentProcessor.deploy(ServletContainerInitializerDeploymentProcessor.java:135) 在 [email protected]//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:182)

Trying to run the bootable jar using wildfly jboss 7.4, jdk17 and maven project . war 文件在 eclipse 中运行,但同一个 war 不能独立运行

请提前分享反馈。:) ?

wildfly jboss7.x
© www.soinside.com 2019 - 2024. All rights reserved.