postman报500错误,成功解决
利用debug 设置断点在controller层的TestController中的return上
postman上再send一次,在项目上找到错误提示,
org.springframework.jdbc.CannotGetJdbcConnectionException,Could not get JDBC Connection;
这个就是启动那里的配置没弄好,原来是重下了mysql 密码改了,项目上的mysql密码没改,改了之后就ok了!