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疑问 #3928

Open
jaimyjie opened this issue Dec 17, 2024 · 2 comments
Open

checkstyle疑问 #3928

jaimyjie opened this issue Dec 17, 2024 · 2 comments

Comments

@jaimyjie
Copy link
Contributor

我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。另外请按照如下要求提交相关信息节省社区维护同学的理解成本,否则该讨论极有可能直接被忽视或关闭。
We recommend using English. If you are non-native English speaker, you can use the translation software. We recommend using English. If you are non-native English speaker, you can use the translation software. In addition, please submit relevant information according to the following requirements to save the understanding cost of community maintenances, otherwise the discussion is very likely to be ignored or closed directly.

Which Component
eg. Nacos Discovery, Sentinel

Describe the bug
A clear and concise description of what the bug is.

Simplest demo
The URL of the simplest demo to reproduce the problem.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.
e.g. MacOS 、Java8 、 Version 0.2.1.RELEASE

在spring-cloud-alibaba最新版本中升级spring-cloud-build到4.1.4,提示nacos和sentinel组件checkstyle通不过,不知道是那边checkstyle规则限制了?

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.4.0:check (checkstyle-validation) on project spring-alibaba-nacos-config: Failed during checkstyle execution: There are 2 errors reported by Checkstyle 9.3 with checkstyle.xml ruleset. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.4.0:check (checkstyle-validation) on project spring-alibaba-nacos-config: Failed during checkstyle execution

@jaimyjie
Copy link
Contributor Author

jaimyjie commented Jan 6, 2025

@yuluo-yx 老师,有帮看看是在那里修改checkstyle?

@yuluo-yx
Copy link
Collaborator

yuluo-yx commented Jan 6, 2025

可以在对应模块的 target 下面找到 checkstyle 检查失败的 xml 报告

有帮看看是在那里修改checkstyle?

如果没有改动任何代码,是 升级之后才有的,那应该是 spring cloud 那边改了什么规则。

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

No branches or pull requests

2 participants