parsing - java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration incompatible with org.apache.xerces.xni.parser.XMLParserConfiguration -


I get this error when deploying Cannes file on WLS 10.3 on the Ax platform. (Similar ear Windows / Linux works well on platforms)

  because: java.lang.ClassCastException: the org.apache.xerces.parsers.XIncludeAwareParserConfiguration org.apache.xerces.xni Incompatible. At org.apache.xerces.jaxp (unknown source); Parser.xmlParserConfiguration at org.apache.xerces.parsers.DOMParser & Lt; Init & gt; (Unknown source) at org.apache.xerces.parsers.DOMParser & Lt; Init & gt; DocumentBuilderImpl on OrgkapachekxerceskjaxpkDocumentBuilderFactoryImplknewDocumentBuilder (Unknown Source) at weblogic.xml.jaxp.WebLogicDocumentBuilderFactory.newDocumentBuilder (WebLogicDocumentBuilderFactory.java:140) on Com.bea.security. & Lt; Init & gt; (unknown source). On xacml.policy.PolicyUtils.getRootNode com.bea.security.xacml.policy.PolicyUtils.read (PolicyUtils.java:54) (PolicyUtils.java:86) on com.bea.security.providers.xacml.store.BasePolicyStore. getAbstractPolicy (BasePolicyStore.java:1251) advertising com.bea.security.providers.xacml.store.BasePolicyStore.readPolicy (BasePolicyStore.java:1114) com on Com.bea.security.providers.xacml.store.BasePolicyStore.re. Weblogic on weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.startDeployPolicies (DeployableAuthorizationProviderV2Helper.java:90) at bea.security.providers.xacml.entitlement.PolicyManager.listPolicies at (BasePolicyStore.java:1231) (PolicyManager. Java: 747) .security.providers.xacml.authorization.XACMLAuthorizationProviderImpl.startDeployPolicies (XACMLAuthorizationProviderImpl.javaociety69) at com.bea.common .security.internal.legacy.service.PolicyDeployerProviderImpl $ V2Adapter.startDeployPolicies (policyDeployerProviderImpl.java:69) com.bea.common .security.internal.service.PolicyDeploymentServiceImpl $ DeploymentHandlerImpl & Lt; Init & gt; (PolicyDeploymentServiceImpl.java:143) com.bea.common.security.internal.service.PolicyDeploymentServiceImpl $ DeploymentHandlerImpl. & Lt; Init & gt; (PolicyDeploymentServiceImpl.java:129) weblogic.security.service.WLSPolicyDeploymentServiceWrapper $ DeploymentHandlerImpl on Mon.security.internal.service.PolicyDeploymentServiceImpl $ ServiceImpl.startDeployPolicies (web site) on com.bea.com. & Lt; Init & gt; (WLSPolicyDeploymentServiceWrapper.java:70) Policy on weblogic.security.service.AuthorizationManager.startcards.Privacy on Veblogik on weblogic.security.service.WLSPolicyDeploymentServiceWrapper (Service Regulation Services Impl.java:97) (AuthorizationManager.java:489) to $ DeploymentHandlerImpl & Lt; Init & gt; (WLSPolicyDeploymentServiceWrapper.java:60) Weblog on the weblogic .security.service.WLSPolicyDeploymentServiceWrapper.startDeployPolicies (WLSPolicyDeploymentServiceWrapper.java:40). .servlet.security.internal.WebAppSecurityWLS. & Lt; Init & gt; (WebAppSecurityWLS.java:72) on weblogic.servlet.security.internal.ServletSecurityManager & Lt; Init & gt; (ServletSecurityManager.java39) at weblogic.servlet.internal.WebAppServletContext. & Lt; Init & gt; (WebAppServletContext.java:416) on weblogic. Surlat.internal.WebAppS ervletContext & Lt; Init & gt; (WebAppServletContext.java:464) on weblogic weblogic.servlet.internal.WebAppModule.registerWebApp (WebAppModule.java:901) at weblogic.servlet.internal.HttpServer.loadWebApp (HttpServer.java:414). Servlet.internal.WebAppModule.prepare (WebAppModule.java:345)  

is your square path Clear the classpath from the JAR files with different versions of the Zeris API In case of a WebApplication, call this the webapp / web-INF / lib , Appserver / lib And / JRE / lib folders.

>

The most common reason is that you have spread on different versions of the Xerces jar; webapp / web-INF / lib and Appserver / lib . Assuming that the people of appserver's library are the default and the correct version, get rid of those in the web application's library. You can visit any appserver in the web application's library of special jars.

should not be

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -