[转]Eclipse导入工程后,XDoclet错误:Missing library: xdoclet1.2.1.jar. Select the home directory for XDoclet. 1.

 

Eclipse导入工程后,XDoclet错误:Missing library: xdoclet-1.2.1.jar. Select the home directory for XDoclet. 1.

分类: Java编程 1461人阅读 评论(2) 收藏 举报

这几天在使用Open Health Tools的OpenXDS工程,在导入Eclipse后,出现下面的错误:


遂google之,在网上找到了答案。答案网址为http://blog.v-s-f.co.uk/2011/04/eclipse-–-missing-library-xdoclet-1-2-1-jar/

Go to http://sourceforge.net/projects/xdoclet/files/xdoclet/1.2.1/  and download the zip xdoclet-src-1.2.1.zip. Unzip it somewhere on your pc and in eclipse point the XDoclet Home to the extracted directory which contains all the jar files. Click apply to save the change.



但是!自己操作一遍之后发现不对!

因为作者说下载的这个文件并不是编译过的文件,lib里面没有xdoclet-1.2.1.jar这个包。所以在下载的时候,应该下载xdoclet-bin-1.2.1.zip,而不是xdoclet-src-1.2.1.zip

xdoclet-bin-1.2.1.zip解压之后有如下几个文件夹


此时,把XDoclet Home设置为C:\openxds\xdoclet-1.2.1\lib,就成功啦!

 

原文地址 :http://blog.csdn.net/uestcong/article/details/7162095

原文地址:https://www.cnblogs.com/wmdzkey/p/2748220.html