首页 > Web开发 > 详细

No unique bean of type [net.shougongfang.action.paymoney.AlipayPayMoneyReturnObj] is defined: Unsat

时间:2017-06-03 12:05:39      阅读:280      评论:0      收藏:0      [点我收藏+]






0

你把@Service放到实现类上吧。这个问题好像不止一个人在问啦

2013年10月25日 10:34
00

1,@service放到实现上 
2。在xml中配置扫描路径 

Xml代码  技术分享
  1. <mvc:annotation-driven />  
  2.     <context:component-scan base-package="com.xxx.service.impl com.xxx.controller"/>  

2013年10月25日 10:34
0

你把@Service放到实现类上吧。

这个问题好像不止一个人在问啦

2013年10月25日 10:34
00

1。@service放到实现上 
2,在xml中配置扫描路径 

Xml代码  技术分享
  1. <mvc:annotation-driven />  
  2.     <context:component-scan base-package="com.xxx.service.impl com.xxx.controller"/>  

2013年10月25日 10:34

No unique bean of type [net.shougongfang.action.paymoney.AlipayPayMoneyReturnObj] is defined: Unsat

原文:http://www.cnblogs.com/mthoutai/p/6936731.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!