Hi,

I've had the same problem. But recent versions of the sun jdk seem to be fixed. Which version are you using exactly?

Regards,
Ivo

On 11/24/08 11:09 AM, nicolas de loof wrote:
I've found this ugly solution :
       <plugin>
         <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <execution>
             <goals>
               <goal>run</goal>
             </goals>
             <phase>validate</phase>
           </execution>
         </executions>
         <configuration>
           <tasks>
             <mkdir dir="${java.home}/lib/endorsed" />
             <copy verbose="true"
file="${settings.localRepository}/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar"
               todir="${java.home}/lib/endorsed" />
             <copy verbose="true"
file="${settings.localRepository}/javax/xml/ws/jaxws-api/2.1/jaxws-api-2.1.jar"
               todir="${java.home}/lib/endorsed" />
           </tasks>
         </configuration>
       </plugin>

Anything cleaner ?

2008/11/24 nicolas de loof<[EMAIL PROTECTED]>

Hi
I'm using CXF 2.1.3 that requires Jax-WS 2.1 spec API
As i compile on jdk 1.6, that includes jax-WS 2.0 API I get a compilation
error :

find symbol
symbol  : method
getPort(javax.xml.namespace.QName,java.lang.Class<...>,javax.xml.ws.WebServiceFeature[])
location: class javax.xml.ws.Service

Is there any maven hack to get this to work ?



Reply via email to