项目排错总结
日常遇到的一些项目错误归纳
ん心之所向ヅ
迷途漫漫,终有一归。
展开
-
Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0
在使用Springboot测试时,遇到一个错误,具体报错信息如下: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources) on project helloword: Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:res原创 2021-04-06 20:27:19 · 784 阅读 · 1 评论 -
@Autowired注入service时失败
错误信息为: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project SpringMVC_03: There are test failures. Please refer to F:\Spring_Code\SpringMVC_03\target\surefire-reports for the individual test results. P原创 2021-01-17 19:02:39 · 1439 阅读 · 0 评论 -
Error:(3, 47) java: 程序包org.springframework.web.bind.annotation不存在
程序报错如下: 解决办法: File ——> Settings 清理之前项目的target 重建项目即可。原创 2021-01-16 15:12:09 · 1114 阅读 · 0 评论