运行SpringBoot项目时候遇到如下错误:
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.xxx.xxx.XxxxApplication]; nested exception is java.lang.IllegalStateException: Failed to introspect annotated methods on class org.springframework.boot.web.servlet.support.SpringBootServletInitializer
可尝试将pom.xml中的文件做如下修改:
若没有再找其他方法吧~