[Spring] Cannot map '***'Controller bean method 에러 해결 방법
[error] java.lang.IllegalStateException: Ambiguous mapping found. Cannot map '***'Controller bean method there is already '***'Controller bean method @Controller public class Controller { @RequestMapping(value = "/main.action", method = { RequestMethod.GET }) public Object main(){ return null; } @RequestMapping(value = "/main.action", method = { RequestMethod.POST }) public Object list() { retur..
[Spring]
2021. 7. 16. 12:07
반응형