jbpm3和spring整合时遇到Cannot find the declaration of element 'jbpm-configurati

qiping 2009-07-10 04:24:48
我把default.jbpm.cfg.xml的内容考到jbpm.cfg.xml后,系统报
Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'jbpm-configuration'.
请问sax解析xml时必须要有dtd或scheme吗?
jbpm-starters-kit-3.1.2
spring 2.5.6
hibernate3.2.5
jdk 1.6
eclipse 3.4

我是按照http://wellonhome.blog.sohu.com/118417206.html的教程配的。
...全文
119 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
qiping 2009-07-12
  • 打赏
  • 举报
回复
我的jbpm.cfg.xml和老兄一样的。
sangshusen_1988 2009-07-10
  • 打赏
  • 举报
回复
<jbpm-configuration>

<!--
The default configurations can be found in org/jbpm/default.jbpm.cfg.xml
Those configurations can be overwritten by putting this file called
jbpm.cfg.xml on the root of the classpath and put in the customized values.
-->

</jbpm-configuration>
jbpm.cfg.xml的配置如上,你是不是没有jbpm-configuration节点

67,513

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧