cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: NPE setting up CXF code in Eclipse
Date Mon, 21 Jun 2010 15:16:50 GMT
On Saturday 19 June 2010 10:31:19 am Glen Mazza wrote:
> Problem fixed.  I upgraded to Maven 2.2.1 and also nuked my local Maven
> repository in case a file used in the build process was corrupted.   But
> the NPE while building CXF-API still occurred (I'm not sure why I said
> "mvn -Pfastinstall" worked below--I noticed today I was getting the NPE
> just running that as well.)
> 
> But the real problem seemed to be that I had the JAXB 2.2 and JAX-WS RI
> 2.2-api.jar's in my JDK's endorsed directory--removing them from the
> endorsed folder fixed the issue.

I really hate the entire Java endorsed thing.   Why Sun had to throw the 
kitchen sink into the JDK is beyond me.  :-(

Dan



> 
> Thanks,
> Glen
> 
> dkulp wrote:
> >> (I'm using Maven 2.2.0 and JDK 1.6.0_18.)  Anyone else getting this
> >> error or know its solution?
> > 
> > Definitely don't use Maven 2.2.0.   Bunch of bugs in there.  Use 2.2.1.
> > That
> > said, it shouldn't affect this.
> > 
> > Not sure what would cause this error.   Haven't seen it before.  If you
> > run
> > mvn -Psetup.eclipse a couple times, does it resolve itself?
> > 
> > Dan

-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog

Mime
View raw message