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
dk...@apache.org
http://dankulp.com/blog

Reply via email to