[jboss-user] [jBPM] - Re: rules compiler - maven plugin

J J do-not-reply at jboss.com
Wed Feb 9 22:06:30 EST 2011


J J [http://community.jboss.org/people/joshjdevl] created the discussion

"Re: rules compiler - maven plugin"

To view the discussion, visit: http://community.jboss.org/message/586593#586593

--------------------------------------------------------------
Thanks. I moved on to sakai since Drools integration helper requires java 1.6.

Using  https://github.com/sakaiproject/nakamura/tree/master/sandbox/drools/drools-maven-plugin https://github.com/sakaiproject/nakamura/tree/master/sandbox/drools/drools-maven-plugin I receive the following when compiling a MVEL rule

[ERROR] Unable to resolve ObjectType 'Car' : [Rule name='maserati']


[ERROR] Unable to resolve ObjectType 'Claim' : [Rule name='maserati']


[ERROR] Unable to build expression for 'consequence': [Error: Failed to compile: 2 compilation error(s): 
 - (1,6) unqualified type in strict mode for: $claim
 - (1,12) unqualified type in strict mode for: valid]
[Near : {... Unknown ....}]
             ^
[Line: 1, Column: 0] '    $claim.valid = true
' : [Rule name='maserati']


[ERROR] Unable to resolve ObjectType 'Car' : [Rule name='lamborghini']


[ERROR] Unable to resolve ObjectType 'Claim' : [Rule name='lamborghini']


[ERROR] Unable to build expression for 'consequence': [Error: Failed to compile: 1 compilation error(s): 
 - (1,6) unqualified type in strict mode for: $claim]
[Near : {... Unknown ....}]
             ^
[Line: 1, Column: 0] '    $claim.setValid(true)
' : [Rule name='lamborghini']
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/586593#586593]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110209/bc0de3e9/attachment.html 


More information about the jboss-user mailing list