3 Replies Latest reply on Jan 16, 2017 4:03 AM by Grzegorz Grzybek

    Error using xalan processor in fuse esb

    Gopinath Thailapillai Newbie

      Hi, I'm trying to use the xalan transformer factory - org.apache.xalan.xsltc.trax.TransformerFactoryImpl. I have installed the bundles and provided the imports. I'm getting the following error when i deploy the bundle. Not sure what is the issue -

       

      Exception in thread "SpringOsgiExtenderThread-23" java.lang.NoClassDefFoundError: org/apache/xalan/xsltc/compiler/Parser2014-10-09 21:42:05,681 | ERROR | x

      tenderThread-23 | ContextLoaderListener            | ?                                   ? |

      145 - org.springframework.osgi.extender - 1.2.1 | Application context refresh failed (OsgiBundleXmlApplicationContext(bundle=com        at org.apache.xalan

      .xsltc.compiler.XSLTC.<init>(XSLTC.java:141).mt.nice.cal, config=osgibundle:/META-INF/spring/*.xml))

       

      java.lang.NoClassDefFoundError: org/apache/xalan/xsltc/compiler/Parser

              at org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:742)     at org.apache.xalan.xsltc.compiler.XSLTC.<i

      nit>(XSLTC.java:141)

       

              at org.apache.xalan.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:742)

              at org.apache.camel.builder.xml.XsltBuilder.setTransformerSource(XsltBuilder.java:329)  at org.apache.camel.builder.xml.XsltBuilder.setTransformerS

      ource(XsltBuilder.java:329)

       

              at org.apache.camel.component.xslt.XsltEndpoint.loadResource(XsltEndpoint.java:112)

              at org.apache.camel.component.xslt.XsltEndpoint.loadResource(XsltEndpoint.java:112)     at org.apache.camel.component.xslt.XsltEndpoint.doStart(Xsl

      tEndpoint.java:121)

       

              at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)

              at org.apache.camel.component.xslt.XsltEndpoint.doStart(XsltEndpoint.java:121)  at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCa

      melContext.java:1929)

       

              at org.apache.camel.impl.DefaultCamelContext.doAddService(DefaultCamelContext.java:987)

              at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)        at org.apache.camel.impl.DefaultCamelContext.addService(DefaultCame

      lContext.java:948)

       

              at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:527)

              at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:1929)        at org.apache.camel.util.CamelContextHelper.getMand

      atoryEndpoint(CamelContextHelper.java:71)

       

              at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:192)

              at org.apache.camel.impl.DefaultCamelContext.doAddService(DefaultCamelContext.java:987) at org.apache.camel.impl.DefaultRouteContext.resolveEndpoin

      t(DefaultRouteContext.java:106)