logo       

Re: Parser contanis wrong class: msg#00007

java.enhydra.kxml

Subject: Re: Parser contanis wrong class

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" <haustein@xxxxxxxxxxxxxxxxxxxxxxx>
To: <kxml@xxxxxxxxxxx>
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
> Kxml@xxxxxxxxxxx
> http://www.enhydra.org/mailman/listinfo.cgi/kxml
>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise