I assume this is guvnor 5.5 (or lower)? You need to add the JAR with your helper class to your container's (AS7, Tomcat) /lib folder.
On 4 December 2013 17:39, SrjTx <clickt...@yahoo.com> wrote: > 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-Classpath-tp4027091.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