请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

jdk17运行工作流项目异常

23:46:51 INFO Init DruidDataSource
23:46:51 INFO {dataSource-1} inited
23:46:51 INFO Initializing ExecutorService
23:46:51 INFO Initializing ExecutorService 'AsyncTaskExecutor’
23:46:53 INFO The following process definition files will be deployed: [leave.bpmn20.xml, meeting.bpmn20.xml, reim.bpmn20.xml]
23:46:53 INFO Found 1 Process Engine Configurators in total:
23:46:53 INFO class org.activiti.spring.process.autoconfigure.ProcessExtensionsConfiguratorAutoConfigurationEnhancerBySpringCGLIBEnhancerBySpringCGLIBEnhancerBySpringCGLIB35c2ddee (priority:10000)
23:46:53 INFO Executing beforeInit() of class org.activiti.spring.process.autoconfigure.ProcessExtensionsConfiguratorAutoConfigurationEnhancerBySpringCGLIBEnhancerBySpringCGLIBEnhancerBySpringCGLIB35c2ddee (priority:10000)
23:46:53 INFO Executing configure() of class org.activiti.spring.process.autoconfigure.ProcessExtensionsConfiguratorAutoConfigurationEnhancerBySpringCGLIBEnhancerBySpringCGLIBEnhancerBySpringCGLIB35c2ddee (priority:10000)
23:46:53 INFO ProcessEngine default created
23:46:53 ERROR Error while closing command context
org.activiti.bpmn.exceptions.XMLException: src-resolve: Cannot resolve the name ‘extension’ to a(n) ‘element declaration’ component.
at org.activiti.bpmn.converter.BpmnXMLConverter.convertToBpmnModel(BpmnXMLConverter.java:280)
at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:148)
at org.activiti.engine.impl.bpmn.deployer.ParsedDeploymentBuilder.createBpmnParseFromResource(ParsedDeploymentBuilder.java:96)
at org.activiti.engine.impl.bpmn.deployer.ParsedDeploymentBuilder.build(ParsedDeploymentBuilder.java:55)
at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:66)
at org.activiti.engine.impl.persistence.deploy.DeploymentManager.deploy(DeploymentManager.java:58)

正在回答 回答被采纳积分+3

1回答

神思者 2021-11-10 10:08:21

必须用JDK15.0.2运行工作流项目,高版本JDK对Lombok支持有问题会报错

0 回复 有任何疑惑可以回复我~

相似问题

登录后可查看更多问答,登录/注册

问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信