报错截图如下所示:
[img]http://dl2.iteye.com/upload/attachment/0086/8315/1e39a0ec-2cb4-3270-bb4d-53fab9fa1fd4.jpg[/img]
更改java或者前台文件后,eclipse弹出报错:
errors running builder 'checkstyle builder' on project
解决方法:
1、全局搜索 fileset,可以找到一个项目下的文件 .checkstyle。如下图所示:
[img]http://dl2.iteye.com/upload/attachment/0086/8319/7fa6e5b9-f71d-3a0a-919c-cfefcdd65736.jpg[/img]
<?xml version="1.0" encoding="UTF-8"?>
<fileset-config file-format-version="1.2.0" simple-config="true">
<fileset name="all" enabled="true" [b][color=red]check-config-name="longshine.check.plugin.check"[/color] [/b]local="false">
<file-match-pattern match-pattern="." include-pattern="true"/>
</fileset>
</fileset-config>
2、查看文件中的属性 check-config-name 的值,要跟window=》preferences=》Checkstyle里面的check Configuration的值一致。问题即可解决。如下图所示:
[img]http://dl2.iteye.com/upload/attachment/0086/8321/a2d882b9-e9de-3cef-b842-20cb811410ff.jpg[/img]
[size=x-large]PS:图片估计不能完全展示,可以点击图片查看原图大小。[/size]
[img]http://dl2.iteye.com/upload/attachment/0086/8315/1e39a0ec-2cb4-3270-bb4d-53fab9fa1fd4.jpg[/img]
更改java或者前台文件后,eclipse弹出报错:
errors running builder 'checkstyle builder' on project
解决方法:
1、全局搜索 fileset,可以找到一个项目下的文件 .checkstyle。如下图所示:
[img]http://dl2.iteye.com/upload/attachment/0086/8319/7fa6e5b9-f71d-3a0a-919c-cfefcdd65736.jpg[/img]
<?xml version="1.0" encoding="UTF-8"?>
<fileset-config file-format-version="1.2.0" simple-config="true">
<fileset name="all" enabled="true" [b][color=red]check-config-name="longshine.check.plugin.check"[/color] [/b]local="false">
<file-match-pattern match-pattern="." include-pattern="true"/>
</fileset>
</fileset-config>
2、查看文件中的属性 check-config-name 的值,要跟window=》preferences=》Checkstyle里面的check Configuration的值一致。问题即可解决。如下图所示:
[img]http://dl2.iteye.com/upload/attachment/0086/8321/a2d882b9-e9de-3cef-b842-20cb811410ff.jpg[/img]
[size=x-large]PS:图片估计不能完全展示,可以点击图片查看原图大小。[/size]