Package doesn't exist error

I download the xercesImpl-2.6.2.jar file. I want to use all the classes available in the org.apache.html.dom.*. I put the jar file in the jre1.6.0_18\lib\ext folder as well as jdk1.6.0_14\jre\lib\ext folder. But When I try to use the class file available in this jar file it is not allowing,
can you people please help me ?

I would check a couple of things...
1) Is your ext folder listed in your classpath?
2) Are you importing from the correct packages?

Similar Messages

  • Package does not exist error-message

    When I try to compile a java servlet with the following piece of code I get a compilation error referring to the import statement.
    I have just included the initial import statements. A large number of errors follow, as a result of this 'package does not exist error-message'.
    Has anyone encountered this or any ideas?
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.* ;
    import java.io.* ;
    import java.sql.* ;
    import com.ericsson.snf.mps.mppapi.mtlr.*;
    The error messages come from the 'import com.ericsson.snf.........' statement.
    I am trying to integrate ericsson software, into my application.
    Thanks,
    java-mobile-user

    That's probably because you are trying to integrate j2me suff with j2se/ee. That won't work without los of extra work..

  • "doesn't exist"  error in LSMW

    when I execute  "Convert data" radio button in LSMW,
    I am getting system error as  "doesn't exist"  and how to solve this.

    Hi,
    I noticed you used function /SCWM/API_PACKSPEC_CREATE in your LSMW.
    If it is possible could you tell me if you use this lsmw for packing specification loading in EWM environment?
    I need to do something similar, trying to use transaction "/SCWM/IPU - Initial Data Transfer of Packaging Specifications ", which triggers this function.
    In case you have experience in loading packing specification in SCM environment, could you help me with loading structure?
    Thank you and best regards,
    Valentina P.

  • 'Source Directory doesn't exist' error in sender file adapter

    Hi All,
    I m getting the error 'Source Directory doesn't exist' in sender file adapter.
    The source file directory doesn't exist in XI Server. Its in a different system.
    gone through other sdn t hreads.
    the options seems to be
    1. either to mount the Source Directory on the XI Server.
    2. Install a FTP server and use FTP protocol.
    My doubt is that, could nt we give necessary access rights to the XIAFUSER whihc will access the Source Directory?
    Wont it be sufficient?

    Hi Aarthi,
    If you are using system other than XI, then you have to use FTP server
    else check you have proper authorization of read/write to the source directory...
    and check the name of it as well, as it is case sensetive and you have provided the proper details of server.
    check these blog as well...
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    /people/shabarish.vijayakumar/blog/2006/08/01/along-came-a-file-adapter-mr-ftp-and-rest-of-the-gang
    Sachin
    Edited by: Sachin Dhingra on Mar 24, 2009 12:16 PM

  • Table doesn't Exist Error

    Hi,
    I have source as oracle database and target as HFM. However, I am facing issue in reverse engineering the RDBMS model. It doesn't show the table columns and gives the error "Table doesn't exist.".
    I have tried creating a public synonym as well but to no avail.
    Can anyone please suggest the suitable resolution?
    Thanks
    Abhi

    Hi,
    I added these keys but it is still not reflecting the columns. I tried with credential with DBA privileges but to no avail. The database connection is also getting connected with no hassles.
    Please advice.
    Thanks!

  • Package does not exist error!

    Hello, I'm having trouble getting an application which uses a package to compile. This is from "Teach yourself Java in 21 day".
    The files are:-
    Item.java
    package ecommerce;
    import java.util.*;
    public class Item implements Comparable {
         private String id;
         private String name;
         private double retail;
         private int quantity;
         private double price;
         Item(String idIn, String nameIn, String retailIn, String quanIn)
              id = idIn;
              name = nameIn;
              retail = Double.parseDouble(retailIn);
              quantity = Integer.parseInt(quanIn);
              if(quantity > 400)
                   price = retail * .5D;
              else if (quantity > 200)
                   price = retail * .6D;
              else
                   price = retail * .7D;
              price = Math.floor( price * 100 + .5) / 100;
         public int compareTo(Object obj)
              Item temp = (Item)obj;
              if (this.price < temp.price)
                   return 1;
              else if (this.price > temp.price)
                   return -1;
              return 0;
         public String getId()
              return id;
         public String getName()
              return name;
         public double getRetail()
              return retail;
         public int getQuantity()
              return quantity;
         public double getPrice()
              return price;
    Storefront.java
    package ecommerce;
    import java.util.*;
    public class Storefront {
         private LinkedList catalog = new LinkedList();
         public void addItem(String id, String name, String price, String quant)
              Item it = new Item(id, name, price, quant);
              catalog.add(it);
         public Item getItem(int i)
              return (Item)catalog.get(i);
         public int getSize()
              return catalog.size();
         public void sort()
              Collections.sort(catalog);
    and the main class - Giftshop.Java
    import ecommerce.*;
    public class GiftShop{
         public static void main(String[] arguments){
              Storefront store = new Storefront();
              store.addItem("C01", "MUG", "9.99", "150");
              store.addItem("C02", "LG MUG", "12.99", "82");
              store.addItem("C03", "MOUSEPAD", "10.49", "800");
              store.addItem("D01", "T SHIRT", "16.99", "90");
              store.sort();
              for(int i = 0; i < store.getSize(); i++) {
                   Item show = (Item)store.getItem(i);
                   System.out.println("\nItem ID: " + show.getId() +
                             "\nName: " + show.getName() +
                             "\nRetail Price: $" + show.getRetail() +
                             "\nPrice: $" + show.getPrice() +
                             "\nQuantity: " + show.getQuantity());
    Item.java and Storefront.java are stored in:-
    C:\Program Files\Java\jdk1.5.0_12\package\ecommerce
    GiftShop.java is stored in:-
    C:\J21work
    My classpath is set to:-
    C:\J21work
    CLASSPATH=C:\Program Files\Java\jdk1.5.0_12\lib\tools.jar;C:\J21Work\;C:\J21Work\package\ecommerce\
    When I attempt to compile GiftShop.Java I get the following error message:-
    C:\J21work>javac GiftShop.java
    GiftShop.java:1: package ecommerce does not exist
    import ecommerce.*;
    ^
    GiftShop.java:5: cannot access Storefront
    bad class file: C:\J21Work\package\ecommerce\Storefront.class
    class file contains wrong class: ecommerce.Storefront
    Please remove or make sure it appears in the correct subdirectory of the classpa
    th.
    Storefront store = new Storefront();
    ^
    2 errors
    Thanks for taking the time to read this question.
    Edited by: lister27 on Sep 16, 2007 7:57 AM

    Hi,
    I have the same problem with the same code. I am trying to find what is wrong with my classpath.
    The class files of Item and Storefront are in C:\dev\java\org\cadenhead\ecommerce
    The GiftShop.java is in C:\dev\java\
    My classpath is .;C:\Program Files\Java\jdk1.6.0_03\lib\tools.jar;C:\dev\java\org\cadenhead\ecommerce;C:\dev\java;C:\J21work
    I appreciate any help.

  • Table doesn't exist error while creating a procedure

    The query executes and retrieve records but when the query is put into a procedure , the procedure is giving error (4/30 PL/SQL: ORA-00942: table or view does not exist) during creation. The snurk_cmms_csht008_rfs_misc is a public synonym refering to db2 database. How to make the procedure to get created ?
    SQL> CREATE PROCEDURE TEST AS
    2 I VARCHAR2(20);
    3 BEGIN
    4 SELECT CD_PLANT INTO I FROM snurk_cmms_csht008_rfs_misc
    5 WHERE ROWNUM <2;
    6 END;
    7 /
    Warning: Procedure created with compilation errors.
    SQL> SHOW ERRORS;
    Errors for PROCEDURE TEST:
    LINE/COL ERROR
    4/2 PL/SQL: SQL Statement ignored
    4/30 PL/SQL: ORA-00942: table or view does not exist
    SQL> SHOW USER;
    USER is "ORDV_SRC"
    SQL> SELECT CD_PLANT FROM snurk_cmms_csht008_rfs_misc WHERE ROWNUM <2;
    CD_PL
    AP01A
    thanks,
    Vinodh

    Create a local view on the remote table (using the synonym).
    Then you can reference the view always from your procedure.
    Of cause during the creation of the view the database link to the remote DB must exist.
    But later you can change your procedure/package even if the remote connection is not established.
    Edited by: Sven W. on Sep 8, 2011 2:04 PM

  • Package does not exist error. What am I doing?

    I would appreciate any ideas someone might have. I am doing a proof of concept
    on WLS 7.0.
    I deployed a ear file, containing a jar that has a Home, Remote and Bean class
    like this:
    com\co\test\SponsorHome.class
    The EJB is deployed fine to the server and I see it in the console and everything
    looks good.
    I wrote a JSP page to access the bean and this is the error I get:
    package com.co.test does not exist
    probably occurred due to an error in /testejb.jsp line 2:
    <%@ page import="com.co.test.*" %>
    It errors out on that line, right away. Any help would be greatly appreciated,
    I have been banging my head for two days on this one.
    Thanks,
    Matt

    If you package the JSP within the EAR (or an exploded EAR) then the
    server deploys them as the same unit. They're in the same classloader
    structure to the JSP compiler can see the EJB interface classes.
    When you deploy them separately, they're viewed by the server as
    separate applications. You'll have to include the EJB interface classes
    in the JSP's webapp.
    I'd recommend deploying them together in an exploded EAR.
    -- Rob
    Matt wrote:
    Rob,
    It is not. Is that not possible?
    Thanks,
    Matt
    Rob Woollen <[email protected]> wrote:
    Is the JSP packaged inside the EAR as well?
    -- Rob
    Matt wrote:
    I would appreciate any ideas someone might have. I am doing a proofof concept
    on WLS 7.0.
    I deployed a ear file, containing a jar that has a Home, Remote andBean class
    like this:
    com\co\test\SponsorHome.class
    The EJB is deployed fine to the server and I see it in the consoleand everything
    looks good.
    I wrote a JSP page to access the bean and this is the error I get:
    package com.co.test does not exist
    probably occurred due to an error in /testejb.jsp line 2:
    <%@ page import="com.co.test.*" %>
    It errors out on that line, right away. Any help would be greatly appreciated,
    I have been banging my head for two days on this one.
    Thanks,
    Matt

  • Getting package does not exist error

    Hi,
    I am trying to run my first JSF project but getting following exception:-
    org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP
    PWC6197: An error occurred at line: 14 in the jsp file: /index.jsp
    PWC6199: Generated servlet error:
    package com.sun.faces.taglib.jsf_core does not exist
    PWC6197: An error occurred at line: 14 in the jsp file: /index.jsp
    PWC6199: Generated servlet error:
    package com.sun.faces.taglib.jsf_core does not exist
    PWC6197: An error occurred at line: 14 in the jsp file: /index.jsp
    PWC6199: Generated servlet error:
    package com.sun.faces.taglib.jsf_core does not exist
    PWC6197: An error occurred at line: 15 in the jsp file: /index.jsp
    PWC6199: Generated servlet error:
    package com.sun.faces.taglib.html_basic does not exist
    PWC6197: An error occurred at line: 15 in the jsp file: /index.jsp
    PWC6199: Generated servlet error:
    package com.sun.faces.taglib.html_basic does not exist
    PWC6197: An error occurred at line: 15 in the jsp file: /index.jsp
    PWC6199: Generated servlet error:
    package com.sun.faces.taglib.html_basic does not exist
    I had created a war of my project and deployed on the glass fish server. I have put the required jar files in WEB-INF-> lib folder (jsf-api.jar, jsf-impl.jar, jstl-1.1.0.jar).
    Wondering why its not able to find the packages.
    Following is my index.jsp:-
    <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
    <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
    <%@ page contentType="text/html;charset=UTF-8" language="java" %>
    <html>
      <head><title>Simple jsp page</title></head>
      <body>
      <f:view>
          <h:outputLabel value="Hello, world"/>
      </f:view>
      </body>
    </html>
    Please help.
    Thanks,
    Parikshit

    And why do you think those jars are required? Guess work? Glassfish already provides them, remove them from the application deployment and try again.

  • 'A file or directory doesn't exist' error during java stack update

    Dear All,
    I've done a fresh installation of solution manger system on IBM iseries box (OS400 & DB2 combo).
    As part of post installation activity, I've updated the kernel patch, updated the ABAP stack to sp4, and am currently doing the java stack update.
    I'm struck with one error. The log file shows:
    Feb 23, 2012 7:54:35 PM  Error: /usr/sap/SLM/SYS/global/j2eeclient/META-INF/SAP_MANIFEST.MF (A file or directory in the path name does not exist.)
    Feb 23, 2012 7:54:35 PM  Error: Error deploying Fileset Complete to /usr/sap/SLM/SYS/global/j2eeclient
    Feb 23, 2012 7:54:35 PM  Info: ***** End of File-System Deployment com.sap.engine.client *****
    Feb 23, 2012 7:54:35 PM  Error: Aborted: development component 'com.sap.engine.client'/'sap.com'/'SAP AG'/'7.0209.20110628100654.0000'/'1', grouped by :
    Deployment was not successful
    I've checked the file system and found that the directory META-INF is not present in /../../global/j2eeclient
    Please suggest a solution.
    Thank You.
    regards,
    vin

    Hi,
    This is an easy solution:
    From the OS command line, do WRKLNK, go to /usr/sap/SLMS/global/j2eeclient,  at the top where it shows the directory, do a copy on this. Then at the command line type MD, do F4, paste the directory name in the first line, then after j2eeclient add /META-INF'
    IMportant*** Make sure the full directory name is in single quotes.*
    *On the next 2 lines change INDIR to RWX.  Then press enter and re-run your job.  If you have any problems let me know.

  • JDBC : Fatal Error: Column Doesn't exist error .

    Hello all,
       I am getting following error in a JDBC adapter monitoring :
    Error when executing statement for table/stored proc. 'Purchase_Order' (structure 'STATEMENTNAME'): java.sql.SQLException: FATAL ERROR: Column 'Test' does not exist in table 'Purchase_Order'
    But the thing is that, the table do have the 'Test' column and I can update this table using Update SQL statement. There are 8 columns in this table. XI can update all 7 columns except this 'Test' column.
    Any idea why? I evern rename this column to something else and no luck.
    Regards,
    N.S

    Swamy,
    Why dont you try to execute the SQL statement or the Stored procedure at the Database level? If it executes there then you can figure out in XI. If it dont execute there then you have to check the syntax for the query or the stored procedure.
    Try this out once.......
    ---Satish

  • Table or View doesn't exists error on Dashboard

    Dear Gurus,
    I can open online my repository, with import & view the tables and the views successfully.
    But when I open it in dashboard, it show error:
    ORA-00942: table or view does not exist
    I confuse because I can open it in repository and it ok.
    I have also check tnsnames.ora in server to make sure the DSN is correct.
    Is there any step I should do?
    Thank you
    JOE

    JoeSSI wrote:
    Dear Gurus,
    I can open online my repository, with import & view the tables and the views successfully.
    But when I open it in dashboard, it show error:
    ORA-00942: table or view does not exist
    I confuse because I can open it in repository and it ok.
    I have also check tnsnames.ora in server to make sure the DSN is correct.
    Is there any step I should do?
    Thank you
    JOEMay be u dont have permission to that particular Subject Area...please check all the permissions...and also check whether u renamed any thing after importing into Physical layer...

  • Package doesn't exist

    Hi:
    I transported 3 ODSs from one system into the other and I would like to change those in the new system but it says package doesnt exist. Only display is allowed. I tried assigning it from the menu -> Object  directory entry but cannot change it. Should same package be existing in both the sending and receiving systems? How can I solve this....
    Thanks,
    Manasa.

    The Solution for this is to, transport the Development Calss ( package ) to the Destination System.

  • UserID Doesn't exist error message

    Hi,
    SUNONE directory gets synched with Adobe LC directory without any issues but still one of the long lived process gets stalled with the error message "User ID is either inactive or invalid".
    UserID is still active in the database and also available in outlook.
    Please suggest, what else I can check to resolve this issue.

    Hi Steve,
    Yes, I am able to query the user successfully in adminui
    This error occurs for the same user ID but y'day evening it happenned with another user as well.
    No group roles are defined, users are just given the role as workspace user.

  • Error:  microedition.io.* package does not exists

    Been at this for a few days...frustration...funny.
    Using JDK 1.6 NetBeant 6.8 with WTK 2.5.2 on XP
    Was able to resolve the javax.bluetooth.* package does not exists and xylostudio by doing the following to add the libraries to the project file.
    1) Tools > Libraries
    2) in the pop up Library Manager window click 'New Library'
    3) in the pop up New Library window typed 'bluetooth' > OK
    3) highlight 'bluetooth' in Library Manager scroll menu on left
    4) click add JAR/Folder
    5) added jsr082 from C;\WTK2.5.2_01\lib\jsr082.jar
    6) click OK
    7) right click project and select properites
    8) highlight the library node under Categories on the left side of the Project Properties window
    9) 'Add Library' created 'bluetooth'
    10) click OK
    When the process was followed to resolve the microedition.io.* package does not exist error it was unsuccessful.
    The difference in the two processes being New Library name: 'microedition' and added jsr75, MIDPapi20, jsr118, then MIDPapi21 with no resolution to the errors.
    Also add the jsr75, MIDPapi20, jsr118, and MIDPapi21 directly to the project by clicking the 'Add JAR/Folder' button in the Project Properties window.
    Here is the Output:
    init:
    deps-clean:
    Updating property file: C:\Scholastic\4340MS\REU\ItsAForum\build\built-clean.properties
    Deleting directory C:\Scholastic\4340MS\REU\ItsAForum\build
    clean:
    init:
    deps-jar:
    Created dir: C:\Scholastic\4340MS\REU\ItsAForum\build
    Updating property file: C:\Scholastic\4340MS\REU\ItsAForum\build\built-jar.properties
    Created dir: C:\Scholastic\4340MS\REU\ItsAForum\build\classes
    Created dir: C:\Scholastic\4340MS\REU\ItsAForum\build\empty
    Compiling 8 source files to C:\Scholastic\4340MS\REU\ItsAForum\build\classes
    C:\Scholastic\4340MS\REU\ItsAForum\src\mobile\communication\Server.java:8: cannot find symbol
    symbol : class Connector
    location: package javax.microedition.io
    import javax.microedition.io.Connector;
    C:\Scholastic\4340MS\REU\ItsAForum\src\mobile\communication\Server.java:9: cannot find symbol
    symbol : class StreamConnection
    location: package javax.microedition.io
    import javax.microedition.io.StreamConnection;
    C:\Scholastic\4340MS\REU\ItsAForum\src\mobile\communication\Server.java:10: cannot find symbol
    symbol : class StreamConnectionNotifier
    location: package javax.microedition.io
    import javax.microedition.io.StreamConnectionNotifier;
    C:\Scholastic\4340MS\REU\ItsAForum\src\mobile\communication\Server.java:19: cannot find symbol
    symbol : class StreamConnectionNotifier
    location: class mobile.communication.Server
    private StreamConnectionNotifier server = null;
    ^
    C:\Scholastic\4340MS\REU\ItsAForum\src\mobile\communication\Server.java:20: cannot find symbol
    symbol : class StreamConnection
    location: class mobile.communication.Server
    private StreamConnection connection = null;
    ^
    C:\Scholastic\4340MS\REU\ItsAForum\src\mobile\communication\Server.java:58: cannot find symbol
    symbol : class StreamConnectionNotifier
    location: class mobile.communication.Server
    server = (StreamConnectionNotifier)Connector.open(URL);
    ^
    C:\Scholastic\4340MS\REU\ItsAForum\src\mobile\communication\Server.java:58: cannot find symbol
    symbol : variable Connector
    location: class mobile.communication.Server
    server = (StreamConnectionNotifier)Connector.open(URL);
    ^
    7 errors
    C:\Scholastic\4340MS\REU\ItsAForum\nbproject\build-impl.xml:413: The following error occurred while executing this line:
    C:\Scholastic\4340MS\REU\ItsAForum\nbproject\build-impl.xml:199: Compile failed; see the compiler error output for details.
    BUILD FAILED (total time: 4 seconds)
    any information would be much appreciated. Thanks,
    LD

    By completing the process shown in below link and adding the bluecove jar file directly to the project as of the reply post suggests, all compilation errors were corrected.
    http://forums.netbeans.org/viewtopic.php?t=22823&start=0&postdays=0&postorder=asc&highlight=microedition
    Thanks me for point me in the right direction,
    Me is happy.

Maybe you are looking for

  • SQL statement in servlet giving error

    Please let me know if I need to post this on a different forum, but I thought it was applicable to here. First, let me preface this post by saying I've inserted hardcoded values at the DB (Oracle) level and it worked just fine, so most of the stateme

  • Missing start button, task bar and min,max buttons when open iTunes

    Its like the screen is cut off on the top and bottom.  I use windows 7 but this doesn't happen when I have any other program open.  How do I fix?

  • Upgraded to Yosemite. Iphoto Library Upgrader problems

    I've downloaded the iPhoto library upgrader from App store and installed it, but when I go into Finder and Utilities, the only thing I find sends me back to installing the upgrade.  What am I doing wrong?

  • Setting column width on dvt:pivotTable

    Dear All, Jdeveloper 11.1.1.5.0 adf bc I need to set the width of column in my pivotTable. But by default i think its adjusting according to its contents.. any pointers ? Regards,

  • Lenovo G580 delete partition and need full recovery

    Hi I have bought a Lenovo G580 Notebook model name (20157) and i made a new partition of Hard disk and after that i can't install all drivers so how can i recovery the default partition and Original Win7 Iam looking to download A recovery DVD plz Hel