Error creating bean with name 'documentationPluginsBootstrapper'

整合springmvc加swagger的时候启动项目报错:
在这里插入图片描述
最后发现没有@EnableWebMvc注解;
在这里插入图片描述

世界上所有的不公平都是由于当事人能力不足造成的.
原文地址:https://www.cnblogs.com/javayida/p/13347017.html