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了。

 

posted @ 2017-03-14 17:08  Doyourself!  阅读(2386)  评论(0编辑  收藏  举报