bad class file error

When UserDao.java is compiled , the following error is displayed.

classpath is set to net Package;

QuerParser.java is compiled succesffuuly.

UserDao.java:29: cannot access ecnet.ism.efc.utilities.parsers.QueryParser

bad class file: D:\jakarta-tomcat-5.0.28\webapps\project\WEB-INF\classes\net\i

sm\efc\utilities\parsers\QueryParser.class

class file contains wrong class: net.ism.efc.utilities.Parsers.QueryParser

Please remove or make sure it appears in the correct subdirectory of the classpa

th.

How to resolve this ?

[587 byte] By [PrabhuSai] at [2007-9-30 20:08:17]
# 1
I would guess that you have an older version of the class file. Have you tried recompiling and repackaging?
Learnable at 2007-7-7 0:54:11 > top of Java-index,Administration Tools,Sun Connection...