I am trying to create a enumeration that uses a class to populate it, per
*16.10. Data enumerations (drop down list configurations)*.
I have added the jar that contains my class to the drools repository and
added it as a dependency to the project.
When building a guided rule, that object can be selected and the editor will
add
import dbAccessProto.ListAccess;
But, if I create an enumeration in the gui with Fact="a", field="b",
and
context = "(new dbAccessProto.ListAccess()).getListOfLists()"
I get the error below.
Is there some other place I need to put the jar flle or specify it?
[Error: unable to resolve class: dbAccessProto.ListAccess from [Module
"deployment.guvnor.war:main" from Service Module Loader]] [Near : {... [
'a.b' : (new dbAccessProto.ListAccess()).ge ....}] ^ [Line: 1, Column: 16]
source:
1. | 'a.b' : (new dbAccessProto.ListAccess()).getListOfLists()
--
View this message in context:
http://drools.46999.n3.nabble.com/Need-Help-with-Enumerations-and-Classpa...
Sent from the Drools: User forum mailing list archive at
Nabble.com.