Hi Lan Du, Please, provide us with some more information e.g. : - which version of KIM do you use? - did you refer the sys-doc/examples that came with your specific version of KIM? - do you have KIM server properly configured and running? - what environment do you try to execute the example from within?
Finally: - is this the whole exception stack trace??? - anything logged in the logs of the KIM server itself? Some general recommendations on using the examples (probably obvious): - after installing the KIM Platform first make sure your Sesame, KIM, Tomcat a running and performing OK prior to playing with examples - browse locally (not on the site) KIM/doc/sys-doc/kim-api folder to find the examples(src) with a JB project and the documentation for them - if using another compiler, please, create/convert the JPX to an equivalent project with the coresponding settings - then it should be possible the examples to run within the compiler environment (or you can create a JAR and command scripts for running each example) If the examples compiled OK, KIM Server is configured running OK, and you set the examples to connecting to it - then if the errors still persist, please, send us the full stack trace of the example run as well as the KIM logs if there are any errors logged in them. In any case, please note us if some of the above questions or recommendations helped you find/fix the problem. Regards, Ilian ----- Original Message ----- From: "Lan Du" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 28 June 2007, Thursday 09:40 Subject: Enquire about the example code "SearchForEntities.java" > Dear sir/madam > > i have a problem with running the example of "SearchForEntities.java". the > error is like: > > java.lang.reflect.UndeclaredThrowableException > at $Proxy4.nextEntityList(Unknown Source) > > I think the error is from the code: (which is shown in Net-bean) > > List listEntities = resEntities.nextEntityList(); > > I just copied code from the ontotext website. But it shows the above > error. I don't know what is wrong. Could you please solve this problem for > me? I really need your help. > > Looking forward to hearing from you soom. I will appreciate your kindest > help. > > your faithfully > > Lan Du > > > ------------------------------------------------- > Lan Du > Research School of Information Sciences and Engineering > > RSISE Building 115 > The Australian National University > Canberra ACT 0200 > Australia > > E: [EMAIL PROTECTED] > > > > __________ NOD32 2360 (20070628) Information __________ > > This message was checked by NOD32 antivirus system. > http://www.eset.com > > _______________________________________________ NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of this mailing list. KIM-discussion mailing list [email protected] http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com
