Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: java.lang.LinkageError: loader constraint violation in interface itable
I am getting the below error while calling the SOAP API in Liferay DXP 7.4 with java11:
Caused by: java.lang.LinkageError: loader constraint violation in interface itable initialization for class org.apache.axis.message.MessageElement: when selecting method 'java.util.Iterator javax.xml.soap.SOAPElement.getChildElements(javax.xml.namespace.QName)' the class loader com.liferay.shielded.container.internal.ShieldedContainerClassLoader @650eab8 for super interface javax.xml.soap.SOAPElement, and the class loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @1798eccd of the selected method's class, org.apache.axis.message.MessageElement have different Class objects for the type javax.xml.namespace.QName used in the signature (javax.xml.soap.SOAPElement is in unnamed module of loader com.liferay.shielded.container.internal.ShieldedContainerClassLoader @650eab8, parent loader 'bootstrap'; org.apache.axis.message.MessageElement is in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @1798eccd, parent loader com.liferay.shielded.container.internal.ShieldedContainerClassLoader @650eab8)
SOAP has been deprecated in 7.3, and I don't know if it was removed in 7.4 already (not sure how to read the docs). "Ctrl-F SOAP"
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™