Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cross-project-issues-dev] Resolve class from jar

Hi all,

One of my classes in the com.example.plugin project uses javax.xml.parsers.DocumentBuilderFactory.
As well this plugin has some jar resources in the it's classpath and this resources has this class inside it (compiled with it).
In the compile time where is no any error, but in the runtime when I am trying to use this class DocumentBuilderFactory it could not be resolve and ClassNotFound exception occurs. Looks like it takes some invalid version from my classpath instead of resolve it from jre system.
When I removes this jar from the class path DocumentBuilderFactory loads properly. 
Could you please provide a way how to specify "resolve order" - should this class will be resolved from the jre system at first, or from the class path at first.

Thanks,
Igor


Back to the top