Import javax.mail package does not exists

Hi,
when i tried to compile the source code for email using jdk1.3.1, it compiled fine. but when i tried to compile using jdk1.4.., it had the following errors such as
import javax.mail package does not exists,
import javax.mail.internet package does not exists
package javax.activation does not exist
Is it because of the jdk version problem???
Pls help me

I have the same problem with javax.ejb
Now i've downloaded and installed the j2ee and set my classpath to the j2ee.jar. I've had to make a new path cause i'm running XP.
This doesn't work.
to compile it in Jcreator or JBuilder I can make it work by adding this package (j2ee.jar) in the project settings - required libraries.
But I have to do this for every project again and again.
I can make it work but i thougt the classpath would be enough ??
Bassegio

Similar Messages

  • Package Javax.mail.* does not exists

    Hi All,
    I am trying to create an UDF and getting the following error.
    Package javax.mail.* does not exists.
    I am using PO 7.4 its a java only version of PI.
    Kindly suggest...
    Regards,
    Nitin...

    Hi Nitin
    As you are using Java mail API, you need to import the external Jar file for it.
    Refer to Activities Section in below link.
    User-Defined Functions - SAP XI: Design and Configuration Time - SAP Library
    Regards
    VJ

  • Import statement reports 'package does not exist'

    I am seeing another odd error. I'm working on learning how to read and write to text files, and I have 2 errors reported, but one is obviously caused by the other. My package is labeled as such (copy>paste of package line):
    package michaelchristopherp4db;
    and the import line is this (copy>paste again):
    import michaelchristopherp4db.ProductRecord;
    However, Netbeans looks at the import and flags it red, saying package michaelchristopherp4db does not exist. this caused my line:
    ProductRecord product = new ProductRecord();
    to also be flagged in red as it cannot find the ProductRecord class. However, it has no problems with any of the product.get* method calls. Thank you in advance for any ideas or input.
    here is the full code of the file reporting the errors.
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package michaelchristopherp4db2;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.lang.IllegalStateException;
    import java.lang.SecurityException;
    import java.util.NoSuchElementException;
    import java.util.Formatter;
    import java.util.FormatterClosedException;
    import java.util.Scanner;
    import michaelchristopherp4db.ProductRecord;
    /*  @author info
    public class readTxt
        private Scanner txtfile;
        private Formatter wishList;
        private Formatter giftIdeas;
        private Formatter priceError;
        //let user open file
        public void openFile()
        {//open method openFile
            try
            {//open try block
                priceError = new Formatter("priceerror.txt");//open object for items with invalid prices
                giftIdeas = new Formatter("giftideas.txt");//open object for gift ideas
                wishList = new Formatter("wishlist.txt");//open object for wish list
                txtfile = new Scanner(new File("products.txt"));//tell the compiler which file to use for input
            }//close try block
            catch (FileNotFoundException fileNotFoundException)
            {//open file not found catch block
                System.err.println("Error opening or creating file.");
                System.exit(1);
            }//close file not found catch block
            catch ( SecurityException securityException )
            {//start catch for SecurityException
                System.err.println("File Write access is denied.");
                System.exit(1);//END PROGRAM
            }//end catch
        }//close openFile method
        public void readProducts()
        {//open readProducts method
            ProductRecord product = new ProductRecord();//create object to hold read data
            //print headers for for output columns
            System.out.printf("%-10s%-12s%10s\n", "Product ID", "Product Name", "Price");
            try //read records from the file
            {//open try block
                while (txtfile.hasNext())
                {//open while
                    product.setproductID(txtfile.nextInt());//get productID
                    product.setproductName(txtfile.next());//get product name
                    product.setproductPrice(txtfile.nextDouble());//get product price
                    //print collected product details
                    System.out.printf("%-10d%-12s%10.2f\n", product.getproductID(),
                            product.getproductName(), product.getproductPrice());
                    if (product.getproductPrice()>50.0)
                    {//open if to store items $50 or more to wishlist.txt
                        wishList.format("%-10d%-12s%10.2f\n", product.getproductID(),
                                product.getproductName(), product.getproductPrice());
                    }//close if $50 or greater
                    else if (product.getproductPrice()<0.0)
                    {//open if less than zero
                        priceError.format("%-10d%-12s%10.2f\n", product.getproductID(),
                                product.getproductName(), product.getproductPrice());
                    }//close if less than zero
                    else
                    {//open else for gift ideas from $0 to $50
                        giftIdeas.format("%-10d%-12s%10.2f\n", product.getproductID(),
                                product.getproductName(), product.getproductPrice());
                    }//close else for gift ideas
                }//close while
            }//close try block
            catch (NoSuchElementException elementException)
            {//open no such element exception catch
                System.err.println("File improperly formed.");
                txtfile.close();//close text file
                System.exit(1);
            }//close no such element exception catch
            catch (IllegalStateException stateException)
            {//open illegal state exception catch
                System.err.println("Error reading from file.");
                System.exit(1);
            }//close illegal state exception catch
        }//close readProducts method
        //close file and end application
        public void closeFile()
        {//open closeFile method
            if (txtfile != null)
                txtfile.close();//close file
        }//close closeFile method
    }//end application readTxtAnd the code at the top of the class I am trying to import (so you can see the package I am trying to import)
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package michaelchristopherp4db;
    *  @author
    public class ProductRecord {

    I am embarrassed to admit this, but I am completely lost on the last question.. I have no clue wether it is a convenience for development or a dependancy, as I have not learned those terms or distinctions yet. For now I copied the ProductRecord file into my new project folder and renamed it's project line to match the new project name. However, while that eliminated the package does not exist error, and netbeans reports no errors now, when I run the program it does not write the new files. I have made some modifications to the code tryiing to get it to write properly but so far no luck in makingit work. Here is the current version of the file not running right.
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package michaelchristopherp4db2;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.lang.IllegalStateException;
    import java.lang.SecurityException;
    import java.util.NoSuchElementException;
    import java.util.Formatter;
    import java.util.FormatterClosedException;
    import java.util.Scanner;
    /*  @author
    *   Michael Christopher
    *   IT215-1004D-03
    *   December 30, 2010
    *   Phase 4 DB 2
    public class readTxt
        private Scanner txtfile;
        private Formatter wishList;
        private Formatter giftIdeas;
        private Formatter priceError;
        //let user open file
        public void openFile()
        {//open method openFile
            try
            {//open try block
                priceError = new Formatter("priceerror.txt");//open object for items with invalid prices
                giftIdeas = new Formatter("giftideas.txt");//open object for gift ideas
                wishList = new Formatter("wishlist.txt");//open object for wish list
                txtfile = new Scanner(new File("products.txt"));//tell the compiler which file to use for input
            }//close try block
            catch (FileNotFoundException fileNotFoundException)
            {//open file not found catch block
                System.err.println("Error opening or creating file.");
                System.exit(1);
            }//close file not found catch block
            catch ( SecurityException securityException )
            {//start catch for SecurityException
                System.err.println("File Write access is denied.");
                System.exit(1);//END PROGRAM
            }//end catch
        }//close openFile method
        public void readProducts()
        {//open readProducts method
            ProductRecord product = new ProductRecord();//create object to hold read data
            //print headers for for output columns
            wishList.format("%-10s%-12s%10s\n", "Product ID", "Product Name", "Price");
            giftIdeas.format("%-10s%-12s%10s\n", "Product ID", "Product Name", "Price");
            priceError.format("%-10s%-12s%10s\n", "Product ID", "Product Name", "Price");
            try //read records from the file
            {//open try block
                while (txtfile.hasNext())
                {//open while
                    product.setproductID(txtfile.nextInt());//get productID
                    product.setproductName(txtfile.next());//get product name
                    product.setproductPrice(txtfile.nextDouble());//get product price
                    if (product.getproductPrice()>50.0)
                    {//open if to store items $50 or more to wishlist.txt
                        wishList.format("%-10d%-12s%10.2f\n", product.getproductID(),
                                product.getproductName(), product.getproductPrice());
                    }//close if $50 or greater
                    else if (product.getproductPrice()<0.0)
                    {//open if less than zero
                        priceError.format("%-10d%-12s%10.2f\n", product.getproductID(),
                                product.getproductName(), product.getproductPrice());
                    }//close if less than zero
                    else
                    {//open else for gift ideas from $0 to $50
                        giftIdeas.format("%-10d%-12s%10.2f\n", product.getproductID(),
                                product.getproductName(), product.getproductPrice());
                    }//close else for gift ideas
                }//close while
            }//close try block
            catch (NoSuchElementException elementException)
            {//open no such element exception catch
                System.err.println("File improperly formed.");
                txtfile.close();//close text file
                System.exit(1);
            }//close no such element exception catch
            catch (IllegalStateException stateException)
            {//open illegal state exception catch
                System.err.println("Error reading from file.");
                System.exit(1);
            }//close illegal state exception catch
        }//close readProducts method
        //close file and end application
        public void closeFile()
        {//open closeFile method
            if (txtfile != null)
                txtfile.close();//close file
        }//close closeFile method
    }//end application readTxtwith the System.out.printf lines in the ReadProducts method it would properly print to screen all of the elements in the products.txt file, it is not outputting to the other .txt files at all. I will be exploring the closeFile method in case the error is due to not closing all of the files in that method, but does anyone else see what might cause it not to output the data to the appropriate .txt files?

  • Import javax.servlet.* gives error "package does not exist"

    I am working through Monica Pawlan's book "Essentials of Java PL".
    My PC runs Windows2000 prof. I have downloaded and installed j2sdk-1_3_1_01-win.exe in c:\jdk1.3.1_01
    I have downloaded and installed tomcat4.0 (jakarta-tomcat-4.0.zip) into c:\jakarta-tomcat-4.0
    CATALINA_HOME is set to c:\jakarta-tomcat-4.0 and CLASSPATH is set to .;C:\jakarta-tomcat-4.0\common\lib\servlet.jar
    I can compile an applet starting:
    import java.awt.Color;
    import java.awt.BorderLayout;
    import java.awt.event.*;
    import javax.swing.*;
    //Class Declaration
    class SwingUI extends JFrame implements ActionListener { ... }
    but trying to compile my servlet starting:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class ExampServlet extends HttpServlet { ... }
    gives me the error (import javax.servlet.*) "package does not exist".
    Any pointers on this immediate problem? and is my book out of date?
    Many thanks,
    James Towell

    You downloaded the Java 2 SDK Standard Edition, but you need to also download the Enterprise Edition if you want to write programs that use enterprise features.

  • Package javax.xml.parsers does not exist

    When I compile the sample program for xml, DOMEcho.java, or any other xml java program, I get errors on the import statements.
    For all the import statements within java.xml.* I get an error message such as: package javax.xml.parsers does not exist.
    I have my path and classpath variables set as follows.
    REM Java initialization
    SET PATH=c:\Documents and settings\User\jwsdp-1_0_01\bin;c:\j2sdkee1.3.1\bin;c:\jdk1.3.1_01\bin;%PATH%
    SET JAVA_HOME=c:\j2sdkee1.3.1_01
    SET JAVA_XML_PACK_HOME=c:\java_xml
    SET JAXM_HOME=c:\java_xml\java_xml_pack-summer-02_01\jaxm-1.1_01
    SET JAXP_HOME=c:\java_xml\java_xml_pack-summer-02_01\jaxp-1.2_01
    SET JAXR_HOME=c:\java_xml\java_xml_pack-summer-02_01\jaxr-1.0_02
    SET JAXRPC_HOME=c:\java_xml\java_xml_pack-summer-02_01\jaxrpc-1.0_01
    SET CLASSPATH=c:\Documents and settings\User\jwsdp-1_0_01\bin;c:\Documents and settings\User\jwsdp-1_0_01
    SET CLASSPATH=%CLASSPATH%;c:\jdk1.3.1_01\bin;c:\jdk1.3.1;
    SET CLASSPATH=%CLASSPATH%;c:\java_xml\java_xml_pack-summer-02_01\jaxm-1.1_01;
    SET CLASSPATH=%CLASSPATH%;c:\java_xml\java_xml_pack-summer-02_01\jaxp-1.2_01;
    SET CLASSPATH=%CLASSPATH%;c:\java_xml\java_xml_pack-summer-02_01\jaxr-1.0_02;
    SET CLASSPATH=%CLASSPATH%;c:\java_xml\java_xml_pack-summer-02_01\jaxrpc-1.0_01
    Any ideas?

    Now that the first program compiled I tried another sample program:
    StandAlone.java and
    got the same errors.
    * $Id: StandAlone.java,v 1.10 2002/04/06 00:47:31 mode Exp $
    * $Revision: 1.10 $
    * $Date: 2002/04/06 00:47:31 $
    * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
    * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
    This program starts with...
    import java.io.*;
    import javax.xml.soap.*;
    import java.net.URL;
    import javax.mail.internet.*;
    import javax.xml.transform.*;
    import javax.xml.transform.stream.*;
    import org.dom4j.*;
    * A StandAlone JAXM Client.
    public class StandAlone {

  • Package javax.xml.soap does not exist

    I have created a UDDI publish client where i am trying to publish a service.
    But when i try to compile my code it gives me the following error:
    package javax.xml.soap does not exist
    I know i am missing some jar in my classpath. But i don't know which one. I have tried soap.jar, jaxm-api.jar, jaxm-runtime.jar, but of no success.
    Can anybody tell me which jar am i missing.
    Regards
    Rishi

    I tried "Request.java" (get it neer sun tutorial pages) inside windows environnement, and i got the same error !!!
    Request.java:4: package javax.xml.soap does not exist
    import javax.xml.soap.*;
    ^
    1 error
    (javac -classpath .;%JAVA_HOME%\lib;%JWSDP_HOME%\common\lib\mail.jar;%JWSDP_HOME%\common\lib\activation.jar;%JWSDP_HOME%\common\lib\jaxm-api.jar Request.java )
    ... But when i used the same command under linux it works well !
    (try this sample Request.java to see difference...)
    // Request.java
    // (c) Sun , 2002
    import java.io.*;
    import java.util.*;
    import javax.xml.soap.*;
    import javax.xml.messaging.*;
    public class Request {
         public static void main(String[] args)

  • Package javax.servlet.http does not exist

    Hello All,
    A few problems here
    1. My classpath doesnt seem to work.:
    .;"C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\servlet-api.jar"
    2. As a result, i get many errors in my simple code, but there are still a few that are not related to javac not recognizing the servlet api.
    I also tried setting the classpath at the command line (event hough its temporary)
    set classpath="C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\servlet-api.jar"
    but the servlet package is still not recognized
    I have 2 classes, one to read the database connection details from a file and another class, my servlet.
    Servlet Code:
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class CustomQuery extends HttpServlet
         public void init() throws ServletException
              EstablishDBConnetion.establishConnection();
         public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
              response.setContentType("text/html");
              PrintWriter printer = new response.getWriter();
              String title = "Result from custom query";
              Statement stmt = EstablishDBConnetion.establishConnection.con.createStatement();
              ResultSet rs = stmt.executeQuery("select customerID from customer");
              while(rs.next())
                   printer.println("<html> <head><title>" + title + "</title><br><br><table border=\"0\"> <tr><td>" + rs.getString(1));
              rs.close();
              stmt.close();
              EstablishDBConnetion.establishConnection.con.close();
    Database connection code
    import java.io.*;
    import java.sql.*;
    import java.util.StringTokenizer;
    class EstablishDBConnetion
         public static void establishConnection()
              try
                   String dbDriver = "";
                   String dbUrl = "";
                   String dbName = "";
                   String dbUser = "";
                   String dbPassword = "";
                   String newLine = "";
                   BufferedReader fileRead = new BufferedReader(new FileReader("connection.txt"));
                   boolean readerStatus = fileRead.ready();
                   newLine = fileRead.readLine();
                   while (readerStatus)
                        StringTokenizer st = new StringTokenizer(newLine, ",");
                        while (st.hasMoreTokens())
                            dbDriver   = st.nextToken();
                           dbUrl      = st.nextToken();
                           dbName     = st.nextToken();
                            dbUser     = st.nextToken();
                            dbPassword = st.nextToken();
                        readerStatus = fileRead.ready();
                   Class.forName(dbDriver);
                   String url = dbUrl + dbName;
                   System.out.print(url);
                   Connection con = DriverManager.getConnection(url, dbUser, dbPassword);
              catch (IOException e)
                   System.out.println("IO exception in establishConnection()");
                   e.printStackTrace();
              catch (java.lang.Exception ex)
                   System.out.println("General exception in establishConnection()");
                   ex.printStackTrace();
         public static void main(String[] args)
              //EstablishDBConnetion edbc = new EstablishDBConnetion();
              establishConnection();
    }also, full error list below
    CustomQuery.java:4: package javax.servlet does not exist
    import javax.servlet.*;
    ^
    CustomQuery.java:5: package javax.servlet.http does not exist
    import javax.servlet.http.*;
    ^
    CustomQuery.java:7: cannot find symbol
    symbol: class HttpServlet
    public class CustomQuery extends HttpServlet
    ^
    CustomQuery.java:10: cannot find symbol
    symbol : class ServletException
    location: class CustomQuery
    public void init() throws ServletException
    ^
    CustomQuery.java:16: cannot find symbol
    symbol : class HttpServletRequest
    location: class CustomQuery
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    ^
    CustomQuery.java:16: cannot find symbol
    symbol : class HttpServletResponse
    location: class CustomQuery
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    ^
    CustomQuery.java:16: cannot find symbol
    symbol : class ServletException
    location: class CustomQuery
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    ^
    CustomQuery.java:19: package response does not exist
    PrintWriter printer = new response.getWriter();
    ^
    CustomQuery.java:24: cannot find symbol
    symbol : variable establishConnection
    location: class EstablishDBConnetion
    Statement stmt = EstablishDBConnetion.establishConnection.con.createStatement();
    ^
    CustomQuery.java:39: cannot find symbol
    symbol : variable establishConnection
    location: class EstablishDBConnetion
    EstablishDBConnetion.establishConnection.con.close();
    ^
    10 errors
    I appreciate your help
    Message was edited by:
    paulchwd
    null
    Message was edited by:
    paulchwd

    The library is in tomcat/common/lib, not in tomcat/lib.

  • "package javax.xml .rpc does not exist" error when compiling client jar

    When I try to compile the web services client jar with either the clientgen or the <client> element of servicegen I get the following error "package weblogic.webservice.core.rpc does not exist"
    Here is the error output
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService_Impl.java:10: package weblogic.webservice.core.rpc does not exist
    [servicegen] extends weblogic.webservice.core.rpc.ServiceImpl
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:9: package javax.xml.rpc does not exist
    [servicegen] public interface OSHService extends javax.xml.rpc.Service{
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:11: package weblogic.webservice.context does not exist
    [servicegen] weblogic.webservice.context.WebServiceContext context();
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:13: package weblogic.webservice.context does not exist
    [servicegen] weblogic.webservice.context.WebServiceContext joinContext()
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:14: package weblogic.webservice.context does not exist
    [servicegen] throws weblogic.webservice.context.ContextNotFoundException;
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:16: package javax.xml.rpc does not exist
    [servicegen] com.onexchange.tools.osh.client.OSHServicePort getOSHServicePort() throws javax.xml.rpc.ServiceException;
    [servicegen]
    ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_clie
    nt.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:18: package javax.xml.rpc does not exist
    [servicegen] com.onexchange.tools.osh.client.OSHServicePort getOSHServicePort(String username, String password) throws javax.xml.rpc.ServiceException;
    [servicegen]
    ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:9: package weblogic.webservice.core.rpc does not exist
    [servicegen] extends weblogic.webservice.core.rpc.StubImpl
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_clie
    nt.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:12: package weblogic.webservice does not exist
    [servicegen] public OSHServicePort_Stub( weblogic.webservice.Port _port ){
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService_Impl.java:9: com.onexchange.tools.osh.client.OSHService_Impl should be declared abstract; it does not define context() in com.onexchange.tools.osh.client.OSHService_Impl
    [servicegen] public class OSHService_Impl
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_clie
    nt.jar-610368643\com\onexchange\tools\osh\client\OSHService_Impl.java:40: cannot
    resolve symbol
    [servicegen] symbol : method _getPort (java.lang.String)
    [servicegen] location: class com.onexchange.tools.osh.client.OSHService_Impl
    [servicegen] new com.onexchange.tools.osh.client.OSHServicePort_Stub( _g
    etPort( "OSHServicePort" ) );
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService_Impl.java:49: cannot
    resolve symbol
    [servicegen] symbol : method _setUser (java.lang.String,java.lang.String,com.on
    exchange.tools.osh.client.OSHServicePort)
    [servicegen] location: class com.onexchange.tools.osh.client.OSHService_Impl
    [servicegen] _setUser( username, password, getOSHServicePort() );
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:24: ca
    nnot resolve symbol
    [servicegen] symbol : method _wrap (java.lang.String)
    [servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
    [servicegen] args.put( "string", wrap( string ) );
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:25: ca
    nnot resolve symbol
    [servicegen] symbol : method _wrap (java.lang.String)
    [servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
    [servicegen] args.put( "string0", wrap( string0 ) );
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:27: ca
    nnot resolve symbol
    [servicegen] symbol : method _invoke (java.lang.String,java.util.HashMap)
    [servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
    [servicegen] java.lang.Object result = invoke( "login", _args );
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:29: pa
    ckage javax.xml.rpc does not exist
    [servicegen] } catch (javax.xml.rpc.JAXRPCException e) {
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:31: pa
    ckage javax.xml.rpc.soap does not exist
    [servicegen] } catch (javax.xml.rpc.soap.SOAPFaultException e) {
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:44: ca
    nnot resolve symbol
    [servicegen] symbol : method _wrap (java.lang.String)
    [servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
    [servicegen] args.put( "string", wrap( string ) );
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:45: ca
    nnot resolve symbol
    [servicegen] symbol : method _wrap (java.lang.String)
    [servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
    [servicegen] args.put( "string0", wrap( string0 ) );
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:47: ca
    nnot resolve symbol
    [servicegen] symbol : method _invoke (java.lang.String,java.util.HashMap)
    [servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
    [servicegen] java.lang.Object result = invoke( "oshRequest", _args );
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:49: pa
    ckage javax.xml.rpc does not exist
    [servicegen] } catch (javax.xml.rpc.JAXRPCException e) {
    [servicegen] ^
    [servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:51: pa
    ckage javax.xml.rpc.soap does not exist
    [servicegen] } catch (javax.xml.rpc.soap.SOAPFaultException e) {
    [servicegen] ^
    [servicegen] 22 errors
    [servicegen] java.io.IOException: Compiler failed executable.exec
    [servicegen] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(Comp
    ilerInvoker.java:470)
    [servicegen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvok
    er.java:329)
    [servicegen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvok
    er.java:337)
    [servicegen] at weblogic.webservice.tools.build.internal.CompilerHelper.compi
    leFiles(CompilerHelper.java:80)
    [servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.compil
    eStubs(ClientGenImpl.java:608)
    [servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.genera
    teStub(ClientGenImpl.java:553)
    [servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClie
    ntGenFromEAR(ClientGenImpl.java:502)
    [servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(Cl
    ientGenImpl.java:348)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.g
    enerateClient(ServiceGenTask.java:597)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.e
    xecute(ServiceGenTask.java:195)
    [servicegen] at org.apache.tools.ant.Task.perform(Task.java:341)
    [servicegen] at org.apache.tools.ant.Target.execute(Target.java:309)
    [servicegen] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [servicegen] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [servicegen] at org.apache.tools.ant.Project.executeTargets(Project.java:1255
    [servicegen] at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [servicegen] at org.apache.tools.ant.Main.start(Main.java:196)
    [servicegen] at org.apache.tools.ant.Main.main(Main.java:235)
    BUILD FAILED
    Below is the -debug from the ant task immediately following:
    <target name="web-service" depends="osh_bean_jar">
    <servicegen
    destEar="${build}/osh_service"
    warName="osh_service.war"
    contextURI="web_services" >
    <service
    ejbJar="${dist}/osh_bean.jar"     
    targetNamespace="http://www.bea.com/webservices/basic/statelesSession"
    serviceName="OSHService"
    serviceURI="/OSHService"
    generateTypes="True"
    expandMethods="True"
    style="rpc">
    <client
    packageName="com.onexchange.tools.osh.client" />
    </service>
    </servicegen>
    </target>
    Apache Ant version 1.5.3 compiled on August 13 2003
    Buildfile: \onexv3.x\src\antfile\osh.xml
    Detected Java version: 1.4 in: C:\bea\JDK141~1\jre
    Detected OS: Windows 2000
    +User task: propertyfile     org.apache.tools.ant.taskdefs.optional.PropertyFile
    +User task: vsscheckin     org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKIN
    +User task: sql     org.apache.tools.ant.taskdefs.SQLExec
    +User task: cvspass     org.apache.tools.ant.taskdefs.CVSPass
    +User task: p4reopen     org.apache.tools.ant.taskdefs.optional.perforce.P4Reopen
    +User task: csc     org.apache.tools.ant.taskdefs.optional.dotnet.CSharp
    +User task: dirname     org.apache.tools.ant.taskdefs.Dirname
    +User task: wlrun     org.apache.tools.ant.taskdefs.optional.ejb.WLRun
    +User task: servicegen     weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask
    +User task: p4label     org.apache.tools.ant.taskdefs.optional.perforce.P4Label
    +User task: p4revert     org.apache.tools.ant.taskdefs.optional.perforce.P4Revert
    +User task: replaceregexp     org.apache.tools.ant.taskdefs.optional.ReplaceRegExp
    +User task: ddcreate     weblogic.ant.taskdefs.build.DDCreateTask
    +User task: get     org.apache.tools.ant.taskdefs.Get
    +User task: jjtree     org.apache.tools.ant.taskdefs.optional.javacc.JJTree
    +User task: sleep     org.apache.tools.ant.taskdefs.Sleep
    +User task: jarlib-display     org.apache.tools.ant.taskdefs.optional.extension.JarLibDisplayTask
    +User task: dependset     org.apache.tools.ant.taskdefs.DependSet
    +User task: zip     org.apache.tools.ant.taskdefs.Zip
    +User task: patch     org.apache.tools.ant.taskdefs.Patch
    +User task: jspc     weblogic.ant.taskdefs.j2ee.Jspc
    +User task: style     org.apache.tools.ant.taskdefs.XSLTProcess
    +User task: test     org.apache.tools.ant.taskdefs.optional.Test
    +User task: tstamp     org.apache.tools.ant.taskdefs.Tstamp
    +User task: unwar     org.apache.tools.ant.taskdefs.Expand
    +User task: vsshistory     org.apache.tools.ant.taskdefs.optional.vss.MSVSSHISTORY
    +User task: icontract     org.apache.tools.ant.taskdefs.optional.IContract
    +User task: cvschangelog     org.apache.tools.ant.taskdefs.cvslib.ChangeLogTask
    +User task: p4submit     org.apache.tools.ant.taskdefs.optional.perforce.P4Submit
    +User task: ccmcheckin     org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckin
    +User task: p4change     org.apache.tools.ant.taskdefs.optional.perforce.P4Change
    +User task: bzip2     org.apache.tools.ant.taskdefs.BZip2
    +User task: wspackage     weblogic.ant.taskdefs.webservices.wspackage.WSPackage
    +User task: p4delete     org.apache.tools.ant.taskdefs.optional.perforce.P4Delete
    +User task: vssadd     org.apache.tools.ant.taskdefs.optional.vss.MSVSSADD
    +User task: javadoc     org.apache.tools.ant.taskdefs.Javadoc
    +User task: translate     org.apache.tools.ant.taskdefs.optional.i18n.Translate
    +User task: signjar     org.apache.tools.ant.taskdefs.SignJar
    +User task: vajload     org.apache.tools.ant.taskdefs.optional.ide.VAJLoadProjects
    +User task: jarlib-available     org.apache.tools.ant.taskdefs.optional.extension.JarLibAvailableTask
    +User task: wsdd-merge     weblogic.ant.taskdefs.webservices.autotype.DDMerge
    +User task: WsdlToDotnet     org.apache.tools.ant.taskdefs.optional.dotnet.WsdlToDotnet
    +User task: buildnumber     org.apache.tools.ant.taskdefs.BuildNumber
    +User task: jpcovmerge     org.apache.tools.ant.taskdefs.optional.sitraka.CovMerge
    +User task: compliance     weblogic.ant.taskdefs.webservices.compliance.Compliance
    +User task: ejbjar     org.apache.tools.ant.taskdefs.optional.ejb.EjbJar
    Could not load class (weblogic.ant.taskdefs.perforce.P4Changes) for task p4changes
    +User task: war     org.apache.tools.ant.taskdefs.War
    Could not load a dependent class (com/starbase/starteam/Item) for task stlist
    +User task: rename     org.apache.tools.ant.taskdefs.Rename
    +User task: sequential     org.apache.tools.ant.taskdefs.Sequential
    +User task: serverdeploy     org.apache.tools.ant.taskdefs.optional.j2ee.ServerDeploy
    +User task: wsdlgen     weblogic.ant.taskdefs.webservices.wsdlgen.WSDLGen
    +User task: property     org.apache.tools.ant.taskdefs.Property
    +User task: move     org.apache.tools.ant.taskdefs.Move
    +User task: copydir     org.apache.tools.ant.taskdefs.Copydir
    +User task: cccheckin     org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckin
    +User task: wljspc     org.apache.tools.ant.taskdefs.optional.jsp.WLJspc
    +User task: fixcrlf     org.apache.tools.ant.taskdefs.FixCRLF
    Could not load a dependent class (com/oroinc/net/SocketClient) for task telnet
    +User task: sosget     org.apache.tools.ant.taskdefs.optional.sos.SOSGet
    Could not load class (weblogic.ant.taskdefs.perforce.P4VersionString) for task p4versionstring
    +User task: pathconvert     org.apache.tools.ant.taskdefs.PathConvert
    +User task: autotype     weblogic.ant.taskdefs.webservices.javaschema.JavaSchema
    +User task: record     org.apache.tools.ant.taskdefs.Recorder
    +User task: p4sync     org.apache.tools.ant.taskdefs.optional.perforce.P4Sync
    +User task: exec     org.apache.tools.ant.taskdefs.ExecTask
    +User task: p4edit     org.apache.tools.ant.taskdefs.optional.perforce.P4Edit
    +User task: manifest     org.apache.tools.ant.taskdefs.ManifestTask
    +User task: maudit     org.apache.tools.ant.taskdefs.optional.metamata.MAudit
    +User task: antlr     org.apache.tools.ant.taskdefs.optional.ANTLR
    +User task: netrexxc     org.apache.tools.ant.taskdefs.optional.NetRexxC
    Could not load a dependent class (com/oroinc/net/ftp/FTP) for task ftp
    +User task: jpcovreport     org.apache.tools.ant.taskdefs.optional.sitraka.CovReport
    +User task: wsdl2service     weblogic.ant.taskdefs.webservices.wsdl2service.WSDL2Service
    +User task: execon     org.apache.tools.ant.taskdefs.ExecuteOn
    +User task: ccmcheckout     org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckout
    +User task: ant     org.apache.tools.ant.taskdefs.Ant
    +User task: xmlvalidate     org.apache.tools.ant.taskdefs.optional.XMLValidateTask
    +User task: xslt     org.apache.tools.ant.taskdefs.XSLTProcess
    +User task: iplanet-ejbc     org.apache.tools.ant.taskdefs.optional.ejb.IPlanetEjbcTask
    +User task: ccmcheckintask     org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckinDefault
    +User task: gzip     org.apache.tools.ant.taskdefs.GZip
    +User task: native2ascii     org.apache.tools.ant.taskdefs.optional.Native2Ascii
    +User task: starteam     org.apache.tools.ant.taskdefs.optional.scm.AntStarTeamCheckOut
    +User task: ear     org.apache.tools.ant.taskdefs.Ear
    +User task: input     org.apache.tools.ant.taskdefs.Input
    +User task: wlpath     weblogic.ant.taskdefs.WLPath
    +User task: pointbase     weblogic.ant.taskdefs.pointbase.PointBase
    +User task: rmic     weblogic.ant.taskdefs.j2ee.Rmic
    +User task: checksum     org.apache.tools.ant.taskdefs.Checksum
    +User task: mail     org.apache.tools.ant.taskdefs.email.EmailTask
    +User task: loadfile     org.apache.tools.ant.taskdefs.LoadFile
    +User task: wsgen     weblogic.ant.taskdefs.webservices.wsgen.WSGenTask
    +User task: vsscheckout     org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKOUT
    +User task: stylebook     org.apache.tools.ant.taskdefs.optional.StyleBook
    +User task: soscheckin     org.apache.tools.ant.taskdefs.optional.sos.SOSCheckin
    +User task: mimemail     org.apache.tools.ant.taskdefs.optional.net.MimeMail
    +User task: stlabel     org.apache.tools.ant.taskdefs.optional.starteam.StarTeamLabel
    +User task: gunzip     org.apache.tools.ant.taskdefs.GUnzip
    +User task: concat     org.apache.tools.ant.taskdefs.Concat
    +User task: cab     org.apache.tools.ant.taskdefs.optional.Cab
    +User task: touch     org.apache.tools.ant.taskdefs.Touch
    +User task: parallel     org.apache.tools.ant.taskdefs.Parallel
    +User task: splash     org.apache.tools.ant.taskdefs.optional.splash.SplashTask
    +User task: antcall     org.apache.tools.ant.taskdefs.CallTarget
    Could not load class (weblogic.ant.taskdefs.ejb.DDInit) for task ddinit
    +User task: cccheckout     org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckout
    +User task: typedef     org.apache.tools.ant.taskdefs.Typedef
    +User task: p4have     org.apache.tools.ant.taskdefs.optional.perforce.P4Have
    +User task: filter     org.apache.tools.ant.taskdefs.Filter
    +User task: xmlproperty     org.apache.tools.ant.taskdefs.XmlProperty
    Could not load a dependent class (jdepend/xmlui/JDepend) for task jdepend
    +User task: copy     org.apache.tools.ant.taskdefs.Copy
    +User task: clientgen     weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask
    +User task: createidl     weblogic.ant.taskdefs.iiop.CppIdlSetup
    +User task: antstructure     org.apache.tools.ant.taskdefs.AntStructure
    Could not load a dependent class (com/ibm/bsf/BSFException) for task script
    +User task: ccmcreatetask     org.apache.tools.ant.taskdefs.optional.ccm.CCMCreateTask
    +User task: rpm     org.apache.tools.ant.taskdefs.optional.Rpm
    +User task: delete     org.apache.tools.ant.taskdefs.Delete
    +User task: replace     org.apache.tools.ant.taskdefs.Replace
    +User task: mmetrics     org.apache.tools.ant.taskdefs.optional.metamata.MMetrics
    +User task: waitfor     org.apache.tools.ant.taskdefs.WaitFor
    +User task: untar     org.apache.tools.ant.taskdefs.Untar
    +User task: loadproperties     org.apache.tools.ant.taskdefs.LoadProperties
    +User task: wldeploy     weblogic.ant.taskdefs.management.WLDeploy
    +User task: available     org.apache.tools.ant.taskdefs.Available
    +User task: echoproperties     org.apache.tools.ant.taskdefs.optional.EchoProperties
    Could not load a dependent class (junit/framework/TestListener) for task junit
    Could not load a dependent class (com/starbase/starteam/Item) for task stcheckin
    +User task: vajexport     org.apache.tools.ant.taskdefs.optional.ide.VAJExport
    Could not load a dependent class (com/starbase/starteam/Item) for task stcheckout
    +User task: bunzip2     org.apache.tools.ant.taskdefs.BUnzip2
    +User task: copyfile     org.apache.tools.ant.taskdefs.Copyfile
    +User task: wlserver     weblogic.ant.taskdefs.management.WLServer
    +User task: vsscreate     org.apache.tools.ant.taskdefs.optional.vss.MSVSSCREATE
    +User task: wlconfig     weblogic.ant.taskdefs.management.WLConfig
    +User task: ejbc     weblogic.ant.taskdefs.j2ee.Ejbc
    +User task: unjar     org.apache.tools.ant.taskdefs.Expand
    +User task: wsdltodotnet     org.apache.tools.ant.taskdefs.optional.dotnet.WsdlToDotnet
    +User task: wlcompile     weblogic.ant.taskdefs.build.WLCompileTask
    +User task: mkdir     org.apache.tools.ant.taskdefs.Mkdir
    +User task: cvs     org.apache.tools.ant.taskdefs.Cvs
    +User task: condition     org.apache.tools.ant.taskdefs.ConditionTask
    +User task: tempfile     org.apache.tools.ant.taskdefs.TempFile
    +User task: junitreport     org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator
    +User task: taskdef     org.apache.tools.ant.taskdefs.Taskdef
    +User task: echo     org.apache.tools.ant.taskdefs.Echo
    +User task: ccupdate     org.apache.tools.ant.taskdefs.optional.clearcase.CCUpdate
    +User task: java     org.apache.tools.ant.taskdefs.Java
    +User task: vsslabel     org.apache.tools.ant.taskdefs.optional.vss.MSVSSLABEL
    +User task: renameext     org.apache.tools.ant.taskdefs.optional.RenameExtensions
    +User task: basename     org.apache.tools.ant.taskdefs.Basename
    +User task: javadoc2     org.apache.tools.ant.taskdefs.Javadoc
    +User task: tar     org.apache.tools.ant.taskdefs.Tar
    +User task: vsscp     org.apache.tools.ant.taskdefs.optional.vss.MSVSSCP
    +User task: vajimport     org.apache.tools.ant.taskdefs.optional.ide.VAJImport
    +User task: setproxy     org.apache.tools.ant.taskdefs.optional.net.SetProxy
    +User task: p4counter     org.apache.tools.ant.taskdefs.optional.perforce.P4Counter
    +User task: wlstop     org.apache.tools.ant.taskdefs.optional.ejb.WLStop
    +User task: ilasm     org.apache.tools.ant.taskdefs.optional.dotnet.Ilasm
    +User task: soscheckout     org.apache.tools.ant.taskdefs.optional.sos.SOSCheckout
    +User task: apply     org.apache.tools.ant.taskdefs.Transform
    +User task: ccuncheckout     org.apache.tools.ant.taskdefs.optional.clearcase.CCUnCheckout
    +User task: jarlib-resolve     org.apache.tools.ant.taskdefs.optional.extension.JarLibResolveTask
    +User task: jlink     org.apache.tools.ant.taskdefs.optional.jlink.JlinkTask
    +User task: cvstagdiff     org.apache.tools.ant.taskdefs.cvslib.CvsTagDiff
    +User task: javacc     org.apache.tools.ant.taskdefs.optional.javacc.JavaCC
    +User task: chmod     org.apache.tools.ant.taskdefs.Chmod
    +User task: pvcs     org.apache.tools.ant.taskdefs.optional.pvcs.Pvcs
    +User task: jarlib-manifest     org.apache.tools.ant.taskdefs.optional.extension.JarLibManifestTask
    +User task: jar     org.apache.tools.ant.taskdefs.Jar
    +User task: sound     org.apache.tools.ant.taskdefs.optional.sound.SoundTask
    +User task: wlappc     weblogic.ant.taskdefs.j2ee.Appc
    +User task: mparse     org.apache.tools.ant.taskdefs.optional.metamata.MParse
    +User task: blgenclient     org.apache.tools.ant.taskdefs.optional.ejb.BorlandGenerateClient
    +User task: uptodate     org.apache.tools.ant.taskdefs.UpToDate
    +User task: genkey     org.apache.tools.ant.taskdefs.GenerateKey
    +User task: javah     org.apache.tools.ant.taskdefs.optional.Javah
    +User task: ccmreconfigure     org.apache.tools.ant.taskdefs.optional.ccm.CCMReconfigure
    +User task: fail     org.apache.tools.ant.taskdefs.Exit
    +User task: unzip     org.apache.tools.ant.taskdefs.Expand
    +User task: javac     org.apache.tools.ant.taskdefs.Javac
    +User task: source2wsdd     weblogic.ant.taskdefs.webservices.autotype.JavaSource2DD
    +User task: p4add     org.apache.tools.ant.taskdefs.optional.perforce.P4Add
    +User task: jpcoverage     org.apache.tools.ant.taskdefs.optional.sitraka.Coverage
    +User task: soslabel     org.apache.tools.ant.taskdefs.optional.sos.SOSLabel
    +User task: depend     org.apache.tools.ant.taskdefs.optional.depend.Depend
    +User task: wlpackage     weblogic.ant.taskdefs.build.WLPackageTask
    +User task: vssget     org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET
    +User task: deltree     org.apache.tools.ant.taskdefs.Deltree
    +User task: ddcreator     org.apache.tools.ant.taskdefs.optional.ejb.DDCreator
    +User datatype: patternset     org.apache.tools.ant.types.PatternSet
    +User datatype: filterset     org.apache.tools.ant.types.FilterSet
    +User datatype: libfileset     org.apache.tools.ant.taskdefs.optional.extension.LibFileSet
    +User datatype: filterreader     org.apache.tools.ant.types.AntFilterReader
    +User datatype: extension     org.apache.tools.ant.taskdefs.optional.extension.ExtensionAdapter
    +User datatype: fileset     org.apache.tools.ant.types.FileSet
    +User datatype: dirset     org.apache.tools.ant.types.DirSet
    +User datatype: filelist     org.apache.tools.ant.types.FileList
    +User datatype: filterchain     org.apache.tools.ant.types.FilterChain
    +User datatype: path     org.apache.tools.ant.types.Path
    +User datatype: classfileset     org.apache.tools.ant.types.optional.depend.ClassfileSet
    +User datatype: description     org.apache.tools.ant.types.Description
    +User datatype: xmlcatalog     org.apache.tools.ant.types.XMLCatalog
    +User datatype: selector     org.apache.tools.ant.types.selectors.SelectSelector
    +User datatype: mapper     org.apache.tools.ant.types.Mapper
    +User datatype: substitution     org.apache.tools.ant.types.Substitution
    +User datatype: extensionSet     org.apache.tools.ant.taskdefs.optional.extension.ExtensionSet
    +User datatype: regexp     org.apache.tools.ant.types.RegularExpression
    Setting ro project property: ant.version -> Apache Ant version 1.5.3 compiled on August 13 2003
    Setting ro project property: ant.file -> C:\onexv3.x\src\antfile\osh.xml
    parsing buildfile \onexv3.x\src\antfile\osh.xml with URI = file:C:/onexv3.x/src/antfile/osh.xml
    Setting ro project property: ant.project.name -> osh
    Adding reference: osh -> org.apache.tools.ant.Project@12ad19e
    Project base dir set to: C:\onexv3.x\src\antfile
    resolving systemId: file:properties.xml
    +Task: property
    [property] Loading Environment env.
    Setting project property: env.SYSTEMROOT -> C:\WINNT
    Setting project property: env.ONEX_WL_IP -> localhost
    Setting project property: env.ORACLE_HOME -> /oracle/ora92
    Setting project property: env.WEBROOT -> /weblogic/weblogic81/config/onexdomain-v3x/applications/onexchange
    Setting project property: env.PROMPT -> $P$G
    Setting project property: env.MY_PASSWORD -> qa1
    Setting project property: env.JAVA_OPTIONS -> -Xverify:none
    Setting project property: env.POINTBASE_TOOLS -> C:\weblogic\WEBLOG~1\common\eval\pointbase\lib\pbtools44.jar
    Setting project property: env.ONEX_CONFIG -> /onexv3.x/ops/config/config_dev-v2.x.txt
    Setting project property: env.PWD -> /weblogic/weblogic81/server/bin
    Setting project property: env.COMPUTERNAME -> FKHAN2
    Setting project property: env.JSPWD -> /weblogic/weblogic81/config/onexdomain-v3x/classfiles
    Setting project property: env.MAKE_MODE -> UNIX
    Setting project property: env.ALLUSERSPROFILE -> C:\Documents and Settings\All Users
    Setting project property: env.h -> /onexv3.x
    Setting project property: env.SERVLET_CLASSES -> /weblogic/weblogic81/config/onexdomain-v3x/servletclasses
    Setting project property: env.HOMEPATH -> \Documents and Settings\fkhan
    Setting project property: env.ONEX_NOTIFY -> 1
    Setting project property: env.ONEX -> /onexv3.x
    Setting project property: env.ONEX_TQREADER -> 1
    Setting project property: env.JDK_CLASSES -> /bea/jdk141_05/lib/rt.jar
    Setting project property: env._ -> ./ant.bat
    Setting project property: env.EXT -> .60
    Setting project property: env.SHELL -> /bin/sh
    Setting project property: env.Z -> ;
    Setting project property: env.X -> 1
    Setting project property: env.MY_NAME -> qa1
    Setting project property: env.ONEX_AUDIT -> 1
    Setting project property: env.MY_DW_DB_SERVICE -> qa
    Setting project property: env.PATH -> C:\weblogic\WEBLOG~1\server\bin;C:\bea\JDK141~1\jre\bin;C:\bea\JDK141~1\bin;C:\weblogic\WEBLOG~1\server\bin;C:\bea\JDK141~1\jre\bin;C:\bea\JDK141~1\bin;.;C:\onexv3.x\ops\scripts;C:\onexv3.x\scripts;C:\onexv3.x\3rdparty\ant\bin;C:\bea\jdk141_05\bin;C:\onexv3.x\scripts\singledb;C:\Oracle\Ora9\bin;C:\cygnus\CYGWIN~1\H-I586~1\bin;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Perforce;C:\cygwin\bin;C:\putty;C:\weblogic\WEBLOG~1\server\bin\oci920_8
    Setting project property: env.MY_INSTANCE -> qa
    Setting project property: env.POINTBASE_HOME -> C:\weblogic\WEBLOG~1\common\eval\pointbase
    Setting project property: env.WINDIR -> C:\WINNT
    Setting project property: env.ONEX_WL_HOME -> /weblogic/weblogic81
    Setting project property: env.ONEX_TRADING -> 1
    Setting project property: env.HOSTTYPE -> i586
    Setting project property: env.J -> /onexv3.x/jars
    Setting project property: env.PROCESSOR_IDENTIFIER -> x86 Family 6 Model 8 Stepping 3, GenuineIntel
    Setting project property: env.JAVA_VENDOR -> Sun
    Setting project property: env.TEMP -> C:\DOCUME~1\fkhan\LOCALS~1\Temp
    Setting project property: env.ONEX_JAVA_HOME -> /bea/jdk141_05
    Setti

    Can somebody tell me how to run the webservices in weblogic samples,when i run this(build.xml)i get the following error.
    =========================================================Buildfile: E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\build.xml
    clean:
    [delete] Deleting directory E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\build
    [delete] Deleting directory E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\client
    compile:
    [mkdir] Created dir: E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\build
    [mkdir] Created dir: E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\client
    [javac] Compiling 1 source file to E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\build
    ear:
    [servicegen] Generating service "HelloWorld" ...
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:9: package weblogic.webservice.core.rpc does not exist
    [servicegen] extends weblogic.webservice.core.rpc.StubImpl
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:12: package weblogic.webservice does not exist
    [servicegen] public HelloWorldPort_Stub( weblogic.webservice.Port _port ){
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:9: package javax.xml.rpc does not exist
    [servicegen] public interface HelloWorld extends javax.xml.rpc.Service{
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:11: package weblogic.webservice.context does not exist
    [servicegen] weblogic.webservice.context.WebServiceContext context();
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:13: package weblogic.webservice.context does not exist
    [servicegen] weblogic.webservice.context.WebServiceContext joinContext()
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:14: package weblogic.webservice.context does not exist
    [servicegen] throws weblogic.webservice.context.ContextNotFoundException;
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:16: package javax.xml.rpc does not exist
    [servicegen] examples.webservices.basic.javaclass.HelloWorldPort getHelloWorldPort() throws javax.xml.rpc.ServiceException;
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:18: package javax.xml.rpc does not exist
    [servicegen] examples.webservices.basic.javaclass.HelloWorldPort getHelloWorldPort(String username, String password) throws javax.xml.rpc.ServiceException;
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld_Impl.java:10: package weblogic.webservice.core.rpc does not exist
    [servicegen] extends weblogic.webservice.core.rpc.ServiceImpl
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:24: cannot resolve symbol
    [servicegen] symbol : method _wrap (int)
    [servicegen] location: class examples.webservices.basic.javaclass.HelloWorldPort_Stub
    [servicegen] args.put( "intVal", wrap( intVal ) );
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:25: cannot resolve symbol
    [servicegen] symbol : method _wrap (java.lang.String)
    [servicegen] location: class examples.webservices.basic.javaclass.HelloWorldPort_Stub
    [servicegen] args.put( "string", wrap( string ) );
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:27: cannot resolve symbol
    [servicegen] symbol : method _invoke (java.lang.String,java.util.HashMap)
    [servicegen] location: class examples.webservices.basic.javaclass.HelloWorldPort_Stub
    [servicegen] java.lang.Object result = invoke( "sayHello", _args );
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:29: package javax.xml.rpc does not exist
    [servicegen] } catch (javax.xml.rpc.JAXRPCException e) {
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:31: package javax.xml.rpc.soap does not exist
    [servicegen] } catch (javax.xml.rpc.soap.SOAPFaultException e) {
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld_Impl.java:9: examples.webservices.basic.javaclass.HelloWorld_Impl is not abstract and does not override abstract method joinContext() in examples.webservices.basic.javaclass.HelloWorld
    [servicegen] public class HelloWorld_Impl
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld_Impl.java:40: cannot resolve symbol
    [servicegen] symbol : method _getPort (java.lang.String)
    [servicegen] location: class examples.webservices.basic.javaclass.HelloWorld_Impl
    [servicegen] new examples.webservices.basic.javaclass.HelloWorldPort_Stub( _getPort( "HelloWorldPort" ) );
    [servicegen] ^
    [servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld_Impl.java:49: cannot resolve symbol
    [servicegen] symbol : method _setUser (java.lang.String,java.lang.String,examples.webservices.basic.javaclass.HelloWorldPort)
    [servicegen] location: class examples.webservices.basic.javaclass.HelloWorld_Impl
    [servicegen] _setUser( username, password, getHelloWorldPort() );
    [servicegen] ^
    [servicegen] 17 errors
    [servicegen] java.io.IOException: Compiler failed executable.exec
    [servicegen] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:469)
    [servicegen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    [servicegen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
    [servicegen] at weblogic.webservice.tools.build.internal.CompilerHelper.compileFiles(CompilerHelper.java:80)
    [servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.compileStubs(ClientGenImpl.java:627)
    [servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.generateStub(ClientGenImpl.java:572)
    [servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromEAR(ClientGenImpl.java:521)
    [servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.java:345)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateClient(ServiceGenTask.java:597)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:195)
    [servicegen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [servicegen] at org.apache.tools.ant.Task.perform(Task.java:364)
    [servicegen] at org.apache.tools.ant.Target.execute(Target.java:341)
    [servicegen] at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [servicegen] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [servicegen] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [servicegen] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [servicegen] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
    [servicegen] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [servicegen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
    [servicegen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
    BUILD FAILED
    E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\build.xml:42: weblogic.webservice.tools.build.WSBuildException: Compiler failed executable.exec - with nested exception:
    [java.io.IOException: Compiler failed executable.exec]
    Total time: 29 seconds

  • Problem: package javax.servlet.jsp does not exist

    I am a novice JSP programmer. My projects that use any javax.servlet classes are not seeing those at all. I am working with a group of folks using Java SE 1.5. (Note: I'm using Windows so the directory separator is "\")
    What Used to work:
    1. Nearly all my projects were working using Java version 1.6. These projects were developed as examples from Wrox and Apress books about JSP and Struts.
    What has changed:
    1. I un-installed the version 1.6 of JDK and JRE, as well as tomcat, netbeans, and all the associated libraries/jars.
    2. I installed version 1.5 of JDK and JRE, as well as tomcat, netbeans, and all the associated libraries/jars.
    3. I updated my JAVA_HOME, CATALINA_HOME, CLASSPATH, and PATH environmental variables. I made sure that the path to servlet-api.jar (in the tomcat common\lib) is included in the classpath.
    What is wrong:
    1. References to javax.servlet.* are not satisfied--they are flagged in the source code in NetBeans and I get compiler errors with any project containing those references. For example:
    ... package javax.servlet.jsp does not exist
    import javax.servlet.jsp.*;
    What I've found:
    1. My CATALINA_HOME=C:\Java\Tomcat 5.5
    2. My JAVA_HOME=C:\Java\jdk1.5.0_11
    3. My CLASSPATH=.;C:\Program Files\QuickTime\QTSystem\QTJava.zip;%JAVA_HOME%\lib;%JAVA_HOME%\jre\lib;%JAVA_HOME%\lib\jsp-api.jar;%CATALINA_HOME%\common\lib\servlet-api.jar;C:\Java\logging-log4j-1.2.14\dist\lib\log4j-1.2.14.jar
    4. My PATH=c:\wint\BIN;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;%CATALINA_HOME%\bin;C:\MySQL\MySQL Server 5.0\bin;D:\MiKTeX 2.5\miktex\bin;C:\Perl\bin\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\SFU\Perl\bin\;C:\SFU\common\;C:\Program Files\Lahey-Fujitsu Fortran\v7.1\Bin;C:\Program Files\Lahey-Fujitsu Fortran\v7.1\Win32\Bin
    What I need:
    1. I need to have some reference to the servlet classes satisfied in my configuration. Any help is appreciated.
    thanks
    jondr

    Oh. I got some over-the-shoulder debug help.
    My error was in the classpath specification:
    The path: %JAVA_HOME%\lib\jsp-api.jar
    Should be: %CATALINA_HOME%\lib\jsp-api.jar
    That contains the javax.servlet.jsp.*
    Thimk.
    Message was edited by: jon
    jondr

  • Error:    package javax.servlet.http does not exist

    Hi all,
    How do I import javax.servlet?
    package com.example.web;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    public class BeerSelect extends HttpServlet {
      public void doPost(HttpServletRequest request,
                         HttpServletResponse response)
                         throws IOException, ServletException {
        response.setContentType("text/html");
        PrintWriter out = response.getWrite();
        out.println ("Beer Selection Advide<br>");
        String c = request.getParameter("color");
        out.println ("<br>Got beer color " + c);
    }What does this error mean? The error message:
    Compiling 1 source file to C:\Program Files\Apache Software Foundation\MyProjects\J2EE\build\classes
    C:\Program Files\Apache Software Foundation\MyProjects\J2EE\src\com\example\web\BeerSelect.java:3:
    package javax.servlet does not exist
    import javax.servlet.*;
    C:\Program Files\Apache Software Foundation\MyProjects\J2EE\src\com\example\web\BeerSelect.java:4:
    package javax.servlet.http does not exist
    import javax.servlet.http.*;
    C:\Program Files\Apache Software Foundation\MyProjects\J2EE\src\com\example\web\BeerSelect.java:7:
    cannot find symbol
    symbol: class HttpServlet
    public class BeerSelect extends HttpServlet {
    C:\Program Files\Apache Software Foundation\MyProjects\J2EE\src\com\example\web\BeerSelect.java:8:
    cannot find symbol
    symbol  : class HttpServletRequest
    location: class com.example.web.BeerSelect
      public void doPost(HttpServletRequest request,
    C:\Program Files\Apache Software Foundation\MyProjects\J2EE\src\com\example\web\BeerSelect.java:9:
    cannot find symbol
    symbol  : class HttpServletResponse
    location: class com.example.web.BeerSelect
                         HttpServletResponse response)
    C:\Program Files\Apache Software Foundation\MyProjects\J2EE\src\com\example\web\BeerSelect.java:10:
    cannot find symbol
    symbol  : class ServletException
    location: class com.example.web.BeerSelect
                         throws IOException, ServletException {
    6 errors
    BUILD FAILED (total time: 0 seconds)Thank you.

    Hi,
    The file servlet-api.jar / servlet.jar is not available in your classpath.
    To compile an Servlet you need the jar file to be in classpath.
    The jar file can be found in your webserver / application server lib folder.
    Regards,
    Zack

  • Package javax.xml.rpc does not exist

    Hi, I'm sure this is probably a basic error, which one of you Java gurus can solve instantly. I haven't used Java since 2001 and my development machine didn't even have a JDK installed until this morning!
    I'm trying to create a Java client for my web service, it's COM/ASP on IIS before you ask how I did it without using Java...
    Basically, I've installed J2SE v1.4.2_02, and also WSDP jwsdp-1.3, and I'm using the tutorial example at:
    http://java.sun.com/webservices/docs/1.3/tutorial/doc/JAXRPC5.html#wp79973 to create a dynamic proxy client. I assume this is what I need to do to access an existing web service?
    I've copied and pasted the code into my editor and saved it as HelloClient.java. I will change the URL/URI, service name, port, etc. later on.
    Now, at the cmd prompt...
    D:\source\DCIS\sdk\java\dynamicproxy>javac HelloClient.java
    HelloClient.java:4: package javax.xml.rpc does not exist
    import javax.xml.rpc.Service;
    ^
    HelloClient.java:5: package javax.xml.rpc does not exist
    import javax.xml.rpc.JAXRPCException;
    ^
    HelloClient.java:6: package javax.xml.namespace does not exist
    import javax.xml.namespace.QName;
    ^
    HelloClient.java:7: package javax.xml.rpc does not exist
    import javax.xml.rpc.ServiceFactory;
    I expect this is something to do with environment variables:
    PATH=C:\WINNT\system32;
    C:\WINNT;C:\WINNT\System32\Wbem;
    C:\Program Files\Microsoft SDK\Bin\.;
    C:\Program Files\Microsoft SDK\Bin\WinNT\.;
    d:\j2sdk1.4.2_02\bin\;
    d:\jwsdp-1.3\jwsdp-shared\bin\;
    d:\jwsdp-1.3\apache-ant\bin\
    CLASSPATH=.;
    Is there something I need to set in my classpath for this?
    I know the tutorial suggests using Ant to build the example, but as far as I can tell that uses Tomcat, and I only want to build a client application! There must be a way to get around this...
    TIA for any help you give me!

    Hi,
    I am getting this error message when i try to create the webservice client.
    D:\Sun\AppServer\apps\dynamic-proxy>javac -classpath build -d build MathClient.java
    MathClient.java:4: package javax.xml.rpc does not exist
    import javax.xml.rpc.Service;
    ^
    MathClient.java:5: package javax.xml.rpc does not exist
    import javax.xml.rpc.JAXRPCException;
    ^
    MathClient.java:7: package javax.xml.rpc does not exist
    import javax.xml.rpc.ServiceFactory;
    ^
    MathClient.java:8: cannot find symbol
    symbol : class FirstIF
    location: package dynamicproxy
    import dynamicproxy.FirstIF;
    ^
    MathClient.java:23: cannot find symbol
    symbol : class ServiceFactory
    location: class dynamicproxy.MathClient
    ServiceFactory serviceFactory = ServiceFactory.newInstance();
    ^
    MathClient.java:23: cannot find symbol
    symbol : variable ServiceFactory
    location: class dynamicproxy.MathClient
    ServiceFactory serviceFactory = ServiceFactory.newInstance();
    ^
    MathClient.java:26: cannot find symbol
    symbol : class Service
    location: class dynamicproxy.MathClient
    Service mathService = serviceFactory.createService(url,
    ^
    7 errors
    After looking at your response to add the classpath to this jar file.
    jaxrpc-spi.jar.
    But when i looked into my folder found that missing this jar file.
    where i can i download this file?
    I would like to know the error message that i have got is because of this missing file?
    Please guide me on this issue.
    Thanks!

  • Package javax.microedition.midlet does not exist

    Hi:
    I am trying to run the Currency Converter MIDlet. I am using SUnONE4. I have got all the updates for the SUN ONE. When I compile the Converter directory.. i get the following errors.. which indicate that it can't find the javax.micoredition..packages.
    converter/ConverterMIDlet.java [11:1] package javax.microedition.midlet does not exist
    import javax.microedition.midlet.*;
    ^
    converter/ConverterMIDlet.java [12:1] package javax.microedition.lcdui does not exist
    import javax.microedition.lcdui.*;
    ^
    converter/ConverterMIDlet.java [13:1] package javax.microedition.rms does not exist
    import javax.microedition.rms.*;
    I havem't downloaded the J2ME since i presume that i don't need it since i have updated SunONe. There inside the SUNone i can see under the Device Emulator registory the J2ME wireless toolkit.
    Can anyon ehelp please.

    make sure you have the microedition classes are in your classpath
    --Senthil                                                                                                                                                                                   

  • Package javax.xml.messaging does not exist

    Hi,
    I have installed the Web Services Developer Pack (Version 1.1), and added the jaxm-api, jaxm-runtime, saaj-ri, and saaj-api jars to my classpath. I also added C:\jwsdp-1.1\bin to my path, and copied the jar files from C:\jwsdp-1.1\jaxp-1.2.2\lib\endorsed to the \jre\lib\endorsed folder within my java home directory as specified.
    However, I get the following error when trying to compile my program:
    "package javax.xml.messaging does not exist"
    import javax.xml.messaging.*;
    import javax.xml.soap.*;
    public class CAServlet
    extends JAXMServlet
    implements ReqRespListener {
    Do you have any ideas on why this may be happening? Any help would be greatly appreciated.
    Thanks,
    Chris

    Hi,
    The jar file jaxm-api.jar contains the package javax.xml.messaging.
    Make sure you have correctly set it to your classapth.
    -Amol

  • Package javax.faces.context does not exist

    i get the following errors when trying to compile my class
    package javax.faces.context does not exist
    package javax.faces.component does not exist
    package javax.faces.validator does not existi'm really new to this and i do not know what this means
    i hope someone can help me
    this is my really simple code
    package  ourdemo;
    import javax.faces.context.*;
    import javax.faces.component.*;
    import javax.faces.validator.*;
    public class player
         String firstname;
         String lastname;   
         public void setfirstname(String a)
         { firstname=a; }
         public String getfirstname()
         { return firstname; }
         public void setlastname(String b)
         { lastname=b; }
         public String getlastname()
         { return lastname; }
         public void changeName()
         { lastname = firstname+" "+lastname; }             
    }

    Hello,
    nornaly this kind of errors happens, when the compiler isn't able to find the classes which it needs to compile your sourcecode. What you have to do is to say the compiler where it can find the sourcecodes. This means you have to put the jars into you classpath. you find the jars in the lib-directory of the jsf-directory which you downloaded. after unzipping the jsf-directory you will see it.
    if you use eclipse you go with you mouse to your workingdirectory, click with the right
    button on that directory ,choose properties then on the left you choose " java build path" and than on the right the libraries. Here you choose " add external jars" so you will have to direct to the jars. your are done.
    But if you don't use eclipse, you have to put those jars in your classpath, in the environment of windows.
    bye hamid

  • Package javax.microedition.media does not exist

    package javax.microedition.media does not exist
    import javax.microedition.media.*;
    Please tell me why this error occurs.Is it due to midlet version?

    Have you specified the correct setting for your MIDlet project? Note that javax.microedition.media (MMAPI) has been introduced in MIDP2.0.
    Cheers

Maybe you are looking for