spring 启动日志报 DEBUG BeanNameUrlHandlerMapping:86 - Rejected bean name 'org.springframework.web.servl

来源:互联网 发布:python 列表生成字典 编辑:程序博客网 时间:2024/06/10 16:18

:86 - Rejected bean name ‘applicationEventMulticaster’: no URL paths identified
0:48:46,197 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘org.springframework.context.annotation.internalConfigurationAnnotationProcessor’: no URL paths identified
10:48:46,197 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘org.springframework.context.annotation.internalAutowiredAnnotationProcessor’: no URL paths identified
10:48:46,197 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘org.springframework.context.annotation.internalRequiredAnnotationProcessor’: no URL paths identified
10:48:46,198 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘org.springframework.context.annotation.internalCommonAnnotationProcessor’: no URL paths identified
10:48:46,198 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘multipartResolver’: no URL paths identified
10:48:46,198 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘org.springframework.web.servlet.view.InternalResourceViewResolver#0’: no URL paths identified
10:48:46,198 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘messageSource’: no URL paths identified
10:48:46,199 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘localeChangeInterceptor’: no URL paths identified
10:48:46,199 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘localeResolver’: no URL paths identified
10:48:46,199 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘handlerMapping’: no URL paths identified
10:48:46,199 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0’: no URL paths identified
10:48:46,199 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘org.springframework.web.servlet.resource.ResourceHttpRequestHandler#0’: no URL paths identified
10:48:46,199 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#0’: no URL paths identified
10:48:46,200 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘org.springframework.web.servlet.resource.ResourceHttpRequestHandler#1’: no URL paths identified
10:48:46,200 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#1’: no URL paths identified
10:48:46,200 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘org.springframework.web.servlet.resource.ResourceHttpRequestHandler#2’: no URL paths identified
10:48:46,200 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#2’: no URL paths identified
10:48:46,200 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler#0’: no URL paths identified
10:48:46,200 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#3’: no URL paths identified
10:48:46,201 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘mailSender’: no URL paths identified
10:48:46,201 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0’: no URL paths identified
10:48:46,201 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘environment’: no URL paths identified
10:48:46,201 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘systemProperties’: no URL paths identified
10:48:46,201 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘systemEnvironment’: no URL paths identified
10:48:46,201 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘servletContext’: no URL paths identified
10:48:46,202 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘servletConfig’: no URL paths identified
10:48:46,202 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘contextParameters’: no URL paths identified
10:48:46,202 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘contextAttributes’: no URL paths identified
10:48:46,202 DEBUG DefaultAnnotationHandlerMapping:86 - Rejected bean name ‘importRegistry’: no URL paths identified

以上是spring启动时的日志记录,初学者会认为日志没有抛出异常,spring的启动就没有问题。如果出现以上这种情况,通常是spring的HandleMapping没有配置。
增加一行配置:
就 ok了

0 0