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了
- spring 启动日志报 DEBUG BeanNameUrlHandlerMapping:86 - Rejected bean name 'org.springframework.web.servl
- ssh2 整合 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in Servl
- 项目启动报错: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sys
- java报错-->Error creating bean with name 'org.springframework.web.servlet.resource.ResourceHttpRequest
- Spring Aop 报错error creating bean with name 'org.springframework.aop.config.internalAutoProxyCreator
- Spring Aop 报错error creating bean with name 'org.springframework.aop.config.internalAutoProxyCreator
- maven创建spring项目之后,启动报错java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoade
- maven创建spring项目之后,启动报错java.lang.ClassNotFoundException: org.springframework.web.**.**
- maven创建spring项目之后,启动报错java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoade
- spring web项目启动报错,java.lang.IllegalArgumentException at org.springframework.asm.ClassReader.<init>
- 解决org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.spring
- 启动报错: org.springframework.web.context.ContextLoaderListener
- tomcat启动报错ClassNotFoundExceptiion:org.springframework.web.context.ContextLoaderListener
- 报错:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'PPTServic
- mybatis报错:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sq
- maven springmvc Error creating bean with name 'org.springframework.web.servlet.mvc.annotation
- tomcat启动报错:1,启动报错显示 [org.springframework.web.servlet.DispatcherServlet]FrameworkServlet 'springMvc'
- 配置springmvc时启动服务报错org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'ma
- 【Hibernate框架】关联映射(一对多,多对一)
- UML类图几种关系的总结
- 烟花源代码
- android ListView adapter notifyDataSetChanged刷新先决条件
- 【MongoDB】——特定服务错误代码100
- spring 启动日志报 DEBUG BeanNameUrlHandlerMapping:86 - Rejected bean name 'org.springframework.web.servl
- DeepLearning4J安装及遇到的问题
- Java集合框架
- 测试文章
- 交换机qos配置
- (9/10 OK) 在VirtualBox中运行 cm-13-kiwi (华为 荣耀 5X) - 移植 MPTCP 到 cm-13-kiwi
- 通过JavaScript调用显示Yii隐藏的小物件
- python property 简单使用
- ABBYY PDF Transformer+标志注释的方法