Skip to main content

Find out what JAR loaded a class

Here is a quick way to troubleshoot where a class was loaded from:

WSDLLocator.class.getClassLoader().getResource("javax/wsdl/xml/WSDLLocator.class")

Will print out the jar that WSDLLocator was loaded out from.

Comments