[org/jbpm/msg/Message.hbm.xml] cannot be opened because it does not exist
上面是我启动tomcat报出的异常。。。
从此我可以得到的jbpm3.2与3.1的区别之一:
package org.jbpm.msg 这个包下的文件在3.2版本中突然少了很多。。。
1.Message.hbm.xml配置文件没有了
2.command包和jms包里的JAVA文件都去掉了。
解决方法:
下面是用的框架是SPRING+HIBERNATE+JBPM
在applicationContext.xml 文件中:
<!-- msg.db mapping files -->
<!--
<value>org/jbpm/msg/Message.hbm.xml</value>
<value>org/jbpm/msg/db/TextMessage.hbm.xml</value>
-->
本文介绍了一个JBPM 3.2版本启动时出现的配置文件缺失问题及其解决方案。该问题涉及Message.hbm.xml等文件不存在的情况,通过调整Spring配置文件applicationContext.xml中的映射路径来解决。
168





