我将spring-boot的RestController换成Controller后,网页显示是404,而不是500,是什么原因?
@Controller public class HelloController { @Autowired private GirlProperties girlProperties; @RequestMapping(value = "/hello",method = RequestMethod.GET) public String say(){ return girlProperties.getCupSize(); } }