Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用checkstyle工具报错啊 #1

Open
MichaelScofieldAndSara opened this issue Jan 8, 2021 · 0 comments
Open

用checkstyle工具报错啊 #1

MichaelScofieldAndSara opened this issue Jan 8, 2021 · 0 comments

Comments

@MichaelScofieldAndSara
Copy link

com.puppycrawl.tools.checkstyle.api.CheckstyleException: cannot initialize module TreeWalker - TreeWalker is not allowed as a parent of LineLength Please review 'Parent Module' section for this Check in web documentation if Check is standard. at com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:482) at com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.java:201) at com.puppycrawl.tools.checkstyle.Main.runCheckstyle(Main.java:404) at com.puppycrawl.tools.checkstyle.Main.runCli(Main.java:331) at com.puppycrawl.tools.checkstyle.Main.execute(Main.java:190) at com.puppycrawl.tools.checkstyle.Main.main(Main.java:125) Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: TreeWalker is not allowed as a parent of LineLength Please review 'Parent Module' section for this Check in web documentation if Check is standard. at com.puppycrawl.tools.checkstyle.TreeWalker.setupChild(TreeWalker.java:137) at com.puppycrawl.tools.checkstyle.api.AutomaticBean.configure(AutomaticBean.java:201) at com.puppycrawl.tools.checkstyle.Checker.setupChild(Checker.java:477) ... 5 more Checkstyle以 1 个错误结束。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant