Does anyone have an answer to this query?
what version do you use? Can you try with 6.1.0.CR1 as it has number of fixes/improvements in maven dependency resolution for kjars.
Hi Maciej - thanks for replying.
I have encountered this on 6.0 as well as on 6.0.1 Final
I'll try this on 6.1.0 CR1..will keep you posted.
Thanks Maciej - that seems to be working on 6.1.0..
I have another problem though.
I have a jbpm2 jar(see attached zip project) which loads the spring application context(included in the same jar) from the classpath.
I create a simple workflow with a script task(with dependency as jbpm2.jar)
"System.out.println("Script task executing");
com.test.jbpm.jbpm2.App app = new com.test.jbpm.jbpm2.App();
org.springframework.context.ApplicationContext appContext = app.loadAppContext();
com.test.jbpm.jbpm1.App app1 = (com.test.jbpm.jbpm1.App)appContext.getBean("app1");
System.out.println("Test method called " + app1.test());"
It fails to load application-context-jbpm2.xml though..I have tried classpath*:application-context-jbpm2.xml as well as using FileAppContextXml..
I also tried adding the xml in the jbpm project on the console containing the simple workflow..
without any sucess..
how do I load the app context?
jbpm.zip 10.6 KB
On 6.1.0 CR1, the following dependency issues have been observed:
If we add spring-data-jpa and/or hibernate jars as dependencies, to a jbpm project, it fails with error: "Number of bytes transferred cannot be negative". Do we have a fix for this yet?