Search Mailing List Archives
[protege-owl] [POSSIBLE VIRUS:###] Re: Problem in reading and writing owl file
tredmond at stanford.edu
Mon Aug 31 16:49:32 PDT 2009
The error you are getting is a bit strange also. It wasn't
ClassNotFound but method not found. This makes me think that what
actually may be happening is that you have either the wrong
xercesImpl.jar, a duplicate or some other jar that contains the relevant
I am pretty sure that it is a classpath issue for a couple of reasons.
First I ran your program without any problem here. Second, looking at
the exception, it is saying that the jena library, in particular an
inner class with the name
could not find a xerces library method:
We know that at one time the jena library compiled so (unless reflection
or something strange is involved) this method must have been present in
the xerces libraries. (Even if reflection is involved, which I doubt,
the jena developers believed that this method would be present.)
IDE's can be configured in millions of ways and have their own rules.
So it isn't really possible for me to debug a netbeans ide issue. If
you want me to help debug this further, we will have to reduce this to
pure java. I made a small project. Uncompress it and execute
It should run fine. Then get you just need to figure out how to get
the IDE to run it the same way.
On Mon, 2009-08-31 at 17:10 +0100, Muhammad Javed wrote:
> What I did is...I collected all the Jar files from installation of
> Protege 3.4.1 and saved them in one Folder. Then I added them in Net
> Beans project's Properties. I just checked there....these Jar files
> are also included.
> Note: the code executes normally if I create NamedClasses, Properties,
> Individuals etc .....problems starts if I try to save them in a file.
> The Question arise, if OWL Jar files are working fine why not
> xml-apis.jar and xercesImpl.jar. It seems that Jar files are added
> Muhammad Javed
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3541 bytes
Desc: not available
More information about the protege-owl