关于activit工作流webservice
@咖啡兔 你好,想跟你请教个问题:关于activit工作流webservice的问题,部署流程时报以下的错误:
Caused by: org.activiti.engine.ActivitiException: Could not find importer for type http://schemas.xmlsoap.org/wsdl/
at org.activiti.engine.impl.bpmn.parser.BpmnParse.getImporter(BpmnParse.java:327)
at org.activiti.engine.impl.bpmn.parser.BpmnParse.createImports(BpmnParse.java:306)
at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:229)
at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:113)
at org.activiti.engine.impl.persistence.deploy.DeploymentManager.deploy(DeploymentManager.java:57)
at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:103)
at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:37)
at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24)
at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57)
at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45)
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31)
at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40)
at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:35)
at org.activiti.engine.impl.RepositoryServiceImpl.deploy(RepositoryServiceImpl.java:78)
at org.activiti.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:156)
at com.neusoft.bpm.util.BpmHandler.createDeployment(BpmHandler.java:240)
at com.neusoft.bpm.action.MethodServlet.depoly(MethodServlet.java:88)
... 29 more
我的bpmn文件头<import importType="http://schemas.xmlsoap.org/wsdl/"
location="http://localhost:9999/leave?wsdl"
namespace="http://webservice.kafeitu.me/" />
为什么求解?谢谢了。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
只能看源码解决,不知道你是什么版本,每个版本的源码不同,原因也不同。我用的是6.x,原因是找不到cxf的jar,class ForName报错,加入jar包即可。6.0.0源码是: