[rules-users] Unable to find rules package
IPatel
ishita.patel at usbank.com
Tue Feb 19 14:44:21 EST 2013
Hi
I have following code to load the package into knowledgebase. However i am
getting FileNotFound error.
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add(ResourceFactory.newUrlResource("http://localhost:8080/guvnor-5.5.0.Final-jboss-as-7.0/org.drools-guvnor/org.drools.guvnor.Guvnor/package/TestIsha/LATEST"),ResourceType.PKG);
KnowledgeBase kbase = KnowledgeBaseFactory.newKnowledgeBase();
kbase.addKnowledgePackages(kbuilder.getKnowledgePackages());
StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
Has anyone experienced this?? Do i need to download the package into my
project? Will this automatically read the changes made via guvnor??
Your help will be greatly appreciated.
--
View this message in context: http://drools.46999.n3.nabble.com/Unable-to-find-rules-package-tp4022466.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list