Unfortunately in their infinite wisdom Sun have packaged the jaxb 2.0 api in the core runtime... in order to override it you _have_ to create a directory called 'endorsed' in the jre/lib directory and put the jaxb-api-2.1.jar in it
There is an article around somewhere on java.net. You could use do some classpath magic to override the loading of the jaxb-api but you will get mixed results. I am not using jaxws2.1 but jaxb2.1 directly without problems... make sure that maven is using the runtime with the endorsed jars. On Wednesday 19 September 2007 20:33, Gisbert Amm wrote: > I think you rather need to add jaxws2.1 as a dependency to your POM. > > -Gisbert > > priyasubu wrote: > > Hi All > > > > I am using hte maven compiler plugin set to jdk1.6 in my pom.xml > > Now the thing is we want to use jaxws2.1 so we created a endorsed dir in > > the lb folder of jdk1.6 > > but > > when i try to do a maven compile I get an error since it does not get > > these jars in its classpath > > Any help would be appreciated > > Cheers > > Priya -- Michael McCallum Enterprise Engineer mailto:[EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
