在一个类中有一个方法,方法的声明如下:
public abstract Object getAll(Class class1)
throws Exception;在另一个类中调用此方法
调用的格式如下:
getAll(com/FFF/XXX/dao/bean/classnew);问题是:
调用中,不能识别路径格式,告诉我:
com cannot be resolved
FFF cannot be resolved
XXX cannot be resolved
dao cannot be resolved
bean cannot be resolved
classnew cannot be resolved
但classnew在包com.FFF.XXX.dao.bean中是存在的,且没有报任何错误,
不知道是怎么回事,麻烦哪位给指点一下.
public abstract Object getAll(Class class1)
throws Exception;在另一个类中调用此方法
调用的格式如下:
getAll(com/FFF/XXX/dao/bean/classnew);问题是:
调用中,不能识别路径格式,告诉我:
com cannot be resolved
FFF cannot be resolved
XXX cannot be resolved
dao cannot be resolved
bean cannot be resolved
classnew cannot be resolved
但classnew在包com.FFF.XXX.dao.bean中是存在的,且没有报任何错误,
不知道是怎么回事,麻烦哪位给指点一下.
MyEclipse7+tomcat6,JDK1.6 + windowXP/Windows 2003
感谢回贴