You will likely need to figure out where saxon is coming from and possibly 
update that or exclude it.   It’s not something we grab in our dependencies, 
but it may be something you are depending on somewhat and that might also need 
updating for Java8.

Dan
 


> On May 1, 2015, at 7:42 AM, S Overflow <[email protected]> wrote:
> 
> I am trying to update some web services code developed for Java 6 to Java
> 8. The modules use the maven cxf-codegen-plugin. The Java 6 version used
> cxf version 2.2.2. I was able to get it working with Java 7 by updating cxf
> to 2.7.9 but haven't be able to build under Java 8. I tried updating cxf to
> 3.0.3 but still get this error:
> 
> XPathFactory#newInstance() failed to create an XPathFactory for the default
> object model: http://java.sum.com/jaxp/xpath/dom with the
> XPathFactoryConfigurationException:
> javax.xml.xpath.XPathFactoryConfigurationException:
> java.xml.xpath.XPathFactory:
> jar:file:/c:/Documents%20and%20Settings/Kevin/.m2/repository/saxon/saxon-xpath/
> 8.9.0.3/saxon-xpath-8.9.0.3.jar!META-INF/services/javax.xml.xpath.XPathFactory:2:
> Illegal configuration-file syntax
> 
> I am using jdk 1.8.0_31, maven 3.0.3 and cxf 3.0.3.
> 
> 
> Thanks,
> 
> K

-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to