at tk.mybatis.spring.mapper.SpringBootBindUtil$SpringBoot2Bind.bind(SpringBootBindUtil.java:129) ~[mapper-spring-boot-autoconfigure-1.2.3.jar:na]
异常信息如下
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at tk.mybatis.spring.mapper.SpringBootBindUtilSpringBoot2Bind.bind(SpringBootBindUtil.java:129)[mapper−spring−boot−autoconfigure−1.2.3.jar:na]attk.mybatis.spring.mapper.SpringBootBindUtil.bind(SpringBootBindUtil.java:58)[mapper−spring−boot−autoconfigure−1.2.3.jar:na]attk.mybatis.spring.mapper.ClassPathMapperScanner.setMapperProperties(ClassPathMapperScanner.java:48)[mapper−spring−boot−autoconfigure−1.2.3.jar:na]attk.mybatis.spring.annotation.MapperScannerRegistrar.registerBeanDefinitions(MapperScannerRegistrar.java:33)[mapper−spring−boot−autoconfigure−1.2.3.jar:na]atorg.springframework.context.annotation.ImportBeanDefinitionRegistrar.registerBeanDefinitions(ImportBeanDefinitionRegistrar.java:86)[spring−context−5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.lambdaloadBeanDefinitionsFromRegistrars1(ConfigurationClassBeanDefinitionReader.java:385)[spring−context−5.2.5.RELEASE.jar:5.2.5.RELEASE]atjava.util.LinkedHashMap.forEach(LinkedHashMap.java:684)[na:1.8.0131]atorg.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars(ConfigurationClassBeanDefinitionReader.java:384)[spring−context−5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:148)[spring−context−5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)[spring−context−5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:331)[spring−context−5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:236)[spring−context−5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:275)[spring−context−5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:95)[spring−context−5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:706)[spring−context−5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:532)[spring−context−5.2.5.RELEASE.jar:5.2.5.RELEASE]atorg.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)[spring−boot−2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.boot.SpringApplication.refresh(SpringApplication.java:747)[spring−boot−2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)[spring−boot−2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.boot.SpringApplication.run(SpringApplication.java:315)[spring−boot−2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.boot.SpringApplication.run(SpringApplication.java:1226)[spring−boot−2.2.6.RELEASE.jar:2.2.6.RELEASE]atorg.springframework.boot.SpringApplication.run(SpringApplication.java:1215)[spring−boot−2.2.6.RELEASE.jar:2.2.6.RELEASE]atcom.zyk.gamll.user.GmallUserApplication.main(GmallUserApplication.java:14)[classes/:na]Causedby:java.lang.reflect.InvocationTargetException:nullatsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)[na:1.8.0131]atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0131]atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0131]atjava.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0131]attk.mybatis.spring.mapper.SpringBootBindUtilSpringBoot2Bind.bind(SpringBootBindUtil.java:127) ~[mapper-spring-boot-autoconfigure-1.2.3.jar:na] … 22 common frames omitted Caused by: java.util.NoSuchElementException: No value bound at org.springframework.boot.context.properties.bind.BindResult.get(BindResult.java:56) ~[spring-boot-2.2.6.RELEASE.jar:2.2.6.RELEASE] … 27 common frames omitted