I note XStream is expecting "org.drools.brms.client.modeldriven.brl.RuleModel" on the classpath.
Guvnor (Community version) uses "org.drools.ide.common.client.modeldriven.brl.RuleModel".
Is there something you are not telling us?
Hi,Yes i use the same version for drools and guvnor 5.12011/9/15 Michael Anstis <michael.anstis@gmail.com>
Was your BRL generated from the same version of Guvnor as you are trying to de-serialise?
The XStream error you show normally happens when there has been a change to the Object model from which the XML was created and the model to which you are trying to hydrate.
2011/9/15 AZZAZ mohamed <azzazm@gmail.com>_______________________________________________Hi,I want to convert my file. brl to file. drl. I have this exception. does anyone has an idea (solution)
thank you in advance
Caused by: com.thoughtworks.xstream.converters.ConversionException: metadataList : metadataList : metadataList : metadataList---- Debugging information ----message : metadataList : metadataListcause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassExceptioncause-message : metadataList : metadataListclass : org.drools.brms.client.modeldriven.brl.RuleModelrequired-type : org.drools.brms.client.modeldriven.brl.RuleModelpath : /rule/metadataList-------------------------------at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:89)at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137)at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:923)at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:909)at com.thoughtworks.xstream.XStream.fromXML(XStream.java:853)at com.thoughtworks.xstream.XStream.fromXML(XStream.java:845)at org.drools.brms.server.util.BRXMLPersistence.unmarshal(BRXMLPersistence.java:91)at fr.dto.RulesEngine.<init>(RulesEngine.java:42)... 2 moreCaused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: metadataList : metadataListat com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:68)at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:71)
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
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users