1 Reply Latest reply on Jul 24, 2014 4:18 PM by kcbabo

    The prefix "xmlns" cannot be bound to any namespace explicity

    agostinho07

      Hi guys,

       

      Hi guys,

       

       

      I'm watching this tutorial https://www.youtube.com/watch?v=Gd8goj-Uj_U and i have a problem, when i add this code to pom.xml i got an error:

      <dependency>

           <groupId>org.apache.camel</groupId>

           <artifactId>camel-xmljson</artifactId>

           <version>2.10.0.redhat-60024</version>

      </dependency>

       

      Error:

      The prefix "xmlns" cannot be bound to any namespace explicity; neither can the namespace for "xmlns" be bound to any prefix explicity. (org.switchyard:switchyard-plugin:1.0.0.Final:configure:default:process-classes

       

      My pom.xml:

      <?xml version="1.0" encoding="UTF-8"?>

      <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"

          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

        <modelVersion>4.0.0</modelVersion>

        <groupId>redhat</groupId>

        <artifactId>customer-service-ws</artifactId>

        <version>0.0.1-SNAPSHOT</version>

        <name>redhat:customer-service-ws</name>

        <properties>

          <switchyard.version>1.1.0.Final</switchyard.version>

        </properties>

        <dependencies>

          <dependency>

            <groupId>org.switchyard.components</groupId>

            <artifactId>switchyard-component-camel</artifactId>

            <version>${switchyard.version}</version>

          </dependency>

          <dependency>

            <groupId>org.switchyard.components</groupId>

            <artifactId>switchyard-component-resteasy</artifactId>

            <version>${switchyard.version}</version>

          </dependency>

          <dependency>

            <groupId>org.switchyard.components</groupId>

            <artifactId>switchyard-component-soap</artifactId>

            <version>${switchyard.version}</version>

          </dependency>

          <dependency>

            <groupId>org.switchyard</groupId>

            <artifactId>switchyard-api</artifactId>

            <version>${switchyard.version}</version>

          </dependency>

          <dependency>

            <groupId>org.switchyard</groupId>

            <artifactId>switchyard-transform</artifactId>

            <version>${switchyard.version}</version>

          </dependency>

          <dependency>

            <groupId>org.switchyard</groupId>

            <artifactId>switchyard-validate</artifactId>

            <version>${switchyard.version}</version>

          </dependency>

          <dependency>

            <groupId>org.switchyard</groupId>

            <artifactId>switchyard-plugin</artifactId>

            <version>${switchyard.version}</version>

          </dependency>

          <dependency>

            <groupId>org.switchyard</groupId>

            <artifactId>switchyard-test</artifactId>

            <version>${switchyard.version}</version>

            <scope>test</scope>

          </dependency>

          <dependency>

            <groupId>org.switchyard.components</groupId>

            <artifactId>switchyard-component-test-mixin-cdi</artifactId>

            <version>${switchyard.version}</version>

            <scope>test</scope>

          </dependency>

          <dependency>

           <groupId>org.apache.camel</groupId>

           <artifactId>camel-xmljson</artifactId>

           <version>2.10.0.redhat-60024</version>

          </dependency>

        </dependencies>

        <build>

          <plugins>

            <plugin>

              <groupId>org.switchyard</groupId>

              <artifactId>switchyard-plugin</artifactId>

              <version>${switchyard.version}</version>

              <executions>

                <execution>

                  <goals>

                    <goal>configure</goal>

                  </goals>

                </execution>

              </executions>

              <configuration>

                <scannerClassNames>

                  <param>org.switchyard.transform.config.model.TransformSwitchYardScanner</param>

                </scannerClassNames>

              </configuration>

            </plugin>

            <plugin>

              <artifactId>maven-compiler-plugin</artifactId>

              <version>2.3.2</version>

              <configuration>

                <source>1.6</source>

                <target>1.6</target>

                <debug>true</debug>

                <showWarnings>true</showWarnings>

                <showDeprecation>true</showDeprecation>

              </configuration>

            </plugin>

          </plugins>

        </build>

      </project>

       

      Regards,

      Agostinho