richardlyc

Results comments of richardlyc

phrase suggest 无法查到结果 请问下是什么问题 post bcc_brandtitle/brandtitle { "text" : "液晶电视机" } POST bcc_brandtitle/_search { "query" : { "match": { "text":"液晶电视" } }, "suggest" : { "my-suggestion" : { "text" :...

@ab48917 After clean .gradle, the error is still the same. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resourceHandlerMapping' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested...

I found the code that caused the exception. ```java @Configuration @EnableGlobalMethodSecurity(prePostEnabled = true, proxyTargetClass = true) public class MethodSecurityConfiguration extends GlobalMethodSecurityConfiguration { @Autowired private RoleHierarchy roleHierarchy; @Override protected MethodSecurityExpressionHandler createExpressionHandler()...