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即可;

posted on 2020-03-28 17:57  小破孩楼主  阅读(945)  评论(0编辑  收藏  举报