写道
Caused by: org.activiti.engine.ActivitiException: couldn't parse 'XXX.bpmn20.xml': Content is not allowed in prolog.
at org.activiti.engine.impl.util.xml.Parse.execute(Parse.java:136)
at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:160)
at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:76)
at org.activiti.engine.impl.db.DbRepositorySession.deploy(DbRepositorySession.java:65)
at org.activiti.engine.impl.db.DbRepositorySession.resolveProcessDefinition(DbRepositorySession.java:195)
因为自己在浏览器中copybpmn20.xml定义时 ,把每行前面的 - 也copy过来了 ,去掉就好了
写道
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <definitions targetNamespace="adhoc" xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:ns3="http://activiti.org/bpmn" xmlns:ns5="http://www.omg.org/spec/DD/20100524/DC" xmlns:ns4="http://www.omg.org/spec/DD/20100524/DI" xmlns:ns6="http://www.omg.org/spec/BPMN/20100524/DI">
- <process isExecutable="false" name="Expense process" id="adhoc_Expense_process">
<documentation id="adhoc_Expense_process_documentation">Example process created using Activiti KickStart</documentation>
<startEvent ns3:initiator="initiator" id="theStart" />
<sequenceFlow targetRef="task_1" sourceRef="theStart" id="flow_1" />
- <userTask name="Request expense refund" id="task_1">
<documentation id="task_1_documentation">Request the refund of an expense related to company business.</documentation>
- <extensionElements>
<ns3:formProperty required="true" type="long" name="Amount" id="Amount" />
<ns3:formProperty required="false" type="string" name="Motivation" id="Motivation" />
</extensionElements>
- <humanPerformer id="sid-657391c0-67aa-48d9-a265-5f8647991926_humanPerformer">
- <resourceAssignmentExpression id="sid-657391c0-67aa-48d9-a265-5f8647991926_humanPerformer_assignmentExpression">
<formalExpression id="sid-657391c0-67aa-48d9-a265-5f8647991926_humanPerformer_formalExpressions">${initiator}</formalExpression>
</resourceAssignmentExpression>
改后
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions targetNamespace="adhoc"
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:ns3="http://activiti.org/bpmn"
xmlns:ns5="http://www.omg.org/spec/DD/20100524/DC"
xmlns:ns4="http://www.omg.org/spec/DD/20100524/DI"
xmlns:ns6="http://www.omg.org/spec/BPMN/20100524/DI">
<process isExecutable="false" name="Expense process" id="adhoc_Expense_process">
<documentation id="adhoc_Expense_process_documentation"> Example process created using Activiti KickStart</documentation>
<startEvent ns3:initiator="initiator" id="theStart" />
<sequenceFlow targetRef="task_1" sourceRef="theStart" id="flow_1" />
<userTask name="Request expense refund" id="task_1">
<documentation id="task_1_documentation">Request the refund of an expense
related to company business.</documentation>
<extensionElements>
www.ibuyincn.com
分享到:
相关推荐
Caused by: java.net.UnknownHostException: openapi.alipay.com
### 错误解析:Caused by: android.system.ErrnoException: write failed: ENOSPC (No space left 在Android开发过程中,可能会遇到“Caused by: android.system.ErrnoException: write failed: ENOSPC (No space ...
总之,要解决`java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource`的问题,你需要确保你的项目正确包含了Apache Commons DBCP及其相关依赖,并正确配置了`BasicDataSource`。同时,了解...
在这个特定的场景中,异常堆栈跟踪显示了 `Caused by: java.lang.ClassNotFoundException: org.apache.commons.collections.Transformer`,这表明系统无法找到 `org.apache.commons.collections.Transformer` 类。...
在Java应用程序运行过程中,"java.lang.OutOfMemoryError: PermGen space"错误是常见的一个问题,尤其是在使用Tomcat这样的Java应用服务器时。这个错误表明应用程序在 PermGen 区域(Permanent Generation)耗尽了...
在这个特定的场景中,异常堆栈跟踪显示 `Caused by: java.lang.ClassNotFoundException: org.objectweb.asm.Type`,这表明在运行时,系统无法找到`org.objectweb.asm.Type`这个类。`org.objectweb.asm` 是一个用于...
在这个特定的错误中,我们看到的是`org.apache.commons.dbcp.BasicDataSource`,这是Apache Commons DBCP库中的一个类,用于管理数据库连接池。这个异常通常意味着在应用的类路径(ClassPath)中没有包含DBCP的jar...
Caused by: java.lang.NoClassDefFoundError: com.sun.org.apache.xml.internal.resolver.CatalogManager at com.sun.xml.ws.util.xml.XmlUtil.createEntityResolver(XmlUtil.java:266) at org.jvnet.jax_ws_...
Android Caused by: java.lang.ClassNotFoundException解决办法 出现问题: 08-13 18:29:22.924: E/AndroidRuntime(1875): Caused by: Java.lang.ClassNotFoundException:XXXXX in loader dalvik.system....
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/...
抛出无法找到主类:org.apache.axis.wsdl.WSDL2Java(Throws Could not find main class: org.apache.axis.wsdl.WSDL2Java)。 添加本文的jar包压缩包解压出来的所有jar包到当前使用的java.exe 命令的lib目录下的ext...
3、Can’t connect to local MySQL server through socket ‘/Data/mydata/mysql.sock’ socket文件目录不对应导致的问题 4、今天要说的就是 没有打开only_full_group_by Cause:...
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory 需要jar log4j-1.2.16.jar slf4j-api-1.6.1.jar slf4j-log4j12-1.6.1.jar
"java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver" 解决方案 [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket. 解决了jsp连接 sql server 2000的问题
标题中的“Caused by: java.sql.SQLException: JZ0SJ: 没有在此数据库中发现元数据存取器信息。 请按 jConnect 文档中所述安装”是一个典型的错误信息,表明在尝试使用Java数据库连接(JDBC)驱动程序访问数据库时...
在Java Web开发中,我们经常会遇到“org.apache.jasper.JasperException: java.util.MissingResourceException”这样的错误。这个异常通常发生在尝试访问一个不存在的资源文件时,比如国际化(i18n)配置文件。本文...
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory 缺少此依赖包
Scrcpy是一款强大的开源屏幕投屏工具,专为Android设备设计,允许用户将手机或平板电脑的屏幕实时镜像到电脑上。这个工具在开发者、游戏玩家和内容创作者中非常受欢迎,因为它提供了高质量的屏幕同步,并支持多种...