3 Replies Latest reply on Jan 24, 2013 7:19 PM by rcernich

    Building issues with SwitchYard 0.7

    ioanna_kaliarnta

      Hi,

       

      I am trying to build a SwitchYard project, which was successfully built in SwitchYard 0.6, in 0.7 version and I get the following error:

      Can not find marshaller org.switchyard.component.bean.config.model.v1.V1BeanMarshaller for namespace urn:switchyard-component-bean:config:1.0 using classloader CompoundClassLoader [java.net.URLClassLoader@17a7b3ed, ClassRealm[plugin>org.switchyard:switchyard-plugin:0.7.0.Final, parent: sun.misc.Launcher$AppClassLoader@3d637d45], sun.misc.Launcher$AppClassLoader@3d637d45]

       

      The error appears when the switchyard-plugin scanning is processed during Maven build and I also get the same error for V1TransformerMarshaller.

       

      Has anyone else experienced something like this?

       

      Thank you,

      Ioanna

        • 1. Re: Building issues with SwitchYard 0.7
          splatch

          Hey,

          Indeed we introduced some changes in 0.7. Does your projecy have dependency to switchyard-component-bean?

           

          We use bean scanner with our quickstarts too. Can you post project configuration?

          • 2. Re: Building issues with SwitchYard 0.7
            ioanna_kaliarnta

            Hi,

             

            I managed to solve the problem by creating a Maven project and not a SwitchYard project with SwitchYard capabilities configured.

            Thank you for your help. I noticed in a quickstart that it was a plain Maven project and not a SwitchYard project and I did the same.

             

            Do you have any clues why this is happening?

             

            Thank you,

            Ioanna

            • 3. Re: Building issues with SwitchYard 0.7
              rcernich

              Hey Ioanna,

               

              I'm not sure why this is happening, but I did find a bug where the Maven configuration associated with the project was not getting updated after creating a new project.  You might try updating the Maven configuration for the project to see if that fixes things (right-click, Maven->Update Project...).

               

              Also, if you import any of the quickstarts, the SwitchYard facet will be configured on them and the maven configuration for the project seems to be fine in those cases.

               

              Here's the issue I created to track the problem I was seeing:  https://issues.jboss.org/browse/SWITCHYARD-1260

               

              Best,

              Rob