java.lang.Exception: loader constraint violation in interface itable initialization: when resolving method "org.apache.batik.dom.AbstractNode.addEventListener(Ljava/lang/String;Lorg/w3c/dom/events/EventListener;Z)V" the class loader (instance of jetbrains/mps/classloading/ModuleClassLoader) of the current class, org/apache/batik/dom/svg/SVGOMSVGElement, and the class loader (instance of <bootloader>) for interface org/w3c/dom/events/EventTarget have different Class objects for the type org/w3c/dom/events/EventListener used in the signature


Solutions on the web

Solution icon of github
via GitHub by coolya
, 9 months ago
/classloading/ModuleClassLoader) of the current class, org/apache/batik/dom/svg/SVGOMSVGElement, and the class loader (instance of <bootloader>) for interface org/w3c/dom/events/EventTarget have different Class objects for the type org/w3c/dom/events/EventListener used in the signature

Stack trace

java.lang.Exception: loader constraint violation in interface itable initialization: when resolving method "org.apache.batik.dom.AbstractNode.addEventListener(Ljava/lang/String;Lorg/w3c/dom/events/EventListener;Z)V" the class loader (instance of jetbrains/mps/classloading/ModuleClassLoader) of the current class, org/apache/batik/dom/svg/SVGOMSVGElement, and the class loader (instance of <bootloader>) for interface org/w3c/dom/events/EventTarget have different Class objects for the type org/w3c/dom/events/EventListener used in the signature
	at com.mbeddr.mpsutil.plantuml.pluginSolution.plugin.PlantUMLSVGDocumentLoader.run(PlantUMLSVGDocumentLoader.java:90)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.