Search Mailing List Archives
florencialiggerini at hotmail.com
Mon Mar 9 12:13:51 PDT 2009
Hi! I just fix the problem. I´m
developing a createProject plugin in eclipse using a Object Oriented
DataBase(db4o 6.4). When I was running the application from eclipse it
was working well. But
when I was creating the jar and putting it into the plugins folder it
was throwing the following error:
cast to com.db4o.ext.Db4oDatabase.
The problem was that I was configuring the Database with the ClassLoader.getSystemClassLoader() before open it, now I use this.getClass().getClassLoader() and works perfect!Thanks a lot!Florencia
> From: tredmond at stanford.edu
> To: protege-discussion at lists.stanford.edu
> Date: Mon, 9 Mar 2009 11:11:48 -0700
> Subject: Re: [protege-discussion] ClassLoader
> It does use a special class loader . But actually this is not too
> exciting - it is really mostly a URLClassLoader with the right
> classpath. What is more interesting is how the class loaders are
> connected together to reflect the plugin hierarchy.
> But I suspect I need to know more about what you really want from this
> classloader in order to give a better answer. If you want the plugin
> class loader mechanism, there are several tools that utilize some such
> mechanism (most web containers - tomcat, jboss,...). Perhaps you should
> consider looking as OSGi which is being used to manage plugins in
> Protege 4.
>  http://smi-protege/repos/protege/protege-
>  http://www.osgi.org/Main/HomePage
> On Mon, 2009-03-09 at 15:08 +0000, florencia liggerini wrote:
> > Hi!
> > I need to know if protege use some special Classloader?? And, if it
> > is yes, how can I get it? Is some method in the API?
> > Thanks!
> > ______________________________________________________________________
> > Color coding for safety: Windows Live Hotmail alerts you to suspicious
> > email. Sign up today.
> > _______________________________________________
> > protege-discussion mailing list
> > protege-discussion at lists.stanford.edu
> > https://mailman.stanford.edu/mailman/listinfo/protege-discussion
> > Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
See how Windows® connects the people, information, and fun that are part of your life
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the protege-discussion