org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping': Initialization of bean failed; nested exception is java.lang.IllegalStateException: Cannot map handler 'regController' to URL path [/index.html]: There is already handler of type [class controller.loginController] mapped.
意思是:/index.html 在regController和loginController的requestMapping中重复出现了,系统不知道应该用哪个,即使代码都一样