Problems encountered when running build. Deploy. xml and build. XML in jbpm3.1.4
1. When you run create. dB of build. Deploy. XML, the error "jbpm schema export unsuccessful" appears.
Solution:
Change the ant. Home, jbpm. Home, and JBoss. Home paths in build. properties. They must be absolute paths. I have tried % jboss_home %.
2. When you run test of build. XML, the error "cocould not create task or type of Type: JUnit." occurs.
Solution:
In the eclipse environment window, choose "Preferences"> "ant"> "class path" in the runtime, and add the path of JUnit. jar.
3. After you run build. Deploy. XML, the jbpm folder is generated in the % jboss_home %/Server File. Open cmd, go to % jboss_home %/bin, and enter run. Bat-C jbpm. Error:
Error [commandexecutorthread] org. hibernate. hibernateexception: cocould not parse configuration: hibernate. cfg. xml
In version 3.1.4, the default hibernate. cfg. XML has one more line than 3.1.2.
< Property Name = "Hibernate. cache. provider_class" > Org. hibernate. cache. hashtablecacheprovider </ Property >
Locate the ehcache-1.1.jar and copy it to the % jboss_home %/Server/jbpm2/deploy/jbpm. Sar directory. Solve the problem.