X at indentation level X not at corret indentation, X

这个错误的原因是 tab 键的 缩进 checkStyle 中是4个空格, 但是eclipse中不是

需要在

General->Editors->Text Editors 中的 Display tab width 中 设置成4

或者把checkStyle 的 indentation 验证关闭

猜你喜欢

转载自patrick002.iteye.com/blog/2115468
x