-
-
weilh 初学数据Lv2
发表于2020-2-27 19:56
悬赏1
未解决
楼主
本帖最后由 weilh 于 2020-2-27 20:01 编辑
我自己做了一个简单的工作流,发布的时候,报错如下图,想问一下是哪里出错了?谢谢!
我自己做了一个简单的工作流,发布的时候,报错如下图,想问一下是哪里出错了?谢谢!

8个回答
weilh 发表于 2020-2-27 20:21
保存的时候没有提示,保存成功。
您可以提供一下报错的详情内容 看看是什么原因导致的
leiz 发表于 2020-2-27 20:50
您可以提供一下报错的详情内容 看看是什么原因导致的
你好,详细报错原因如下:
QueryObj ERROR:/irpt/esmain/workflow/workflowmgr.do?command=mgrpublishinstances&id=DEF_FHSP
org.activiti.engine.ActivitiException: src-resolve: 无法将名称 'extension' 解析为 'element declaration' 组件。 | tmp3549119286148934718DEF_FHSP.bpmn20.xml | line 15 | column 70
src-resolve: 无法将名称 'rootElement' 解析为 'element declaration' 组件。 | tmp3549119286148934718DEF_FHSP.bpmn20.xml | line 16 | column 72
src-resolve: 无法将名称 'bpmndi:BPMNDiagram' 解析为 'element declaration' 组件。 | tmp3549119286148934718DEF_FHSP.bpmn20.xml | line 17 | column 79
src-resolve: 无法将名称 'relationship' 解析为 'element declaration' 组件。 | tmp3549119286148934718DEF_FHSP.bpmn20.xml | line 18 | column 73
cvc-complex-type.2.4.a: 发现了以元素 'process' 开头的无效内容。应以 '{"http://www.omg.org/spec/BPMN/20100524/MODEL":import}' 之一开头。 | tmp3549119286148934718DEF_FHSP.bpmn20.xml | line 3 | column 56
cvc-elt.4.2: 无法将 'tFormalExpression' 解析为元素 'conditionExpression' 的类型定义。 | tmp3549119286148934718DEF_FHSP.bpmn20.xml | line 28 | column 51
cvc-elt.4.2: 无法将 'tFormalExpression' 解析为元素 'conditionExpression' 的类型定义。 | tmp3549119286148934718DEF_FHSP.bpmn20.xml | line 41 | column 51
cvc-elt.4.2: 无法将 'tFormalExpression' 解析为元素 'conditionExpression' 的类型定义。 | tmp3549119286148934718DEF_FHSP.bpmn20.xml | line 54 | column 51
at org.activiti.engine.impl.util.xml.Parse.throwActivitiExceptionForErrors(Parse.java:186)
at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:200)
at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:81)
at org.activiti.engine.impl.persistence.deploy.DeploymentCache.deploy(DeploymentCache.java:37)
at org.activiti.engine.impl.persistence.entity.DeploymentManager.insertDeployment(DeploymentManager.java:39)
at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:57)
at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:30)
at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:42)
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
at org.activiti.engine.impl.RepositoryServiceImpl.deploy(RepositoryServiceImpl.java:43)
at org.activiti.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:105)
at com.esen.platform.workflow.management.WorkflowDeploymentMgr.deployWorkflow(WorkflowDeploymentMgr.java:48)
at com.esen.platform.action.workflow.ActionWorkflowMgr.mgrpublishinstances(ActionWorkflowMgr.java:2072)
at com.esen.platform.action.workflow.ActionWorkflowMgr.jsexecute(ActionWorkflowMgr.java:161)
at com.esen.weblib.action.Action_Js.execute(Action_Js.java:73)
at com.esen.weblib.action.Action.handle(Action.java:66)
at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:838)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at com.esen.platform.web.ReleasabledServlet.service(ReleasabledServlet.java:93)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.esen.platform.action.FilterLoginCheck.doFilter(FilterLoginCheck.java:95)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.esen.platform.web.PlatformLocaleContextFilter.doFilter(PlatformLocaleContextFilter.java:47)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.esen.i.action.EsmainActionFilter.doFilter(EsmainActionFilter.java:42)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.esen.platform.sso.SSODelegatingFilter.doFilter(SSODelegatingFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:1025)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1137)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2555)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2544)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
JavaScript StackTrace:
function(queryObj){
try{
queryObj.checkResult();
var data = queryObj.getResponseText().split(",")[1];
if(data=="fail") {
showMessage("发布失败,流程定义不合法","提示");
hideWaitDialog();
} else {
hideWaitDialogWithComplete(1000,"发布成功!");
window.location.href = "workflowmgr.do?command=mgrbasicinfo&id="+'DEF_FHSP';
}
} catch(e) {
hideWaitDialog();
showError(e);
}
}
function(){this._lastReadyState=this.hp.readyState;if(this.hp.readyState==4){this._clearTimeoutTimer();if(this.hp.status==undefined||this.hp.status==0||this.hp.status>12000){if(this._retry()){return;}}var onfinish=this.onfinish;if(typeof(onfinish)=="function"){onfinish(this,this.userdata);}else{eval(onfinish);}if(this.autodispose){this.dispose();}}}
function(){j._onreadystatechange();}
weilh 发表于 2020-2-28 10:28
jdk 7.0.750.13
tomcat7
emmm 那跟我遇到的那个不一样嘞,找研发看一下吧,找人私聊你,注意查收哦