Re: [rules-users] Drools5.2.2 integration with scala2.9.0.1

2011-08-08 Thread puneet.java
Thank Mario, Thank a lot for the reply. The solution was really helpful and I am able to run my code. I would also like to know is there any guideline or document to debug these kind of errors, since it doesn't show any problem at compile time or runtime. Thanks, Puneet -- View this message in

Re: [rules-users] Drools5.2.2 integration with scala2.9.0.1

2011-08-06 Thread Mario Fusco
Hi, I just tried the same and indeed the code as presented in the post you linked cannot work. The problem is that MVEL tries to read the field value of the Temperature class by following the JavaBean specification, i.e. by looking for a method named getValue(). It means that if you change the