[
https://issues.apache.org/jira/browse/XERCESJ-1666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Glavassevich resolved XERCESJ-1666.
-------------------------------------------
Resolution: Invalid
Such errors can only occur if you have multiple copies of Xerces on your
classpath or are loaded from your ClassLoader from multiple locations. You can
end up loading part of the implementation from one location and part of it from
another. You need to ensure that your environment is set up so that all of
Xerces is being loaded from one location.
> java.lang.NoSuchFieldError: fRecognizedFeatures at
> org.apache.xerces.parsers.XML11Configuration.<init>(Unknown Source)
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: XERCESJ-1666
> URL: https://issues.apache.org/jira/browse/XERCESJ-1666
> Project: Xerces2-J
> Issue Type: Bug
> Components: Other
> Affects Versions: 2.9.0, 2.11.0
> Environment: Tomcat, java7, spring3, gradle, tibco, xa database. RPM
> deployment process
> Reporter: Paul Garcia
>
> Using xerces 2.11 my team constantly run into
> "java.lang.NoSuchFieldError: fRecognizedFeatures at
> org.apache.xerces.parsers.XML11Configuration.<init>(Unknown Source) at
> org.apache.xerces.parsers.XIncludeAwareParserConfiguration.<init>(Unknown
> Source)"
> We had run into this issue before during startup, though we solved that by
> putting in some JVM variables:
> -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
>
> -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
> Now we are seeing this exception while trying to do some xa transactions. My
> partner and I have tried resolving this but are unable to do so.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]