The error "Cannot resolve method 'setResult(boolean)'" suggests that there is no method named 'setResult' that accepts a boolean parameter in the ResultInfo class.

To fix this error, you can either:

  1. Check if there is a method named 'setResult' in the ResultInfo class that accepts a boolean parameter. If there is, verify if you are using the correct class or if there are any imports missing.
  2. If there is no such method in the ResultInfo class, you may need to modify your code accordingly. Depending on your specific requirements, you can either remove the 'setResult' method call or modify it to match the available methods in the ResultInfo class.

Without further information about the ResultInfo class and your specific requirements, it is difficult to provide a more precise solution

return new ResultInfo setDataexamineRelationConstraintVO setResulttrue; 第二个set 报Cannot resolve method setResultboolean

原文地址: https://www.cveoy.top/t/topic/iBEr 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录