Springboot: Parameter value xxxx did not match expected type [java.lang.String (n/a)] 第一次接触springboot,在传输数据时遇到了这个报错。原因:在实体类中类型为String,Dao层中用的int类型导致报错。