Where shall i save the jar file when i'm using a parser(JDOM) in jwsdp

I'm using jwsdp These errors are coming
when i compile.where shall i save the jdom.jar file?
do i have to change the server.xml file in jwsdp-1_0\conf directory ?
import org.w3c.dom.*;
^
MetaBuilder.java:4: cannot resolve symbol
symbol : class DocumentImpl
location: package dom
import org.apache.xerces.dom.DocumentImpl;
^
MetaBuilder.java:5: cannot resolve symbol
symbol : class DOMImplementationImpl
location: package dom
import org.apache.xerces.dom.DOMImplementationI
^
MetaBuilder.java:6: cannot resolve symbol
symbol : class Document
location: package dom
import org.w3c.dom.Document;
^
MetaBuilder.java:7: cannot resolve symbol
symbol : class OutputFormat
location: package serialize
import org.apache.xml.serialize.OutputFormat;
^
MetaBuilder.java:8: cannot resolve symbol
symbol : class Serializer
location: package serialize
import org.apache.xml.serialize.Serializer;
^
MetaBuilder.java:9: cannot resolve symbol

Hello,
the *.jar file thing is a common problem in Java. One simple solution to the problem is by saving the *.jar file in the C:\j2sdk1.4.0\jre\lib\ext\ folder. This directory is an extension to the regular java files and by doing this, java will look in this directory if you import some other files not included in the java package. This does not work if you are using JBuilder, couse JBuilder installs its own jsdk, which is uses, probably under the JBuilder folder.
TheLaw

Similar Messages

  • Where does iWeb save the site file?

    Sorry guys but this is a lazy man's question.
    Where does iWeb save the site file when you click the save button?
    Is it saved as a seperate file or is it hidden within the program?
    I not talking about publishing it.

    Yes there is...I'll refer you to Apple's own technote...
    http://docs.info.apple.com/article.html?artnum=303670
    But you probably don't want to keep it on your iDisk. The file could be huge and the back and forth network bandwidth involved may make iWeb opens and saves unbearably slow. I've always recommended one of those cheap USB flash drives to keep a potable Domain file on.
    Has this been "helpful" to you?
    ==> www.DirtDoog.com <==</a>    
    Place A Virtual Pin On Putt-Putt's GuestMap!

  • From where can I download the jar files to use JAXB 2.0?

    Hi all,
    From where can I download the jar files to use JAXB 2.0?
    ~Regards

    Does the government not let you do Internet searches where you live? My Internet search for "JAXB 2.0" returned this:
    https://jaxb.dev.java.net/
    as the first link. If you can't find it from that page it doesn't exist.

  • Where do I find the backup files when the iPhone is backed up?

    Where do I find the backup files when the iPhone is backed up?
    Thanks in advance.

    On the Mac they're at ~/Library/Application Support/MobileSync/Backup. But, there aren't files there you can directly use - the backup is actually a SQLite database.
    iPhone Backup Extractor (Google it) is a free Mac utility that can access some parts of the backup.

  • Where can I find the jar files of the application I have deployed?

    If I deploy an J2EE application successfully on NetWeaver, where are the jar files located? How to find them?

    Hi Luc,
    APEX does not create physical file that is in APEX_APPLICATION_FILES table.
    It can only store the file in BLOB format in repository.
    So when we upload file APEX stores file in BLOB column of APEX_APPLICATION_FILES table and then use when needed but no physical file.
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • Where i will get  the .jar files for JDBC connector for MSSQL Server

    Hi,
    i am trying to configure the JDBC connector for the MSSQL server. For this we need to add the .jar files for MSSQL Server. Can any body tell , where i will will get the jar files to finish this connection.
    Database version is MS SQL Server 2000
    Portal version is       Portal7.0 sp9
    Regards
    vijay

    Hi Vijay,
    If you are looking for the exact steps as to how we can configure the JDBC Connector for accessing the MS SQL Server, have a look at this document:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/b00917dc-ead4-2910-3ebb-b0a63e49ef10
    Follow the steps till page 12 of this doc.
    Bye
    Ankur
    Do reward points for helpful as well as solved answers!!

  • Where does one find the jar file for oracle.forms.[ui/pjc/...]

    Hello,
    I'd like to run some of the forms samples on technet, but I don't seem to have the jar file containing oracle.forms.[ui/pjc/...]. Does anyone know here I can find it?
    Thanks
    Eric Kamradt
    [email protected]

    Hi,
    Check out the "download" link at the following address.
    http://cougaar.org/cgi-bin/viewcvs.cgi/jars/lib/jbcl.jar?cvsroot=core
    Hope that help,
    Jack

  • Where can I find the JAR-File of the JDAPI-demo FormDumper ?

    Hi,
    I would like to compile the JDAPI-demo FormDumper
    and cannot find the right jar-file of :
    import oracle.forms.util.Getopt.*; .
    Thanks,
    Friedhold

    Ok there is no place to find the getopt file. forms 10.1.2.2.0) One needs the corrected version of the formdumper program which elimates calling it.
    btw to compile this one would need to do:
    set CLASSPATH=c:\devsuite\forms\java\frmjdapi.jar;
    javac FormDumper.java
    to run it I found this necessary:
    set CLASSPATH=c:\FormDumper.class;c:\devsuite\forms\java\frmjdapi.jar;
    java FormDumper c:\\mydirectory\\myform.fmb >myform.out
    /* modified version of the corrected version */
    /* Subject:      How To Implement The Code From 'A JDAPI Programming Example' From Forms Online Help?
         Doc ID:      Note:428083.1      Type:      HOWTO
         Last Revision Date:      23-APR-2007      Status:      PUBLISHED
    Applies to:
    Oracle Forms - Version: 9.0.5.2 to 10.1.2.2
    Information in this document applies to any platform.
    Goal
    The goal of this document is to explain how to make the sample code provided in the java class FormDumper 'A JDAPI Programming Example' from Forms OnLine help work.
    When used as it is provided in the documentation it fails, because 'import oracle.forms.util.getopt.*; not found'.
    Solution
    The sample code provided in the 'A JDAPI Programming Example' Forms OnLine help has the following line:
    import oracle.forms.util.getopt.*;
    When trying to compile the FormDumper.java the compilation fails with 'import oracle.forms.util.getopt.*; import not found'. This import fails due to the fact that util.jar library is not available with the standard Forms iDS. The solution to have the FormDumper class is to use another code in which util.jar is not used.
    Sample code to be used:
    import java.io.File;
    import java.io.PrintWriter;
    import java.io.FileWriter;
    import java.text.MessageFormat;
    import oracle.forms.jdapi.*;
    * Dumps passed forms JdapiObjects to an output stream as text.
    * Set command line options for more output, else only the
    * basic form tree structure will be dumped.
    * See printUsage for command line options.
    public class FormDumper {
         * Need this to parse the command line options
         * The string represents valid command options as detailed in the
         * Getopt class
        /* changed following b */
        /* boolean m_dumpAllProps = false;
    boolean m_dumpBoolProps = false;
    boolean m_dumpNumProps = false;
    boolean m_dumpTextProps = false;
    boolean m_dumpPropNames = false;
        boolean m_dumpAllProps = true;
        boolean m_dumpBoolProps = true;
        boolean m_dumpNumProps = true;
        boolean m_dumpTextProps = true;
        boolean m_dumpPropNames = true;
        String m_dumpPath = null;
         * Output stream, default to STDOUT */
        private PrintWriter m_out = new PrintWriter(System.out, true);
         * Use this to indent children
        private String m_indentation = "";
         * Constructor
        public FormDumper() {
         * Special constructor that does not take command line arguments.
         * @param out The output writer where to send dump information.
        public FormDumper(PrintWriter out) {
            m_out = out;
            m_dumpAllProps = true;
            m_dumpBoolProps = true;
            m_dumpNumProps = true;
            m_dumpTextProps = true;
            m_dumpPropNames = true;
         * Set the dump path.
         * @param path The file where the dumper must send the information
        public void setDumpPath(String path) {
            m_dumpPath = path;
         * Indirect output
        public void println(String s) {
            m_out.println(s);
         * Dump a form to the output stream
        public void dumpForm(String filename) throws Exception {
            FormModule fmb = FormModule.open(filename);
            System.out.println("Dumping module " + fmb.getName());
            if (m_dumpPath != null) {
                // use this form's FILE name to name the dump file
                String thisFormName = new File(filename).getName();
                thisFormName =
                        thisFormName.substring(0, (thisFormName.length() - 4));
                StringBuffer dmpFilename = new StringBuffer();
                dmpFilename.append(m_dumpPath);
                if (!dmpFilename.toString().endsWith("/")) {
                    dmpFilename.append("/");
                dmpFilename.append(thisFormName);
                m_out =
                        new PrintWriter(new FileWriter(dmpFilename.toString()), true);
            // Call the actual 'dump' method
            dump(fmb);
            // Dump the coordinate system used by the module
            m_indentation = " ";
            dump(new Coordinate(fmb));
            m_indentation = "";
            println("Dumped " + fmb.getName());
            // Close the module
            fmb.destroy();
         * Recursively dump a forms JdapiObject and its children to the output stream
        protected void dump(JdapiObject jo) {
            String className = jo.getClassName();
            // print out a context line for the JdapiObject
            // If it is a coordinate system, it does not have a name
            if (className.equals("Coordinate")) {
                println(m_indentation + "Coordinate System ");
            } else {
                println(m_indentation + className + " " + jo.getName());
            // Property classes need special treatment
            if (className.equals("PropertyClass")) {
                dumpPropertyClass((PropertyClass)jo);
            } else // Generically dump the required property types only
                if (m_dumpTextProps) {
                    dumpTextProps(jo);
                if (m_dumpBoolProps) {
                    dumpBoolProps(jo);
                if (m_dumpNumProps) {
                    dumpNumProps(jo);
                // Additionally, dump any Item list elements
                if (className.equals("Item")) {
                    dumpListElements((Item)jo);
            // use Form's metadata to get a list of all the child JdapiObjects this
            // JdapiObject can have b commented this
            JdapiMetaObject meta = JdapiMetadata.getJdapiMetaObject(jo.getClass());
            JdapiIterator props = meta.getChildObjectMetaProperties();
            JdapiMetaProperty prop = null;
            JdapiIterator iter = null;
            JdapiObject child = null;
            // loop through every possible kind of child JdapiObject this JdapiObject
            // can have b commented this
            while (props.hasNext()) {
                prop = (JdapiMetaProperty)props.next();
                // only bother if we can access these JdapiObjects
                if (!prop.allowGet()) {
                    continue;
                // get the actual values for the current child JdapiObject type,
                // e.g. get the Items on a Block
                iter = jo.getChildObjectProperty(prop.getPropertyId());
                // null is returned if there are no property values
                if (iter != null) {
                    // loop over every child value
                    while (iter.hasNext()) {
                        child = (JdapiObject)iter.next();
                        // recursively navigate to it
                        m_indentation += " ";
                        dump(child);
                        if (m_indentation.length() > 2)
                            m_indentation =
                                    m_indentation.substring(0, m_indentation.length() -
                                                            2);
         * Dump list elements
         * The JdapiObject is an item; if it is a list item,
         * dump the list elements.
         * @param item
        private void dumpListElements(Item item) {
            if (item.getItemType() == JdapiTypes.ITTY_LS_CTID) {
                if (m_dumpPropNames) {
                    println(m_indentation + "dumping list elements");
                for (int i = 1; i <= item.getListElementCount(); i++) {
                    String label = item.getElementLabel(i);
                    String value = item.getElementValue(i);
                    println(m_indentation + " " + i + ": '" + label + "' '" +
                            value + "'");
         * Dump the property class properties
        private void dumpPropertyClass(PropertyClass pc) {
            String propertyVal = null;
            // test for every single possible property
            // this is a bit hacky :)
            for (int propertyId = 1; propertyId < JdapiTypes.MAXIMUM_PTID;
                 ++propertyId) {
                if (!pc.hasProperty(propertyId)) {
                    continue; // this property is not in the set
                if (pc.hasDefaultedProperty(propertyId) && !m_dumpAllProps) {
                    continue;
                Class pt = JdapiMetaProperty.getPropertyType(propertyId);
                if (pt == Boolean.class) {
                    if (m_dumpBoolProps) {
                        propertyVal =
                                String.valueOf(pc.getBooleanProperty(propertyId));
                } else if (pt == Integer.class) {
                    if (m_dumpNumProps) {
                        propertyVal =
                                String.valueOf(pc.getIntegerProperty(propertyId));
                } else if (pt == String.class) {
                    if (m_dumpTextProps) {
                        propertyVal = pc.getStringProperty(propertyId);
                if (null != propertyVal) {
                    if (m_dumpPropNames) {
                        println(m_indentation + " " +
                                JdapiMetaProperty.getPropertyName(propertyId) +
                                " " + // changed by b
                                propertyVal);
                    } else {
                        println(m_indentation + propertyVal);
                    propertyVal = null;
            } // End loop over every property
         * Dump the source JdapiObject text properties
        private void dumpTextProps(JdapiObject jo) {
            JdapiMetaObject meta = JdapiMetadata.getJdapiMetaObject(jo.getClass());
            JdapiIterator props = meta.getStringMetaProperties();
            // for each text property
            while (props.hasNext()) {
                JdapiMetaProperty prop = (JdapiMetaProperty)props.next();
                int propertyId = prop.getPropertyId();
                String propertyVal = null;
                try {
                    propertyVal = jo.getStringProperty(propertyId);
                } catch (Exception e) {
                    println(m_indentation + "Could_not_get_property " +
                            JdapiMetaProperty.getPropertyName(propertyId));
                    continue;
                if (jo.hasProperty(propertyId) &&
                    (m_dumpAllProps || !(jo.hasDefaultedProperty(propertyId)))) {
                    if (m_dumpPropNames) {
                        println(m_indentation + " " +
                                JdapiMetaProperty.getPropertyName(propertyId) +
                                " " + propertyVal);
                    } else {
                        println(m_indentation + propertyVal);
         * Dump the source JdapiObject boolean properties
        private void dumpBoolProps(JdapiObject jo) {
            JdapiMetaObject meta = JdapiMetadata.getJdapiMetaObject(jo.getClass());
            JdapiIterator props = meta.getBooleanMetaProperties();
            // for each boolean property
            while (props.hasNext()) {
                JdapiMetaProperty prop = (JdapiMetaProperty)props.next();
                int propertyId = prop.getPropertyId();
                boolean propertyVal = false;
                try {
                    propertyVal = jo.getBooleanProperty(propertyId);
                } catch (Exception e) {
                    println(m_indentation + "Could_not_get_property " +
                            JdapiMetaProperty.getPropertyName(propertyId));
                    continue;
                if (jo.hasProperty(propertyId) && (m_dumpAllProps)) {
                    if (m_dumpPropNames) {
                        println(m_indentation + " " +
                                JdapiMetaProperty.getPropertyName(propertyId) +
                                " " + propertyVal);
                    } else {
                        println(m_indentation + propertyVal);
         * Dump the source JdapiObject numeric properties
        private void dumpNumProps(JdapiObject jo) {
            JdapiMetaObject meta = JdapiMetadata.getJdapiMetaObject(jo.getClass());
            JdapiIterator props = meta.getIntegerMetaProperties();
            // for each numeric property
            while (props.hasNext()) {
                JdapiMetaProperty prop = (JdapiMetaProperty)props.next();
                int propertyId = prop.getPropertyId();
                int propertyVal = 0;
                try {
                    propertyVal = jo.getIntegerProperty(propertyId);
                } catch (Exception e) {
                    println(m_indentation + "Could_not_get_property " +
                            JdapiMetaProperty.getPropertyName(propertyId));
                    continue;
                if (jo.hasProperty(propertyId) &&
                    (m_dumpAllProps || !(jo.hasDefaultedProperty(propertyId)))) {
                    if (m_dumpPropNames) {
                        println(m_indentation + " " +
                                JdapiMetaProperty.getPropertyName(propertyId) +
                                " " + propertyVal); //changed by b
                    } else {
                        println(m_indentation + propertyVal);
         * Output usage info to STDOUT
        public void printUsage() {
            System.out.println("");
            System.out.println("Jdapi Form Dumper Utility");
            System.out.println("Valid arguments:");
            System.out.println("-a : dump all properties, not just overridden ones");
            System.out.println("-b : dump boolean properties");
            System.out.println("-n : dump numeric properties");
            System.out.println("-t : dump text properties");
            System.out.println("-p : dump property names, not just values");
            System.out.println("-o : file path to output to");
         * Main method
        public static void main(String[] args) throws Exception {
            FormDumper dmp = new FormDumper();
            for (int i = 0; i < args.length; i++) {
                dmp.dumpForm(args);
    System.out.println("");
    System.out.println("Dumps complete");
    System.out.println("");
    Message was edited by:
    Jan Carlin

  • Where should I save the playlists file

    In what specific file on my computer should i save my iTunes personal playlists files

    If you mean Playlists created in your iTunes Library, iTunes does all that for you. You don't have to "save" them anywhere. As you edit them, iTunes "saves" them and they should be in the same place when you next open iTunes.

  • Where do I put the .jar file for the database connection?

    I am trying to connect to an Oracle 11g database. I see under the coldfusion settings summary that the java version is 1.7.0_55. So I downloaded the ojdbc7.jar file from Abode.com. Now the question is where do I put it so that coldfusion can access it?
    Of course I need to set up the database connection (which I still don't have the connection string for), but I still need to know where to put the ojdbc.jar file.
    Thanks.

    jasonwryan wrote:What does the man page say?
           The  program  has builtin defaults and temperature thresholds but users
           can   specify   their   own    settings    in    configuration    files
           /etc/default/i8kmon  and  ~/.i8kmon.   The daemon defines 4 states with
           different fan speeds ({0 0}, {1 0}, {1 1}, {2 2}) and  for  each  state
           are  defined  the temperature thresholds which cause the switching to a
           higher or lower  state.  Furthermore  each  state  can  have  different
           thresholds  for operation on ac power or battery.  For example the fol‐
           lowing configuration:
    I've put the following file in /etc/default/i8kmon:
    # Run as daemon, override with --daemon option
    set config(daemon) 0
    # Automatic fan control, override with --auto option
    set config(auto) 1
    # Report status on stdout, override with --verbose option
    set config(verbose) 1
    # Status check timeout (seconds), override with --timeout option
    set config(timeout) 1
    # Temperature thresholds: {fan_speeds low_ac high_ac low_batt high_batt}
    set config(0) {{-1 0} -1 50 -1 50
    set config(1) {{-1 1} 50 70 50 70}
    set config(3) {{-1 2} 70 128 70 128}
    But it doesn't seem to do anything. I'm running a Dell Inspiron 3521 with no dedicated GPU, so it only has one fan. I was somehow able to get i8kmon to work in Ubuntu by putting this config in /etc/i8kmon, but can't get it to work in Arch. Putting it in /etc/i8kmon and /etc/default/i8kmon doesn't do anything.

  • Where can I find the jar file for File Transfer Service API

    Hi all ,
       I wish to use the File Transfer Service API in my application . Could anyone please tell me as to where I could find these class files ??
    <b>import com.sap.engine.services.file.RemoteFile;
    import com.sap.engine.services.file.FileTransfer;
    import com.sap.engine.services.deploy.DeployService;
    import com.sap.engine.services.deploy.container.WarningException;</b>
    Thanks in advance ,
         Tahzeeb

    Hi,
    you can find these jar files in the installation directory of NWDS:
    ...SAPJDTeclipsepluginscom.sap.tc.apcompSAP-JEEDCssap.comcom.sap.engine.deploy.online_compgendefaultpublicdefaultlibjavasapj2eenginedeploy.jar
    ...SAPJDTeclipsepluginscom.sap.tc.apcompSAP-JEEDCssap.comfile_compgendefaultpublicdefaultlibjavafile.jar
    Regards
    Sebastian

  • HT201361 Can I change the directory where screen capture saves the png files?

    hi:
    screen capture questions:
    1) Can I change the directory/place where the macbook (maverick osx) screen capture it putting the png/images?
    Currently it is going to my desktop and I would like it in another spot.
    2) Can I change the default name to include a number e.g so each screen capture increments by 1 rather than telling sequence by time?
    thankyou

    If you use the Grab.app in Applications/Utilities, you can name the file whatever you want and place it whereever you want. Filenames are not automatically incremented, however.
    The disadvantage is that it saves the capture only in .tiff format, not .png
    But double-clicking on the saved .tiff file will open it in Preview.app, and you can then Option+Save As in .png format in that same folder, or elsewhere.
    Grab.app has some other nice features too, such as selecting a cursor shape to be displayed (or none), and doing a timed screen capture.
    And of course there are other apps...
    http://mac.appstorm.net/roundups/graphics-roundups/7-awesome-screen-capture-apps -made-for-the-mac/

  • Where can i find the JAR files related to JSF

    Hey folks
    Where can i find the JSF API JAR, so that i can include in my WEB-INF\lib dir
    plz help me

    You can download the reference implementation from http://java.sun.com/j2ee/javaserverfaces/download.html. Once you get that JSF API jar should be under "lib" directory of the distribution.
    -Jayashri

  • Where can I find the jar files

    Hi
    I am new to this forum. Could some body help me getting these following jar files ?
    mdm-admin.jar, mdm-common.jar, mdm-core.jar, mdm-protocol.jar
    Thanks
    --shaw

    They are all part of the Java API download found here...
    http://service.sap.com/swdc -> Download -> Support Packages and Patches -> Entry by Application Group -> SAP NetWeaver -> SAP MDM -> SAP MDM 5.5 -> MDM Java API 5.5 -> #OS independent
    Hope this helps,
    Richard

  • Where can I find the jar file for WDProtocolAdapter

    I tried to use WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter() method in the application. Could anyone told me which jar file should i put into the Java Build Path? Thanks.

    Find the jar under WD_runtime

Maybe you are looking for