dao 接口定义了一个方法,报错 The method xxx is undefined for the type xxx;

转自:https://blog.csdn.net/panshoujia/article/details/78203837

持久层(DAO层)下的一个接口 ,eclipse报了一个The method xxx  is undefined for the type xxxx,以为方法的参数类型有误,找来找去也没有发现参数或者参数类型错误,结果重新将整个project  clear一下,重新启动AliTomcat就可以。

原文地址:https://www.cnblogs.com/sharpest/p/11179647.html