Just a reminder this list has moved to Google Groups:
http://drools.org/community/forum.html
https://groups.google.com/forum/#!forum/drools-usage

Mark

On 20 Aug 2014, at 22:27, Stephen Masters <stephen.masters@me.com> wrote:

May be worth checking what class/interface your bean is. In the code that works, you are casting it to StatelessKieSession, but I suspect that the object which was injected was a KieSession.

Steve



On 19 Aug 2014, at 15:17, Ged Byrne <ged.byrne@gmail.com> wrote:

Hi Matt,

This may be a problem with Spring rather than KIE.

Take a look at the following:

Regards, 


Ged



On 16 August 2014 18:56, mattmadhavan <mmadhavan@facs.org> wrote:
Hello,
I have the following kie-spring xml definition to test my custom evaluater.



I am not able to inject neither the *IN_LIST_KBase *nor the
/IN_LIST_KSession/ in my test class as follows:



But i am able to look it up via the applicationContext as follows:


I am bit confused! Any ideas please?

Thanks in advance!

Matt'M



--
View this message in context: http://drools.46999.n3.nabble.com/Kie-spring-Issues-Not-able-to-autowire-sessions-tp4030663.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

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users