关于checkstyle的一些问题
zink 2003-08-21 02:40:03 我想修改一下checkstyle按照自己的习惯,比如说我把"{"让他另起一行.
<module name="LeftCurly">
<property name="option" value="nl"/>
<property name="tokens" value="CLASS_DEF,INTERFACE_DEF"/>
</module>
加入到checkstyle_checks.xml然后再运行checkstyle就会
Error loading configuration file
com.puppycrawl.tools.checkstyle.api.CheckstyleException: unable to parse F:check
style-3.1\checkstyle_checks.xml - The markup in the document following the root
element must be well-formed.:167:3
at com.puppycrawl.tools.checkstyle.ConfigurationLoader.loadConfiguration
(ConfigurationLoader.java:226)
at com.puppycrawl.tools.checkstyle.Main.main(Main.java:94)
出现以上错误,不知道怎么改啊.谢谢了.