[轉]Eclipse導入工程后,XDoclet錯誤:Missing library: xdoclet-1.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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM