2 Replies Latest reply on Jan 28, 2013 7:18 AM by ioanna_kaliarnta

    Smooks transformations with Freemarker template do not work in SwitchYard 0.7 version

    ioanna_kaliarnta

      Hi,

       

      We recently upgraded our development environment from SwitchYard 0.6 to 0.7 and we experienced an issue with the smooks transformations we had implemented in our porjects.

       

      In particular, in our services we use smooks transformations with Freemarker template in order to transform Java objects to the XML output messages of the services.

      When we deployed our application in SwitchYard 0.7 server, the transformations didn't work and the following error was written in server.log whe the transformation was executed:

      Caused by: java.lang.ClassNotFoundException: org.codehaus.groovy.control.CompilationFailedException from [Module "org.milyn:main" from local module

       

      In order to avoid this error and make the trasnformation work, we replaced the xstream-1.4.3 library of the module com.thoughtworks with the xstream-1.2.2 library of the same module in version 0.6 of SwitchYard.

       

      Thank you,

      Ioanna