Project

Profile

Help

Bug #2411

closed

Java8 - SchemaFactoryConfigurationError: Provider for class javax.xml.validation.SchemaFactory cannot be created

Added by Jörg Godau almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Build and release
Sprint/Milestone:
Start date:
2015-07-03
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.6
Fix Committed on Branch:
9.6
Fixed in Maintenance Release:
Platforms:

Description

under Java8 we're getting the error:

@javax.xml.validation.SchemaFactoryConfigurationError: Provider for class javax.xml.validation.SchemaFactory cannot be created

at javax.xml.validation.SchemaFactoryFinder.findServiceProvider(SchemaFactoryFinder.java:414)

...

Caused by: java.util.ServiceConfigurationError: javax.xml.validation.SchemaFactory: Provider com.saxonica.jaxp.SchemaFactoryImpl not found

at java.util.ServiceLoader.fail(ServiceLoader.java:239)

...@

This is caused by the file:

@ /META-INF/services/javax.xml.validation.SchemaFactory@

with content:

@ com.saxonica.jaxp.SchemaFactoryImpl@

Either this file should be removed or the content should be changed to

@ com.saxonica.ee.jaxp.SchemaFactoryImpl@

Please correct this error.

Regards

J.Godau

Schütze Consulting AG

Please register to edit this issue

Also available in: Atom PDF