Java xerces DocumentBuilderFactoryimpl not found - What to do?

I get this message:

javax.xml.parsers.FactoryConfigurationError: provider org.apache.xerces.jaxp.DocumentBuilderFactoryImp

but I can not solve the problem. I have googled, but can't find any good solutions.

Does anyone have any idea what might be wrong? And maybe how to solve it :)

+3
source share
3 answers

org.apache.xercesis in the Apache Xerces package , and something in your application is related to it. Try downloading it (the latest version is 2.9.0) and add it to your path to the application class.

+3
source

JBoss, , JBoss.

JBoss, , Xerces , ( ), , .

JIRA Ticket JBoss.or g xercesimpl.jar jasperserver/WEB-INF/lib, .

0

DocumentBuilderFactory , JavaDoc. .

I suspect your JBoss startup script is setting the system property incorrectly javax.xml.parsers.DocumentBuilderFactory(I saw this before to avoid an error in the released library). I would start by grepping the JBoss configuration directory for this property, and then explicitly set the property jaxp.debug(also described in the link). Assuming your script run really sets the property explicitly, find out who made this change and asked him / her if you can remove it (or provide you with the correct JARs if not).

0
source

Source: https://habr.com/ru/post/1728426/


All Articles