[rules-users] Problem with ObjectFatory for jaxb objects

devan.vanreenen at gmail.com devan.vanreenen at gmail.com
Sat May 26 03:43:40 EDT 2012


Hi there, 

I uploaded a domain model to a package on Guvnor 
The imported objects contain jaxb objects from 2 different schemas 
included in the package imports are


import uk.co.myapp.rules.ObjectFactory
import uk.co.myapp.rules.domain.policy.ObjectFactory

My rules objects use uk.co.myapp.rules.ObjectFactory but I am trying to
create a function which uses objects that use
uk.co.myapp.rules.domain.policy.ObjectFactory but the function fails to
compile

[calcAgeNext] [ calcAgeNext : Function Compilation error
calcAgeNext (line:-100): The import
uk.co.myapp.rules.domain.policy.ObjectFactory collides with another import
statement
 ]

Please assist, how can I fix this.

Thanks
Devan

--
View this message in context: http://drools.46999.n3.nabble.com/Problem-with-ObjectFatory-for-jaxb-objects-tp4016408.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list