myeclipse 下載 checkstyle 引入后不顯示問題


   參照這篇博客,http://blog.csdn.net/zzq900503/article/details/42003499

  下載最新的checkstyle版本后,在本地導入后一直不顯示,步驟什么的也沒有問題。然后去網上找解決方案,又說 什么在開始時候添加 -clean 的,因為

  Important Note: If you did not use the update site to install the plug-in please make sure to restart Eclipse with the -clean option at least once. This is because Eclipse caches a lot of information about plug-ins. In case you just updated the plug-in from a previous version this information cached by Eclipse is not up to date - resulting in the plug-in failing with ClassNotFoundExceptions and other serious issues.

(來自:http://blog.sina.com.cn/s/blog_43f41746010006g9.html)

 試了不行

 繼續搜,忽然看到有人說是版本不兼容問題,然后去其官網看了下:

  http://eclipse-cs.sourceforge.net/#!/releasenotes

   

 

  最新版本的需要在jdk1.8上面運行,而自己本地是1.7的。總算找到原因了、

  之后在csdn上找到了6.幾的版本 下載(需要csdn 5積分)

http://download.csdn.net/download/ouchuquan/9068289

 

  下載之后 我使用了 checkstyle 6.10 for eclipse.zip,一切ok . 中間遇到的問題 上面那篇博客 已經介紹的很清楚了。 我碰到的是 我在導入自己的 checkStyle.xml時碰到這個問題

 

然后看了下的我checkStyle 里面的內容(在網上拷貝的)

 

 

里面有很多的中文,不知道為何 checkStyle 不識別這些中文,把這些中文去掉 一切ok了。

 


免責聲明!

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



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