2.spring cloud gateway 源码编译

spring cloud gateway编译

1.编译

命令

bash 复制代码
mvn clean compile -U

2.报错

报错信息

核心信息

bash 复制代码
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.2:check (checkstyle-validation) on project spring-cloud-gateway-mvc: Failed during checkstyle execution: There is 1 error reported by Checkstyle 8.43 with checkstyle.xml ruleset. -> [Help 1]

3.解决

跳过检查

bash 复制代码
mvn clean compile -U -Ddisable.checks=true

结果

最后有个小疑问:

这个看起来是代码不符合编码规范,可以直接发布吗?

相关推荐
重生之我是Java开发战士1 天前
【Spring Cloud】认识微服务与工程搭建
spring·spring cloud·微服务
墨着染霜华2 天前
SpringCloud Gateway线上Nginx代理后自定义下划线请求头丢失(app_name/app_version获取不到)完美解决
nginx·spring cloud·gateway
Rain的Java大神之路2 天前
高并发下的热点账户余额扣减:Redis+Lua脚本实现无锁记账
java·spring boot·redis·后端·spring cloud·缓存·lua
YOU OU3 天前
优雅实现远程调用-OpenFeign
spring cloud
YOU OU3 天前
Spring Cloud概述
后端·spring·spring cloud
随遇而安zx3 天前
SpringCloud---可观测性与监控:Actuator / Micrometer / Prometheus / Grafana 深度解析
spring cloud·grafana·prometheus
LlmCraft|大模型工程实践3 天前
08. Docker Compose 一键编排:多容器应用的指挥家
java·spring cloud·eureka
橘子编程3 天前
Java邮件发送全攻略:从入门到实战
java·开发语言·spring boot·spring·spring cloud·maven
苏渡苇3 天前
HandlerInterceptor 和 WebFilter:两套 HTTP 请求拦截
spring boot·spring·http·spring cloud
随遇而安zx3 天前
SpringCloud---安全(Security / OAuth2 / JWT)设计思想与深度解析
安全·spring cloud