开发者

Java web service error

I got this error 'java.lang.ClassNotFoundException: com.hp.hpl.jena.rdf.model.Model' when I run my java web service which implement a jena framework function such as OWL reading function. But it worked as a standalone java application and read the owl file correctly. But when I host it as web service and execute 开发者_Python百科the read method in a .net client or eclipse web service client, it gives this error.

any help would really appreciated.

thx.


Well, that suggests you've not got all the jar files you need at execution time. In particular, find the jar file that contains that class, and make sure it's in your WEB-INF/lib directory appropriately (or however else you specify dependencies in your web service contain).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜