cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Property 'http://javax.xml.XMLConstants/property/accessExternalSchema' error

765

I have upgraded my hybris version from 2011 to 2205. After upgrade I am getting the below error when running update system

\hybris\bin\platform\ext\core\resources\core-items.xml]

[java] 2023-08-16T20:30:02,328 INFO [main] [d.h.b.d.HybrisSchemaGenerator] restoring en_US locale

[java] 2023-08-16T20:30:02,328 ERROR [main] [d.h.p.c.Initialization] Property 'http://javax.xml.XMLConstants/property/accessExternalSchema' is not recognized.

[java] java.lang.IllegalArgumentException: Property 'http://javax.xml.XMLConstants/property/accessExternalSchema' is not recognized.

[java] at de.hybris.bootstrap.xml.XMLSchemaValidator.validate(XMLSchemaValidator.java:94) ~[ybootstrap.jar:?]

[java] at de.hybris.bootstrap.typesystem.YTypeSystemSource.validateXml(YTypeSystemSource.java:175) ~[ybootstrap.jar:?]

[java] at de.hybris.bootstrap.typesystem.YTypeSystemSource.readTypeSystem(YTypeSystemSource.java:101) ~[ybootstrap.jar:?]

[java] at de.hybris.bootstrap.typesystem.YTypeSystemSource.getTypeSystem(YTypeSystemSource.java:47) ~[ybootstrap.jar:?]

[java] at de.hybris.bootstrap.ddl.HybrisSchemaGenerator.loadTypeSystemForUpdate(HybrisSchemaGenerator.java:617) ~[ybootstrap.jar:?]

[java] at de.hybris.bootstrap.ddl.HybrisSchemaGenerator.update(HybrisSchemaGenerator.java:260) ~[ybootstrap.jar:?]

[java] at de.hybris.platform.core.Initialization.initializeSchemaAndTypeSystemFullyNewStyle(Initialization.java:1302) ~[coreserver.jar:?]

[java] at de.hybris.platform.core.Initialization.initialize(Initialization.java:1176) ~[coreserver.jar:?]

I have added -Djavax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema=com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaFactory in tomcat.generaloptions. but still have the same error. Now its a blocker for me.

Thanks.

Accepted Solutions (0)

Answers (0)