From: Ignazio P. <ign...@go...> - 2009-03-29 13:03:28
|
Jayan wrote: > hello sir > thanks a lot for your timely help. we are on the way of developing a project > on ontlogies for information retrieval.we hope for your help in future too.. > i did the steps as you told. i was able to compile the program correctly. > but some more errors are there when running the program. > > C:\Program Files\Java\jdk1.5.0_02\bin>java Example5 > Exception in thread "main" java.lang.NoClassDefFoundError: Example5 (wrong name: > org/coode/owlapi/examples/Example5) That's because the class is not called Example5, it's called org.coode.owlapi.examples.Example5, and your classpath should mention the org folder. HTH, I. > > i could only understand that the error is in the package including line. > what more i have to do to run the program. |