gpt4 book ai didi

java - JBPM : couldn't deploy process archives : null

转载 作者:行者123 更新时间:2023-12-01 04:36:08 25 4
gpt4 key购买 nike

任何机构都可以帮助使用 ant 部署 JBPM 流程定义吗?

在部署过程中我遇到了这个错误:

[deployToServer] 正在部署标准...

构建失败F:\JBPM_NEW_GRAILS_WORKSPACE\jbpm5webexample\build.xml:43:无法部署流程文件:null

我的 Build.xml 文件是对于 build.xml 中的流程部署条目是:

<target name="deployProcess" description="deploys the process definition">
<echo>Deploy the process definition</echo>
<taskdef name="deployToServer" classname="org.jbpm.ant.DeployProcessToServerTask">
<classpath refid="exec-classpath"/>
</taskdef>
<deployToServer username="root" password="root" serverDeployer="/jbpm5webexample/TaskProcessServlet?action=CreateProcess">
<fileset dir="${basedir}/src/main/resources" includes="*"/>
</deployToServer>
<deployToServer>
<fileset dir="${basedir}/src/main/resources" includes="*"/>
</deployToServer>
</target>

<path id="exec-classpath">
<pathelement path="target/classes" />
<fileset dir="F:/jbpm-jpdl-3.2.3/lib" includes="**/*.jar" />
<fileset dir="F:/jbpm-jpdl-3.2.3/" includes="**/*.jar" />
<fileset dir="C:/java/apache-ant-1.8.1/lib" includes="**/*.jar" />
<fileset dir="F:/JBPM_NEW_GRAILS_WORKSPACE/jbpm5webexample/src/main/webapp/WEB-INF/lib" includes="**/*.jar" />
<fileset dir="F:/JBPM_NEW_GRAILS_WORKSPACE/jbpm5webexample/target/jbpm5webexample/WEB-INF/lib" includes="**/*.jar" />
</path>

请帮我解决这个错误。

最佳答案

您似乎正在尝试使用 jBPM v3 脚本部署 jBPM v5 示例?

关于java - JBPM : couldn't deploy process archives : null,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17314686/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com