原来项目运行时正常的,后来把com.fh.controller.information.picture.PictureController
和com.fh.service.information.picture.PictureService修改为com.fh.controller.information.PictureController
和com.fh.service.information.PictureService后出错
启动项目报错如下错误
信息: Initializing Spring root WebApplicationContext
2015-06-06 12:04:32 -0 [localhost-startStop-1] INFO - Root WebApplicationContext: initialization started
2015-06-06 12:04:32 -184 [localhost-startStop-1] INFO - Refreshing Root WebApplicationContext: startup date [Sat Jun 06 12:04:32 CST 2015]; root of context hierarchy
2015-06-06 12:04:33 -248 [localhost-startStop-1] INFO - Loading XML bean definitions from class path resource [spring/ApplicationContext.xml]
2015-06-06 12:04:33 -483 [localhost-startStop-1] ERROR - Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [spring/ApplicationContext.xml]; nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'picturesService' for bean class [com.fh.service.information.PicturesService] conflicts with existing, non-compatible bean definition of same name and class [com.fh.service.information.pictures.PicturesService]
maven 项目中修改项目的包名后重新启动报错
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
3条回答
悬赏问题
- ¥15 求差集那个函数有问题,有无佬可以解决
- ¥15 【提问】基于Invest的水源涵养
- ¥20 微信网友居然可以通过vx号找到我绑的手机号
- ¥15 寻一个支付宝扫码远程授权登录的软件助手app
- ¥15 解riccati方程组
- ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
- ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
- ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
- ¥50 树莓派安卓APK系统签名
- ¥65 汇编语言除法溢出问题