Have you add the workbench maven repository to your web-app's pom and the project you've compiled in the workbench as a decency?
Have you disabled security for the maven repository or have you configured maven preemptive authentication in settings.xml? There were a number of emails last week with exactly the same question - and solutions given. Sent on the move On 11 Dec 2013 05:24, "vimalkansal" <vimalkan...@yahoo.com> wrote: > Hi, > > I have an instance of Kie-WB running and I have started it with property > "org.guvnor.m2repo.dir" set to some non default location (i.e not in > /../home/.2). I am able to use the KIE WB to "build and deploy" the > project > to this repository. Then I have built a web application ( I have declared > the dependency on org.kie/kie-ci module and I have verified that this jar > is > getting packaged under WEB-INF/lib folder of my .war file). So with this > setup, when I have a code like this in my web application : > > KieServices ks = KieServices.Factory.get(); > KieContainer kContainer = null; > *kContainer = ks.newKieContainer(ks.newReleaseId("com.xyz", "HelloWorld", > "1.0.0-SNAPSHOT"));* > > it seems to wait inordinately long at the highlighted line and then throws > up an exception to the telling can't get the default Kie Session. My > question : > > Do I have to tell the web application about the location of the maven > repo? if yes how? > > Thx > > Vimal > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Drools6-Having-trouble-in-using-kie-ci-tp4027208.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users >
_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users