I'm trying to use maven to call an ant script which contains the target wsgen 
by jaxws.  I have the following in my pom:
   
   <plugin>
                <artifactId>maven-antrun-plugin</artifactId>
             <dependencies> 
                 <dependency> 
                   <groupId>com.sun.xml.ws</groupId> 
                   <artifactId>jaxws-tools</artifactId> 
                   <version>2.1EA1</version> 
                 </dependency>
                 <dependency> 
                   <groupId>com.sun.xml.ws</groupId> 
                   <artifactId>jaxws-api</artifactId> 
                   <version>2.1</version> 
                 </dependency>
                 <dependency> 
                   <groupId>com.sun.xml.ws</groupId> 
                   <artifactId>jaxws-rt</artifactId> 
                   <version>2.1</version> 
                 </dependency>
                 <dependency> 
                   <groupId>com.sun.xml.ws</groupId> 
                   <artifactId>jaxb-impl</artifactId> 
                   <version>2.1</version> 
                 </dependency>
                 <dependency> 
                   <groupId>com.sun.xml.ws</groupId> 
                   <artifactId>jaxb-xjc</artifactId> 
                   <version>2.1</version> 
                 </dependency>
                  <dependency> 
                   <groupId>com.sun.xml.ws</groupId> 
                   <artifactId>jaxb1-impl</artifactId> 
                   <version>2.1</version> 
                 </dependency>
                  <dependency> 
                   <groupId>com.sun.xml.ws</groupId> 
                   <artifactId>jsr173-api</artifactId> 
                   <version>2.1</version> 
                 </dependency>
                 <dependency> 
                   <groupId>com.sun.xml.ws</groupId> 
                   <artifactId>jsr181-api</artifactId> 
                   <version>2.1</version> 
                 </dependency>
                 <dependency> 
                   <groupId>com.sun.xml.ws</groupId> 
                   <artifactId>jsr250-api</artifactId> 
                   <version>2.1</version> 
                 </dependency>
                 <dependency> 
                   <groupId>com.sun.xml.ws</groupId> 
                   <artifactId>saaj-api</artifactId> 
                   <version>2.1</version> 
                 </dependency>
                 <dependency> 
                   <groupId>com.sun.xml.ws</groupId> 
                   <artifactId>saaj-impl</artifactId> 
                   <version>2.1</version> 
                 </dependency>
                  <dependency> 
                   <groupId>com.sun.xml.ws</groupId> 
                   <artifactId>resolver</artifactId> 
                   <version>2.1</version> 
                 </dependency>
                  <dependency> 
                   <groupId>com.sun.xml.ws</groupId> 
                   <artifactId>activation</artifactId> 
                   <version>2.1</version> 
                 </dependency>
                  <dependency> 
                   <groupId>com.sun.xml.ws</groupId> 
                   <artifactId>xmlsec</artifactId> 
                   <version>2.1</version> 
                 </dependency>
                 <dependency> 
                   <groupId>com.sun.xml.ws</groupId> 
                   <artifactId>xsdlib</artifactId> 
                   <version>2.1</version> 
                 </dependency>
                 <dependency> 
                   <groupId>com.sun.xml.ws</groupId> 
                   <artifactId>jaas</artifactId> 
                   <version>2.1</version> 
                 </dependency>
                 <dependency> 
                   <groupId>com.sun.xml.ws</groupId> 
                   <artifactId>jaxb1-impl</artifactId> 
                   <version>2.1</version> 
                 </dependency>
                 <dependency> 
                   <groupId>com.sun.xml.ws</groupId> 
                   <artifactId>jta-spec1_0_1</artifactId> 
                   <version>2.1</version> 
                 </dependency>
                   <dependency> 
                   <groupId>com.sun.xml.ws</groupId> 
                   <artifactId>relaxngDatatype</artifactId> 
                   <version>2.1</version> 
                 </dependency>
                 <dependency> 
                   <groupId>com.sun.xml.ws</groupId> 
                   <artifactId>jaxws</artifactId> 
                   <version>2.1</version> 
                 </dependency>
                 <dependency>
                    <groupId>com.sun</groupId>
                    <artifactId>tools</artifactId>
                    <scope>system</scope>
                    <version>1.5</version>
                    <systemPath>D:\jdk1.5.0_09\lib\tools.jar</systemPath>
                </dependency>
   
  When I execute it, I'm receiving hte following error:
   
  Embedded error: The following error occurred while executing this line:
java.lang.NoClassDefFoundError: com/sun/xml/ws/api/BindingID
   
  I don't know which jar file contains this class.  Any help would be greatly 
appreciated.  Thanks

       
---------------------------------
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel 
and lay it on us.
       
---------------------------------
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.

Reply via email to