今天在springboot学习中 用idea打包时出现的一个问题,
Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (checkstyle-validation) on project spring-boot-01-helloworld: Failed during checkstyle execution: Unable to find suppressions file at location: src/checkstyle/checkstyle-suppressions.xml: Could not find resource ‘src/checkstyle/checkstyle-suppressions.xml’. -> [Help 1]
[ERROR]
org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check这个找不到
这是pom文件配置`
镜像用的阿里的
错误原因是写了错误的依赖,应该是spring-boot-starter-parent而不是spring-boot-parent
修改完毕即可
Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (checkstyle-vali
猜你喜欢
转载自blog.csdn.net/qq_43513205/article/details/84957412
今日推荐
周排行