tomcat部署activiti-explorer.war包报错org.activiti.bpmn.exceptions.XMLException: src-resolve: 无法将名称 ‘exten

在Tomcat部署activiti-explorer.war报错,访问不了页面
在这里插入图片描述

报错信息

org.activiti.bpmn.exceptions.XMLException: src-resolve: 无法将名称 ‘extension’ 解析为 ‘element declaration’ 组件。

org.activiti.bpmn.exceptions.XMLException: src-resolve: 无法将名称 ‘extension’ 解析为 ‘element declaration’ 组件。
at org.activiti.bpmn.converter.BpmnXMLConverter.convertToBpmnModel(BpmnXMLConverter.java:280)
at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:187)
at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:136)
at org.activiti.engine.impl.persistence.deploy.DeploymentManager.deploy(DeploymentManager.java:58)
at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:106)
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. d o I n T r a n s a c t i o n ( S p r i n g T r a n s a c t i o n I n t e r c e p t o r . j a v a : 47 ) a t o r g . s p r i n g f r a m e w o r k . t r a n s a c t i o n . s u p p o r t . T r a n s a c t i o n T e m p l a t e . e x e c u t e ( T r a n s a c t i o n T e m p l a t e . j a v a : 133 ) a t o r g . a c t i v i t i . s p r i n g . S p r i n g T r a n s a c t i o n I n t e r c e p t o r . e x e c u t e ( S p r i n g T r a n s a c t i o n I n t e r c e p t o r . j a v a : 45 ) a t o r g . a c t i v i t i . e n g i n e . i m p l . i n t e r c e p t o r . L o g I n t e r c e p t o r . e x e c u t e ( L o g I n t e r c e p t o r . j a v a : 31 ) a t o r g . a c t i v i t i . e n g i n e . i m p l . c f g . C o m m a n d E x e c u t o r I m p l . e x e c u t e ( C o m m a n d E x e c u t o r I m p l . j a v a : 40 ) a t o r g . a c t i v i t i . e n g i n e . i m p l . c f g . C o m m a n d E x e c u t o r I m p l . e x e c u t e ( C o m m a n d E x e c u t o r I m p l . j a v a : 35 ) a t o r g . a c t i v i t i . e n g i n e . i m p l . R e p o s i t o r y S e r v i c e I m p l . d e p l o y ( R e p o s i t o r y S e r v i c e I m p l . j a v a : 79 ) a t o r g . a c t i v i t i . e n g i n e . i m p l . r e p o s i t o r y . D e p l o y m e n t B u i l d e r I m p l . d e p l o y ( D e p l o y m e n t B u i l d e r I m p l . j a v a : 156 ) a t o r g . a c t i v i t i . e x p l o r e r . c o n f . D e m o D a t a C o n f i g u r a t i o n . i n i t P r o c e s s D e f i n i t i o n s ( D e m o D a t a C o n f i g u r a t i o n . j a v a : 199 ) a t o r g . a c t i v i t i . e x p l o r e r . c o n f . D e m o D a t a C o n f i g u r a t i o n . i n i t ( D e m o D a t a C o n f i g u r a t i o n . j a v a : 91 ) a t s u n . r e f l e c t . N a t i v e M e t h o d A c c e s s o r I m p l . i n v o k e 0 ( N a t i v e M e t h o d ) a t s u n . r e f l e c t . N a t i v e M e t h o d A c c e s s o r I m p l . i n v o k e ( N a t i v e M e t h o d A c c e s s o r I m p l . j a v a : 62 ) a t s u n . r e f l e c t . D e l e g a t i n g M e t h o d A c c e s s o r I m p l . i n v o k e ( D e l e g a t i n g M e t h o d A c c e s s o r I m p l . j a v a : 43 ) a t j a v a . l a n g . r e f l e c t . M e t h o d . i n v o k e ( M e t h o d . j a v a : 498 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . a n n o t a t i o n . I n i t D e s t r o y A n n o t a t i o n B e a n P o s t P r o c e s s o r 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:79) at org.activiti.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:156) at org.activiti.explorer.conf.DemoDataConfiguration.initProcessDefinitions(DemoDataConfiguration.java:199) at org.activiti.explorer.conf.DemoDataConfiguration.init(DemoDataConfiguration.java:91) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor 1.doInTransaction(SpringTransactionInterceptor.java:47)atorg.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)atorg.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45)atorg.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31)atorg.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40)atorg.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:35)atorg.activiti.engine.impl.RepositoryServiceImpl.deploy(RepositoryServiceImpl.java:79)atorg.activiti.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:156)atorg.activiti.explorer.conf.DemoDataConfiguration.initProcessDefinitions(DemoDataConfiguration.java:199)atorg.activiti.explorer.conf.DemoDataConfiguration.init(DemoDataConfiguration.java:91)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:498)atorg.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessorLifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:300)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)

在这里插入图片描述

原因分析

Tomcat的目录存在中文,导致启动有问题,放到没有中文的目录就可以了。
在这里插入图片描述

解决

在这里插入图片描述

重新启动Tomcat,正常访问
在这里插入图片描述
结束!!
hy:70


						生活中的烦恼就像影子,只要有光,就会存在。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值