在ssm整合中遇到了一个问题,当封装类没有写get方法时会出现
Resolved [org.springframework.http.converter.HttpMessageNotWritableException: No converter for [class SSM.Spring.spring基础.Control.Result] with preset Content-Type 'null']
的错误,加上get方法后就可以成功返回值
在ssm整合中遇到了一个问题,当封装类没有写get方法时会出现
Resolved [org.springframework.http.converter.HttpMessageNotWritableException: No converter for [class SSM.Spring.spring基础.Control.Result] with preset Content-Type 'null']
的错误,加上get方法后就可以成功返回值