0 Replies Latest reply on Mar 3, 2011 11:37 AM by PRAVEEN KONDAKA

    JbossWS with Jboss6.0.0 and Maven

    PRAVEEN KONDAKA Newbie

      Hello Folks,

       

      I am pretty new to JbossWS with Jboss6.0.0 AS with Maven. I did small sample Web Service and trying to deploy and getting following error.

       

      here is my partial pom.xml

       

      <repositories>
              <repository>
                  <id>maven2-repository.dev.java.net</id>
                  <name>Java.net Repository for Maven 2</name>
                  <url>http://download.java.net/maven/2/</url>
                  <layout>legacy</layout>
              </repository>
          </repositories>
         
          <pluginRepositories>
              <pluginRepository>
                  <id>maven2-repository.dev.java.net</id>
                  <url>http://download.java.net/maven/2/</url>
                  <layout>legacy</layout>
              </pluginRepository>
          </pluginRepositories>

      <dependencies>

        <dependency>
                  <groupId>com.sun.xml.ws</groupId>
                  <artifactId>jaxws-rt</artifactId>
                  <scope>compile</scope>
                  <version>2.1.7</version>
              </dependency>

       

      </dependencies>

       

      Here is the errors.

       

      Caused by: java.net.URISyntaxException: Illegal character in path at index 8: file:/C:\jboss-6.0.0\bin/xcatalog

       

       

      other error:

       

      java.lang.LinkageError: loader constraint violation: when resolving method "com.sun.xml.bind.api.TypeReference.<init>(Ljavax/xml/namespace/QName;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)V" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, com/sun/xml/ws/model/RuntimeModeler, and the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) for resolved class, com/sun/xml/bind/api/TypeReference, have different Class objects for the type javax/xml/namespace/QName used in the signature

       

      Please help me to resolve this. Am i missing any jars?

       

      Thanks

      Praveen