2 cao ni ye cao_ni_ye 于 2017.08.29 15:51 提问

ssm整合报错,怎么办啊

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.handler.MappedInterceptor#0': Cannot create inner bean '(inner bean)' of type [org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot resolve reference to bean 'conversionService' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'conversionService' is defined
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:532)

1个回答

Small_Mouse0
Small_Mouse0   Ds   Rxr 2017.08.29 18:45

我感觉是少jar了,,,,你用的maven么???

去网上看别人整合用了哪些jar对一遍吧

Small_Mouse0
Small_Mouse0 当然jar之间版本冲突也是有可能的,,,错误说的是无法创建"bean",,,这个bean还是spring的bean,,所以我猜是jar的问题
3 个月之前 回复
Csdn user default icon
上传中...
上传图片
插入图片