我用父pom项目和少数模块开发Java EE应用程序。我有2个EJB模块,1个web(war)模块和1个EAR模块。当我尝试将ear模块部署到Wildfy 21.0.0时,服务器给出错误:错误[org.jboss.MSC.service.fail](MSC服务线程1-5)MSC000001:未能启动服务jboss.module.service.“deployment.leqadoviprojekt-ear-1.1.ear”。Main:org.jboss.module.service.StartException in service jboss.module.service.“deployment.leqadoviprojekt-ear-1.1.ear”。Main:WFlysrv0179:未能在org.jboss.as.server.moduleser加载模块:deployment.leqadoviprojekt-ear-1.1.ear vice.moduleloadservice.start(moduleloadservice.java:116)在org.jboss.MSC.service.serviceControllerImpl$starttask.startservice(serviceControllerImpl.java:1739)在
我使用的IDE是Eclipse。项目结构:这里。如果我有父pom项目或者我必须部署父项目,部署ear模块是正确的吗?
The context of parent pom was next:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.efd.hsostaric.svi</groupId>
<artifactId>LeadoviProjekt_svi</artifactId>
<version>0.0.1</version>
<url>http://www.wildfly.org</url>
<packaging>pom</packaging>
<name>LeadoviProjekt_svi</name>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<version.wildfly.maven.plugin>2.0.1.Final</version.wildfly.maven.plugin>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.wildfly.bom</groupId>
<artifactId>wildfly-javaee8-with-tools</artifactId>
<version>17.0.1.Final</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
<version>2.0.1.Final</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<modules>
<module>LeadoviProjekt-war</module>
<module>LeadoviProjekt-ejb</module>
<module>LeadoviProjekt-ejb-bll</module>
<module>LeqadoviProjekt-ear</module>
</modules>
</project>
如有任何帮助或建议,我将不胜感激。
这就是全部错误:
20:49:18,831 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.deployment.unit."LeqadoviProjekt-ear-1.1.ear".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."LeqadoviProjekt-ear-1.1.ear".STRUCTURE: WFLYSRV0153: Failed to process phase STRUCTURE of deployment "LeqadoviProjekt-ear-1.1.ear"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:189)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYEE0031: Unable to process modules in application.xml for EAR ["/C:/Users/Hrvoje-PC/wildfly-21.0.0.Final/standalone/data/managed-exploded/LeqadoviProjekt-ear-1.1.ear"], module file org.efd.hsostaric-LeadoviProjekt-ejb-1.1.jar not found
at org.jboss.as.ee.structure.EarStructureProcessor.deploy(EarStructureProcessor.java:187)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:182)
... 8 more
20:49:18,842 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "LeqadoviProjekt-ear-1.1.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"LeqadoviProjekt-ear-1.1.ear\".STRUCTURE" => "WFLYSRV0153: Failed to process phase STRUCTURE of deployment \"LeqadoviProjekt-ear-1.1.ear\"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYEE0031: Unable to process modules in application.xml for EAR [\"/C:/Users/Hrvoje-PC/wildfly-21.0.0.Final/standalone/data/managed-exploded/LeqadoviProjekt-ear-1.1.ear\"], module file org.efd.hsostaric-LeadoviProjekt-ejb-1.1.jar not found"}}
20:49:18,844 ERROR [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0021: Deploy of deployment "LeqadoviProjekt-ear-1.1.ear" was rolled back with the following failure message:
{"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"LeqadoviProjekt-ear-1.1.ear\".STRUCTURE" => "WFLYSRV0153: Failed to process phase STRUCTURE of deployment \"LeqadoviProjekt-ear-1.1.ear\"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYEE0031: Unable to process modules in application.xml for EAR [\"/C:/Users/Hrvoje-PC/wildfly-21.0.0.Final/standalone/data/managed-exploded/LeqadoviProjekt-ear-1.1.ear\"], module file org.efd.hsostaric-LeadoviProjekt-ejb-1.1.jar not found"}}
20:49:18,848 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0028: Stopped deployment LeqadoviProjekt-ear-1.1.ear (runtime-name: LeqadoviProjekt-ear-1.1.ear) in 3ms
mybe是否错误我覆盖了Wildfly-javaee8.pom.pom中的一些依赖项,或者mybe是否错误我为每个模块添加了目标运行时?
我用父pom项目和几个模块开发Java EE应用程序。我有两个EJB模块,一个网络(战争)模块和一个耳朵模块。当我尝试将ear模块部署到Wildfy 21.0.0时,服务器出现错误:ERROR[org . JBoss . MSC . service . fail](MSC服务线程1-5) MSC000001:无法启动服务jboss.module.service . "部署。LeqadoviProj
我想部署一个生成JSON的jersey restful webservice。但我得到以下错误 14:08:26,743错误[org.jboss.MSC.service.fail](MSC服务线程1-9)MSC00001:无法启动服务jboss.deployment.unit.“rssample.war”.POST_MODULE:org.jboss.MSC.service.startService
启动jboss服务器时,出现错误,无法启动服务jboss.deployment.unit.“jbpm console.war”。但是当我使用start.demo运行jbpm6演示时,它工作得很好。
服务总线网关未启动。 首先,我尝试完全卸载所有Azure/Fabric/Service Bus类型的SDK和安装。我已经从头安装了和。 删除所有与服务总线相关的数据库后,我将启动服务总线配置向导,并开始使用自定义设置启动一个新场。 除了添加我自己的证书,当然还有输入我的密码之外,我保留所有的默认设置。 单击“开始”后,服务总线配置向导最终将卡在进程中: null 谢谢
Ant EAR是JAR任务的扩展,对文件有不同的处理方式。 EAR是指企业应用程序归档,用于归档企业应用程序。该任务的属性如下 - 1. Apache Ant EAR任务属性 属性 描述 必需 要创建的EAR文件 是 部署描述符文件 是 jar文件的目录 否 压缩和存储数据 否 保持最初压缩的压缩 否 用于存档文件内的文件名的编码 否 仅存储文件条目 否 需要包含的文件列表 否 文件的每一行都被视
我有一个jenkins的工作,将一个ear文件部署到WebLogic12服务器上。当我最初运行作业时,部署是成功的。但是,如果我想通过重新运行jenkins作业来覆盖ear文件,则不会覆盖该文件。另一个版本在ear文件名的末尾安装。 是否有一个配置可以用来始终覆盖ear文件? 如果服务器上当前有ear,则可以正确地在服务器上部署和扩展ear文件。如果jenkins作业再次运行,它将创建ear文件的