Kris Verlaenen [
https://community.jboss.org/people/KrisVerlaenen] created the discussion
"Re: Error creating bean with name 'taskResourceFactory' defined in class
path resource [META-INF/spring/applicationContext.xml]"
To view the discussion, visit:
https://community.jboss.org/message/761936#761936
--------------------------------------------------------------
Hi,
This definitely seems to be a different error:
Caused by: java.lang.IllegalArgumentException: Named query not found:
UnescalatedDeadlines
It's not picking up the query, which is defined in the Taskorm.xml file:
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/jbpm-human...
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/jbpm-human...
This config file should be part of the jbpm-human-task-core jar
In your persistence.xml, do you have a reference to this config file (so it knows to load
it), something like:
<mapping-file>META-INF/Taskorm.xml</mapping-file>
Looking at your server log, it seems it's trying to load it, but fails:
15:44:18,871 INFO [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-2)
HHH00360:Unable to resolve mapping file [classpath:Taskorm.xml]
Could it be that you missed the META-INF folder?
Kris
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/761936#761936]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]