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






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
原文地址:https://www.cnblogs.com/mthoutai/p/6936731.html