title: Drools XStream in a spring service
body: <p>I'm starting to work with drools , I wanted to use it in spring-boot service, but even for a simple example I 've got a no such method error on Xstream. What did I miss?</p>
  
  <pre><code>  Caused by: java.lang.NoSuchMethodError: com.thoughtworks.xstream.XStream.setupDefaultSecurity(Lcom/thoughtworks/xstream/XStream;)V
          at org.kie.internal.xstream.XStreamUtils.internalCreateXStream(XStreamUtils.java:58)
          at org.kie.internal.xstream.XStreamUtils.createXStream(XStreamUtils.java:38)
          at org.drools.compiler.kproject.models.KieModuleModelImpl$kModuleMarshaller.&lt;init&gt;(KieModuleModelImpl.java:170)
          at org.drools.compiler.kproject.models.KieModuleModelImpl$kModuleMarshaller.&lt;init&gt;(KieModuleModelImpl.java:169)
          at org.drools.compiler.kproject.models.KieModuleModelImpl.&lt;clinit&gt;(KieModuleModelImpl.java:167)
          at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:179)
          at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:141)
          at org.drools.compiler.kie.builder.impl.ClasspathKieProject.discoverKieModules(ClasspathKieProject.java:112)
          at org.drools.compiler.kie.builder.impl.ClasspathKieProject.init(ClasspathKieProject.java:84)
          at org.drools.compiler.kie.builder.impl.KieContainerImpl.&lt;init&gt;(KieContainerImpl.java:142)
          at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieClasspathContainer(KieServicesImpl.java:135)
          at org.drools.compiler.kie.builder.impl.KieServicesImpl.getKieClasspathContainer(KieServicesImpl.java:101)
          at org.drools.compiler.kie.builder.impl.KieServicesImpl.getKieClasspathContainer(KieServicesImpl.java:79)
  </code></pre>