1.

2.

解决方法:

File>Settings>Build, Execution, Deployment>Build Tools>Maven>Runner,勾选中下图所示,问题解决!

3.项目能加载了

参考:

idea报错:java: 程序包org.springframework.web.bind.annotation不存在_not an annotation type: org$springframework$web$bi-CSDN博客

Logo

技术共进,成长同行——讯飞AI开发者社区

更多推荐