On Monday 24 November 2008 12:47:21 pm nicolas de loof wrote:
> Bea jrockit has no recent release with jaxb 2.0+

In that case, you'll either have to endorse the 2.1 libs or stick with CXF 
2.0.x.   CXF 2.0.x is based on JAX-WS 2.0/JAXB 2.0 and should work on the 
older JDK's.

Dan


> 2008/11/24 Ivo van Dongen <[EMAIL PROTECTED]>
>
> > 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.Web
> >>>ServiceFeature[]) location: class javax.xml.ws.Service
> >>>
> >>> Is there any maven hack to get this to work ?



-- 
Daniel Kulp
[EMAIL PROTECTED]
http://dankulp.com/blog

Reply via email to