new ClassPathXmlApplicationContext("classpath:workflow-beans.xml")
context = new ClassPathXmlApplicationContext("classpath:workflow-beans.xml") { @Override protected void initBeanDefinitionReader(XmlBeanDefinitionReader reader) { super.initBeanDefinitionReader(reader);
reader.setBeanClassLoader(passedInClassLoader); setClassLoader(passedInClassLoader); } };
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/beans
<context:component-scan base-package="com.company.project" />
</beans>
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: URL [jar:file:/data/maven/repositories/kie/com/company/project/my-workflow-kjar/18.05.1-SNAPSHOT/my-workflow-18.05.1-SNAPSHOT.jar!/com/company/workflow/registration/MessageConsumer.class]; nested
exception is java.io.FileNotFoundException: JAR entry com/company/workflow/registration/MessageConsumer.class not found in /data/maven/repositories/kie/com/company/project/my-workflow/18.05.1-SNAPSHOT/my-workflow-18.05.1-SNAPSHOT.jar
!/com/company/project/workflow/registration/MessageConsumer.class
!/com/company/workflow/registration/MessageConsumer.class
--
You received this message because you are subscribed to the Google Groups "jBPM Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-developme...@googlegroups.com.
To post to this group, send email to jbpm-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-development/6669a5b7-7b9e-4ec1-ac63-1a6568cc9d77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Maciej
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-development+unsub...@googlegroups.com.