rtsp-web-converter icon indicating copy to clipboard operation
rtsp-web-converter copied to clipboard

Error creating bean with name 'simpAnnotationMethodMessageHandler' defined in class path resource

Open xudaye2001 opened this issue 4 years ago • 4 comments

注入simpAnnotationMethodMessageHandler失败

xudaye2001 avatar Jan 07 '21 23:01 xudaye2001

请问解决了吗

521alice avatar May 25 '21 07:05 521alice

这个错我没有复现,能给点详细的日志吗

yy1261633791 avatar May 25 '21 09:05 yy1261633791

这个错我没有复现,能给点详细的日志吗

2021-05-25 16:54:11.444 [main] INFO springfox.documentation.spring.web.PropertySourcedRequestMappingHandlerMapping - Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity<springfox.documentation.spring.web.json.Json> springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] 2021-05-25 16:54:11.642 [main] WARN org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'simpAnnotationMethodMessageHandler' defined in class path resource [org/springframework/web/socket/config/annotation/DelegatingWebSocketMessageBrokerConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.messaging.simp.annotation.support.SimpAnnotationMethodMessageHandler]: Factory method 'simpAnnotationMethodMessageHandler' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mvcValidator' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.validation.Validator]: Factory method 'mvcValidator' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultValidator' defined in class path resource [org/springframework/boot/autoconfigure/validation/ValidationAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org.hibernate.validator.internal.engine.valueextraction.ValueExtractorManager (initialization failure) 2021-05-25 16:54:11.645 [main] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]

521alice avatar May 25 '21 12:05 521alice

这个错我没有复现,能给点详细的日志吗

如果方便可以加个QQ(626681991) 学习一下

521alice avatar May 26 '21 03:05 521alice