有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

java JBPM:无法部署进程存档:null

任何人都可以使用ant帮助部署JBPM流程定义

在部署过程中,我面临以下错误:

<部署>部署…p>

构建失败 F:\JBPM\u NEW\u GRAILS\u WORKSPACE\jbpm5webexample\build。xml:43:无法部署进程存档:null

我的身材。xml文件是 用于构建中的流程部署。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>

请帮我解决这个错误


共 (1) 个答案

  1. # 1 楼答案

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