Hi

        Probably try placing the path c:\jakarta-tomcat-4.0.3\common\classes\dgi as
the first in classpath setting.


Thanks & Regards
Balasubramaniyan Krithivasan
Software Engineer

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Shonk, Richard
Sent: Friday, April 05, 2002 2:30 PM
To: [EMAIL PROTECTED]
Subject: Re: Servlet Compile problem: Bad Class File


> The final import statement generates the following error message:

> "-cannot access dgi.CCMsg
> -bad class file:  c:\jakarta-tomcat-4.0.3\common\classes\dgi\CCMsg.class
> -class file contains wrong class: CCMsg
> -Please remove or make sure it appears in the correct subdirectory of the
classpath
> -import dgi.CCMsg"

Frank,
This error means there is a copy of CCMsg.class in an incorrect path. The
fourth line of the error message explains this.

Rich

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to