操作IDEA时出现报错Cannot resolve method ‘方法’ in ‘CscpOrgService’
如下图所示,我按照网上解决方法提示点击文件-Invalidate and Restarte,重启IDEA后均没有解决
然后,找到CscpOrgService类,ctrl+左键进入类中,看到报错Class ‘hCscpOrgService’ is public, should be declared in a file named ‘hCscpOrgService.java’
最后,锁定错误为Service类名错误,hCscpOrgService改成CscpOrgService,成功解决!