[rules-users] Unable to build index of kmodule.xml from Kie project jar

Sumit Dhaniya sumitdhaniya at gmail.com
Sun Jul 6 19:57:40 EDT 2014


I'm trying to use the Kie jar in my spring project. It successfully
identifies the Kie jars in my project but give errors listed below :-

INFO  ClasspathKieProject - Found kmodule:
jar:file:/C:/Users/Sumit%20Dhaniya/.m2/repository/com/demo/FirstDemo/1.0/FirstDemo-1.0.jar!/META-INF/kmodule.xml
ERROR ClasspathKieProject - Unable to load pom.properties
from/C:/Users/Sumit
Dhaniya/.m2/repository/com/demo/FirstDemo/1.0/FirstDemo-1.0.jar as jarPath
cannot be found
/Users/Sumit Dhaniya/.m2/repository/com/demo/FirstDemo/1.0/FirstDemo-1.0.jar
ERROR ClasspathKieProject - Unable to load pom.properties
from/C:/Users/Sumit
Dhaniya/.m2/repository/com/demo/FirstDemo/1.0/FirstDemo-1.0.jar
\Users\Sumit Dhaniya\.m2\repository\com\demo\FirstDemo\1.0\FirstDemo-1.0.jar
(The system cannot find the path specified)
ERROR ClasspathKieProject - Unable to build index of kmodule.xml
url=jar:file:/C:/Users/Sumit%20Dhaniya/.m2/repository/com/demo/FirstDemo/1.0/FirstDemo-1.0.jar!/META-INF/kmodule.xml

Even if I define kie modules and sessions in my conf file I can't access the
drl and rdrl files in my Kie Project.

Though if I create my objects using
kieServices.getResources().newUrlResource(url); everything works fine.




--
View this message in context: http://drools.46999.n3.nabble.com/Unable-to-build-index-of-kmodule-xml-from-Kie-project-jar-tp4030253.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list