Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] plugin and libraries

Tania Tudorache tudorache at
Mon Jan 15 13:23:49 PST 2007


If you add a jar to your plugin directory, your plugin should be able to 
access the classes of the jar. When you run Protege with your plugin in 
Eclipse, all the jars are added to the classpath. So, what you could try 
to do is to add explicitly the saxon8.jar to the classpath when starting 

If you start Protege with the executable (for example, Protege.exe on 
Windows platform) then the classpath is set from the Protege.lax file. 
You can edit in the Protege.lax file the line:


Add at the end of this line your jar. You can use a relative path, like: 

If you start Protege using the batch script (run_protege.bat or, you should adjust in it the JARS variable.


julien lejeune wrote:
> Hi,
> I am trying to develop a plugin but I have some problems to add a library
> that I need for it.
> In fact I use the library "saxon8.jar" and I added this JAR file in
> "protege_directory\plugins\myPlugin\saxon8.jar" (with myPlugin.jar)
> But I have this message :
> javax.xml.transform.TransformerFactoryConfigurationError: Provider
> net.sf.saxon.TransformerFactoryImpl could not be instantiated:
> java.lang.NullPointerException
> When I tested my plugin with my IDE (Eclipse) I  didn't have problems so I
> think that my library is not well loaded in the  application.
> Can somebody help me ?
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at
> Instructions for unsubscribing: 

More information about the protege-discussion mailing list