我正在Mule单机服务器4.2中部署Mule 4应用程序,以从项目目录启动Mule运行时(mule. bat)和命令(mvn package deploy -DmuleDeploy
),但我收到了下面提到的错误。我已经从pom. xml添加了我的插件。
在pom.xml中进行部署配置时哪里出错了?
[ERROR] Failed to execute goal org.mule.tools.maven:mule-maven-plugin:3.2.7:deploy (default-deploy) on project test: Deployment configuration is not valid, : No deployment configuration was defined. Aborting. -> [Help 1]
<plugin>
<groupId>org.mule.tools.maven</groupId>
<artifactId>mule-maven-plugin</artifactId>
<version>3.2.7</version>
<configuration>
<developmentType>standalone</developmentType>
<muleHome>E:\IDFC\mule-enterprise-standalone-4.2.2</muleHome>
<muleVersion>4.2.2</muleVersion>
<target>E:\IDFC\mule-enterprise-standalone-4.2.2\apps</target>
<targetType>server</targetType>
</configuration>
</plugin>
2条答案
按热度按时间6ljaweal1#
尝试文档中所述的配置:
ctehm74n2#
您必须启动Mule Runtinme Standalone作为Windows服务或Unix守护程序。不要使用/bin/mule命令
对我很有效
作为服务或守护程序启动Mule运行时的引用:https://docs.mulesoft.com/mule-runtime/4.2/starting-and-stopping-mule-esb