Failed to process import candidates for configuration class[xxx];nested exception is java.io.FileNot[xxx] cannot be opened because it does not exist
网关和微服务的问题
在common的module中引入了mvc,但是网关中没有mvc,所以会报错,在具体的config中添加下面即可
@ConditionalOnClass(DispatcherServlet.class)