Error creating bean with name 'requestMappingHandlerAdapter'.......
来源:6-2 买家订单-dao(下)
根红苗正小红花
2020-03-10
心态蹦了呀老师!之前测试都是好的 今天成这样了 我又找了之前所有的测试方法试了试,都是这样。看到有同学遇到 但是没解决办法。。。
Error creating bean with name ‘requestMappingHandlerAdapter’…
3回答
-
根红苗正小红花
提问者
2020-03-11
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'requestMappingHandlerAdapter' defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]: Factory method 'requestMappingHandlerAdapter' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mvcConversionService' defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.format.support.FormattingConversionService]: Factory method 'mvcConversionService' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderMasterRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Failed to create query method public abstract org.springframework.data.domain.Page com.imocc.repository.OrderMasterRepository.findByBuyerOpenId(java.lang.String,org.springframework.data.domain.Pageable)! No property buyerOpenId found for type OrderMaster! Did you mean 'buyerOpenid'?
012020-03-15 -
廖师兄
2020-03-11
看后面的内容
00 -
weixin_慕丝5083543
2020-03-10
可能是启动类扫描包的问题
00
相似问题