[artifact:dependencies] Its dependencies (if any) will NOT be available to the current build. [artifact:dependencies] [WARNING] POM for 'org.activiti:activiti-engineom:5.2:compile' is invalid.
The BUILD FAILED with org.activiti.engine.ActivitiException: Could not find a process engine with name default, engines loaded: Process engine name: unknown - resource: file:/C:/Program%20Files/Activiti/activiti-5.2/workspace/activiti-cycle-examples/Test_5.2/target/classes/activiti.cfg.xml - status: Error while initializing engine. Stacktrace: java.lang.NoClassDefFoundError: org/springframework/beans/factory/support/BeanDefinitionRegistry
The last error indicates the ProcessEngines tries to load an engine with name "default", but wasn't found on the classpath (no engines are loaded it seems). Probabily the activiti.cfg.jar (or activiti.cfg.xml) isn't on the classpath.
When do you get this error (demo, deploy bar using ant, …)?
Looks like spring-beans is not on the classpath for the ANT-target, this is used to read process-engine configuration. Can you check what classpath you use for the deploy-bar?
Thanks Frederic, thats it. spring-beans are now on my classpath. But there comes the next problem.
BUILD FAILED C:\Program Files\activiti-5.2\workspace\activiti-cycle-examples\FileBug\build.xml:100: org.activiti.engine.ActivitiException: Could not find a process engine with name default, engines loaded: Process engine name: unknown - resource: file:/C:/Program%20Files/activiti-5.2/workspace/activiti-cycle-examples/FileBug/target/classes/activiti.cfg.xml - status: Error while initializing engine. Stacktrace: org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for selectDbSchemaVersion ### The error may exist in org/activiti/db/ibatis/variable.mapping.xml ### Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for selectDbSchemaVersion