Dear Kurt,Thank you for your fast reply.the exception coming from your client.
Please how can I add the jars to the *client* classpath.Can you describe me
how can I do thdi?
Also, I hav in Ettor :
I use: matchmaker-client
In the class OWLSProfileParser, I have a problem in this
line:ontModel.addLoadedImport(URI);and it gives me:Exception in thread "main"
java.lang.NullPointerException at
EDU.cmu.Atlas.owls1_1.parser.OWLSProfileParser.read(OWLSProfileParser.java:118)
at
EDU.cmu.Atlas.owls1_1.parser.OWLSProfileParser.read(OWLSProfileParser.java:97)
at
EDU.cmu.Atlas.matchmaker.client.OWLSMatchmakerClient.parseOWLSProfile(OWLSMatchmakerClient.java:226)
at
EDU.cmu.Atlas.matchmaker.client.OWLSMatchmakerClient.register(OWLSMatchmakerClient.java:99)
at
EDU.cmu.Atlas.matchmaker.client.OWLSMatchmakerClient.main(OWLSMatchmakerClient.java:247)
Please, can you help me ?Thank you in advance
Date: Fri, 15 Jun 2012 12:51:04 -0400
From: [email protected]
To: [email protected]
Subject: Re: Help
Maria,
Is the exception coming from your client? or from the tomcat server?
If it is from you client you have to make sure you are adding the
jars to the *client* classpath.
--K
On 6/15/12 10:36 AM, Maria Din wrote:
Hello,
I use "mmclient-1.3-bin" and I would like to execute:"
OWLSMatchmakerClient.java" class.
So, I create a main class:
public static void main(String args[]) throws
OWLSMatchmakerClientException{
OWLSMatchmakerClient mm= new
OWLSMatchmakerClient();
String
owlsURL=
"http://www.daml.org/services/owl-s/1.0/BravoAirProfile.owl";
mm.register(owlsURL);
mm.query(owlsURL);
}
In the command line. I write:
java
EDU/cmu/Atlas/matchmaker/client/OWLSMatchmakerClient
But, I have this exception.
Exception
in thread "main" java.lang.NoClassDefFoundError:
org/uddi4j/transport/
TransportException
So, I put UDDI4j.jar under my project, under Tomcat/common/lib, and
under : C:\Program
Files\Java\jre1.5.0\lib\ext
But, also I have the same problem!!!
Please, can you help me? What should I do?
Thank you in advance.