终端报错:
java.lang.IllegalArgumentException: Null key returned for cache operation (maybe you are using named params on classes without debug info?) Builder[public com.sky.result.Result com.sky.controller.admin.SetmealController.save(com.sky.dto.SetmealDTO)] caches=[setmealCache] | key=‘#setmealDTO.id’ | keyGenerator=‘’ | cacheManager=‘’ | cacheResolver=‘’ | condition=‘’,false,false
这是前端的报错
500 Internal Server Error
#尝试解决-->成功
1、可能是后端服务器运行太久?瞎猜的,重启一下-->无效
2、将redis里的套餐字段手动删除-->无效
#之前的#setmealDTO.categoryId为#setmealDTO.id
#改成#setmealDTO.categoryId就ok了