Ambiguous mapping. Cannot map "***Controller" been method解决办法

Ambiguous mapping. Cannot map 'handController' method
public com.smallchill.core.toolbox.ajax.AjaxResult com.smallchill.smtlamp.controller.HandController.AC2off(java.lang.String)
to {[/hand/AC1off]}: There is already 'handController' bean method
public com.smallchill.core.toolbox.ajax.AjaxResult com.smallchill.smtlamp.controller.HandController.AC1off(java.lang.String) mapped.

解决办法:
@RequestMapping()中的url重复了,修改为不同的url即可;

猜你喜欢

转载自www.cnblogs.com/zouhong/p/12588526.html