都给我整蒙了,我说hello怎么难道有点特殊用法了吗,结果是新建springboot的时候自动创建了一些测试,里面有个hello的映射路径。
java.lang.IllegalStateException: Ambiguous mapping. Cannot map 'basicController' method
com.example.demos.web.BasicController#hello(String)
to { [/hello]}: There is already 'helloController' bean method
改个名字就好啦