求大神帮助“Spring框架启动报错, org.springframework.beans.factory.UnsatisfiedDependencyExce”

深思熟虑的先生 2015-08-26 06:17:35
2015-08-26 18:06:42,534 DEBUG [ConstructorResolver.java:201] - Ignoring constructor [public org.springframework.web.servlet.handler.MappedInterceptor(java.lang.String[],java.lang.String[],org.springframework.web.context.request.WebRequestInterceptor)] of bean 'org.springframework.web.servlet.handler.MappedInterceptor#0': org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.web.servlet.handler.MappedInterceptor#0': Unsatisfied dependency expressed through constructor argument with index 1 of type [java.lang.String[]]: Could not convert constructor argument value of type [org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor] to required type [[Ljava.lang.String;]: Failed to convert value of type 'org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor' to required type 'java.lang.String[]'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor] to required type [java.lang.String]: no matching editors or conversion strategy found
2015-08-26 18:06:42,534 DEBUG [ConstructorResolver.java:201] - Ignoring constructor [public org.springframework.web.servlet.handler.MappedInterceptor(java.lang.String[],java.lang.String[],org.springframework.web.servlet.HandlerInterceptor)] of bean 'org.springframework.web.servlet.handler.MappedInterceptor#0': org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.web.servlet.handler.MappedInterceptor#0': Unsatisfied dependency expressed through constructor argument with index 1 of type [java.lang.String[]]: Could not convert constructor argument value of type [org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor] to required type [[Ljava.lang.String;]: Failed to convert value of type 'org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor' to required type 'java.lang.String[]'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor] to required type [java.lang.String]: no matching editors or conversion strategy found
2015-08-26 18:06:42,535 DEBUG [BeanUtils.java:443] - No property editor [org.springframework.web.context.request.WebRequestInterceptorEditor] found for type org.springframework.web.context.request.WebRequestInterceptor according to 'Editor' suffix convention
2015-08-26 18:06:42,535 DEBUG [ConstructorResolver.java:201] - Ignoring constructor [public org.springframework.web.servlet.handler.MappedInterceptor(java.lang.String[],org.springframework.web.context.request.WebRequestInterceptor)] of bean 'org.springframework.web.servlet.handler.MappedInterceptor#0': org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.web.servlet.handler.MappedInterceptor#0': Unsatisfied dependency expressed through constructor argument with index 1 of type [org.springframework.web.context.request.WebRequestInterceptor]: Could not convert constructor argument value of type [org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor] to required type [org.springframework.web.context.request.WebRequestInterceptor]: Failed to convert value of type 'org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor' to required type 'org.springframework.web.context.request.WebRequestInterceptor'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor] to required type [org.springframework.web.context.request.WebRequestInterceptor]: no matching editors or conversion strategy found
2015-08-26 18:06:42,535 DEBUG [AbstractAutowireCapableBeanFactory.java:506] - Eagerly caching bean 'org.springframework.web.servlet.handler.MappedInterceptor#0' to allow for resolving potential circular references
2015-08-26 18:06:42,535 DEBUG [AbstractAutowireCapableBeanFactory.java:460] - Finished creating instance of bean 'org.springframework.web.servlet.handler.MappedInterceptor#0'
2015-08-26 18:06:42,536 DEBUG [AbstractAutowireCapableBeanFactory.java:1525] - Invoking afterPropertiesSet() on bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0'
2015-08-26 18:06:42,536 DEBUG [AbstractHandlerMethodMapping.java:99] - Looking for request mappings in application context: WebApplicationContext for namespace 'spring-servlet': startup date [Wed Aug 26 18:06:42 CST 2015]; parent: Root WebApplicationContext
2015-08-26 18:06:42,537 DEBUG [AbstractAutowireCapableBeanFactory.java:460] - Finished creating instance of bean 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0'
2015-08-26 18:06:42,537 DEBUG [AbstractBeanFactory.java:246] - Returning cached instance of singleton bean 'org.springframework.format.support.FormattingConversionServiceFactoryBean#0'
2015-08-26 18:06:42,537 DEBUG [DefaultSingletonBeanRegistry.java:215] - Creating shared instance of singleton bean 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter#0'
2015-08-26 18:06:42,537 DEBUG [AbstractAutowireCapableBeanFactory.java:432] - Creating instance of bean 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter#0'
2015-08-26 18:06:42,726 DEBUG [AbstractAutowireCapableBeanFactory.java:506] - Eagerly caching bean 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter#0' to allow for resolving potential circular references
2015-08-26 18:06:42,727 DEBUG [AbstractBeanFactory.java:246] - Returning cached instance of singleton bean 'mvcContentNegotiationManager'
2015-08-26 18:06:42,727 DEBUG [CachedIntrospectionResults.java:231] - Getting BeanInfo for class [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]
2015-08-26 18:06:42,737 DEBUG [CachedIntrospectionResults.java:259] - Caching PropertyDescriptors for class [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]
2015-08-26 18:06:42,737 DEBUG [CachedIntrospectionResults.java:271] - Found bean property 'alwaysMustRevalidate' of type [boolean]
2015-08-26 18:06:42,737 DEBUG [CachedIntrospectionResults.java:271] - Found bean property 'applicationContext' of type [org.springframework.context.ApplicationContext]
2015-08-26 18:06:42,737 DEBUG [CachedIntrospectionResults.java:271] - Found bean property 'argumentResolvers' of type [org.springframework.web.method.support.HandlerMethodArgumentResolverComposite]
2015-08-26 18:06:42,738 DEBUG [CachedIntrospectionResults.java:271] - Found bean property 'asyncRequestTimeout' of type [long]
2015-08-26 18:06:42,738 DEBUG [CachedIntrospectionResults.java:271] - Found bean property 'beanFactory' of type [org.springframework.beans.factory.BeanFactory]
2015-08-26 18:06:42,738 DEBUG [CachedIntrospectionResults.java:271] - Found bean property 'cacheSeconds' of type [int]
2015-08-26 18:06:42,738 DEBUG [CachedIntrospectionResults.java:271] - Found bean property 'cacheSecondsForSessionAttributeHandlers' of type [int]
...全文
256 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

50,454

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧