打开网页报错:
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即可;