I'm trying to upgrade my Hybris project to 2205 and while initializing the "ant updatesystem", i am getting following error
ERROR [hybrisHTTP9] [Initialization] Property 'http://javax.xml.XMLConstants/property/accessExternalSchema' is not recognized.
java.lang.IllegalArgumentException: Property 'http://javax.xml.XMLConstants/property/accessExternalSchema' is not recognized.
at de.hybris.bootstrap.xml.XMLSchemaValidator.validate(XMLSchemaValidator.java:94) ~[ybootstrap.jar:?]
at de.hybris.bootstrap.typesystem.YTypeSystemSource.validateXml(YTypeSystemSource.java:175) ~[ybootstrap.jar:?]
at de.hybris.bootstrap.typesystem.YTypeSystemSource.readTypeSystem(YTypeSystemSource.java:101) ~[ybootstrap.jar:?]
at de.hybris.bootstrap.typesystem.YTypeSystemSource.getTypeSystem(YTypeSystemSource.java:47) ~[ybootstrap.jar:?]
Using SapMAchine17. Initialization triggered from HAC.
I have tried to add these properties "-Djavax.xml.accessExternalSchema=all", "-Djavax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema=com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaFactory" to tomcat.generaloptions located in local.properties but it didn't work.
Any idea would be appreciated..Thank you for your help..