It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Java Forum

i cant add a package :(

i cant add a package :(

Postby Asphyxiator on Thu Mar 08, 2007 2:13 pm

hey

i am trying to add this sax package. I add the jar file like i always do but apparently it cannot access the .class files that my program is trying to access :(
following are the errors that im getting:

C:\Documents and Settings\bs9-hassaan\Desktop\new xml on 192.168.13.123\reader.java:2: package classes.org.xml does not exist
import classes.org.xml.sax;


whereas it exists and ive included it like i always include packes by going to the jdkprofiles and adding the package :(

C:\Documents and Settings\bs9-hassaan\Desktop\new xml on 192.168.13.123\reader.java:30: cannot access classes.org.xml.sax.Parser
bad class file: C:\Documents and Settings\bs9-hassaan\Desktop\new xml on 192.168.13.123\classes\org\xml\sax\Parser.class
class file contains wrong class: org.xml.sax.Parser
Please remove or make sure it appears in the correct subdirectory of the classpath.
public abstract Parser getParser()throws SAXException
^


i have even tried adding the package by using the package add statement in my file. Parser.class is present and it still wont access the thing :(

pleaseee pleasee helpp mee....i have already wasted a day trying to figure out wat to do..im new to java and hence spend a lot of time figuring out simple stuff :(
but my project deadline is like reallyyy near and i really need to get this thing done in a wek max :(
pleaseeeeee helppppppppppp!!
Asphyxiator
 
Posts: 0
Joined: Thu Mar 08, 2007 2:01 pm

Who is online

Users browsing this forum: No registered users and 2 guests