Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.atiu.config.MainConfig]; nested exception is java.lang.IllegalArgumentException: @ComponentScan ANNOTATION type filter requires an annotation type: interface com.sun.xml.internal.ws.wsdl.writer.document.Service
错误原因是 service导入的包不正确,需要的是注解包中的service