@[TCould not set property ‘process’ of ‘class com.megagao.production.ssm.domain.vo.WorkVO’ with value ‘com.megagao.production.ssm.domain.technology.Process@5242ed15’ Cause: java.lang.IllegalArgumentException: argument type mismatch
这个错误 翻译过来是这样的
无法设置“com.megago.production.ssm.domain.vo.workvo”类的属性“process”,值为“com.megago.production.ssm.domain.technology.process@5242ed15”,原因:java.lang.illegalargumentexception:参数类型不匹配
错误的原因是因为,我的一个实体类叫process,这个类是在java中,有一个公共类也叫process
简而言之就是 实体类与公共类 重名 ,所以在用的时候 如果不手动引入此类的话,会默认引用公共类