热门

最新

红包

立Flag

投票

同城

我的

发布
weixin_37749732
7zwang
4 年前
trueweixin_37749732

开始写博客啦!大佬们求照顾!来交朋友呀

CSDN App 扫码分享
分享
评论
2
打赏
  • 复制链接
  • 举报
下一条:
Springboot踩的坑。当出现这个提示“No serializer found for class student.pojo.User and no properties discovered to create BeanSerializer”有两种方法 方法1:将实体类属性由private改为public(不推荐);方法2:给实体类属性设置set和get方法(推荐使用)。(@Data没生效是需要下载lombok,用了依赖也需要下载。)resultType 与parameterType的基本使用的区别(1、使用 resultType :主要针对于从数据库中提取相应的数据出来2、使用parameterType :主要针对于将信息存入到数据库中 如: insert 增加数据到数据库中Update更新等)
立即登录