今天用idea启动springmvc项目时找不到类。查了一下,发现是我使用idea20201.1出现的bug解决方法:File>Settings>Build, Execution, Deployment>Build Tools>Maven>Runner勾选红框内容: