using external libs with vaadin


I have recently started using vaadin and I an facing an issue which I feel has something to do with the way I am configuring my external jars. Basically I have a number of external libraries that I am using in my program and I added them all to the build path. Since they are accessible eclipse doesn’t throw any compilation errors. However, when I execute my code I get the following run time error. Is there anything else that needs to be done when one makes use of external libs with vaadin?

Caused by: java.lang.NoClassDefFoundError: com/hp/hpl/jena/query/QueryFactory
at org.ncbo.stanford.sparql.examples.Dbpedia_query.executeQuery(
at org.ncbo.stanford.sparql.examples.Dbpedia_query.getMusicianResponse(
at org.ncbo.stanford.sparql.examples.Dbpedia_query.interpretMusicianLike(
at org.ncbo.stanford.sparql.examples.Dbpedia_query.executeDBpediaQuery(
at org.ncbo.stanford.sparql.examples.SAXParser.runExample(
at org.ncbo.stanford.sparql.examples.SAXParser.runExampletrial(
at com.vaadin.tutorial.uisandbox.AddressbookUI$1.buttonClick(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.vaadin.event.ListenerMethod.receiveEvent(
… 32 more

amar k!/thread/4491593

Take a look here maybe this helps you.