Re: Parser contanis wrong class

"Emanuele" <[email protected]> Thu, 23 Jan 2003 16:54:22 +0100
Newsgroups gmane.comp.java.enhydra.kxml
Message-ID <000e01c2c2f7$b29f7320$7801a8c0@futurasi>
When I reference the kXml into my project (with "Import" statement) the
JBuilder enviroment find the kXml package with all its classes and the debug
doesen't segnalate errors. When I try to debug my application an error
occurs (class XmlParser not found in class MyMidlet.MyForm). I have extract
the kXml.zip file into MyMidlet.classes directory.
What is wrong?

----- Original Message -----
From: "Stefan Haustein" <[email protected]>
To: <[email protected]>
Sent: Thursday, January 23, 2003 12:18 PM
Subject: Re: Kxml: Parser contanis wrong class


> 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
>
> _______________________________________________
> Kxml mailing list
> [email protected]
> http://www.enhydra.org/mailman/listinfo.cgi/kxml
>