Re: Parser contanis wrong class

Stefan Haustein <[email protected]> Thu, 23 Jan 2003 12:18:18 +0100
Newsgroups gmane.comp.java.enhydra.kxml
Organization Univ. Dortmund FB 4 LS 8
Message-ID <[email protected]>
Emanuele wrote:
> I'm trying to develop a J2me midlet application that uses the kXML 
> parser to read a XML file.
> I'm using JBuilder Personal 7 with MobilSet and I have downloaded the 
> kXML 1.21.
> When I try to run my application an error occurs: "Cannot access class 
> XmlParser: class file kxml.org.kxml.parser.KxmlParser contains wrong 
> class".
> This error occurs in the line where I reference the XmlParser : 
> "XmlParser myParser;".
> What is wrong in kXML1.21?

looks like your classpath points to the wrong directory!

Best,
Stefan