Bertrand,
 
You're probably missing the org.drools.runtime.pipeline.impl.XStreamTransformerProviderImpl class in your classpath?  Make sure you add the drools-transformer-xstream-5.x.jar to your classpath.
 
Kris
 
----- Original Message -----
From: Bertrand Grottier
To: rules-users@lists.jboss.org
Sent: Tuesday, March 09, 2010 2:14 PM
Subject: [rules-users] XStream

Hello,

My general aim is to load facts from a xml file.
I tried to modify an example furnished in the documentation (Example 3.37. Constructing a pipeline).

I get an exception on the following line:
Transformer transformer = PipelineFactory.newXStreamFromXmlTransformer( xstream );

The message is the following:
org.drools.ProviderInitializationException: Provider org.drools.runtime.pipeline.impl.XStreamTransformerProviderImpl could not be set.

Am I going in the right direction ? (I am a newbie)
If yes, have you got an explanation for my problem.
Otherwise, what is the simplest way to achieve my goal ?

Thank you in advance for your help.

Regards,

Benoît

PS : I am using Drools 5.0


Envie de naviguer sur Internet sans laisser de trace? La solution avec Internet Explorer 8


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm for more information.