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

XPathAnalyser15 error during build

12,447

Hi.

I am upgrading Hybris 2005-> Hybris 2205.

While ant clean all i am getting following error

java.lang.IllegalAccessError: class com.oopsconsultancy.xmltask.jdk15.XPathAnalyser15 (in unnamed module @0xdec3d79) cannot access class com.sun.org.apache.xpath.internal.XPathAPI (in module java.xml) because module java.xml does not export com.sun.org.apache.xpath.internal to unnamed module @0xdec3d79

View Entire Topic
0 Kudos

Found the solution to the problem on Jenkins. Set environment variable ANT_OPTS in jenkinsfile.