Class Compilation Error in Upgrade

Hello,
I have upgraded classes written in 4.6c to ECC 6.0 and receive a compilation error saying:
'INCLUDE report "Z_CLASS_ NAME========CL" not found'
Here the name of the public class is "Z_CLASS_NAME".
Any clues as to how to resolve this error?
Thanks and regards, Pankaj

Hello Pankaj
The report "Z_CLASS_ NAME========CL" is the INCLUDE name of your class. The compilation error may be due to a missing entry in table TMDIR holding all the include names of classes. Also, keep in mind that SAP has changed the organisation of class includes in newer release. For example, on 4.6c you need to write makros within the methods where they were used. On ERP 6.0 we have a separate section for coding makros.
Can you change you class in SE24? If so then I would recommend to make a few trivial changes (description, adding empty lines in methods and private section containing data definitions) and try to regenerate the class. If this does not work you may check the menus of SE24 for repair options.
The 2 last resorts would be:
(1) Copy (or rename) the class -> delete the class -> copy back to Z_CLASS_NAME
(2) Enter missing entries in TMDIR manually
Regards
  Uwe

Similar Messages

  • Compilation errors after upgrading from 8.1.6 to 10.2

    I recently upgraded a Weblogic Workshop application from version 8.1.6 to 10.2 using the Import wizard in Weblogic Workshop 10.2. However, I am getting the following compilation errors:
    Problem encountered finding XML Schema metadata for XML Bean
    com.ssmb.amps.workflow.projectionApproval.ProjectionApprovalDocument
    Does any one has any idea on it?
    Thanks,
    Albert

    Hi,
    Once upgraded from s.1 to 10.2, XML Schemes are converted to XMLBeans. So, during compiliation XMLSchemas are encountered. Try deleting XMLSchemas and compile. Hope it may help.
    Krishna

  • Problem When Import Java Class -compilation error

    Hi all
    I made a java class that has methods to return Screen width and Height .
    package tarek;
    import java.awt.Dimension;
    import java.awt.Toolkit;
    public class Screen
    Dimension dim ;
    public Screen()
    dim = Toolkit.getDefaultToolkit().getScreenSize();
    public double getWidth()
    double w = dim.getWidth();
    return w;
    public double getHeight()
    double h=dim.getHeight();
    return h;
    I made the jar file " screen.jar" and make it ready to use in form builder
    I opened form builder and make import java class (From program>import java class>choose the class anc click import)
    The class now imported successfully and the PL/SQL package body is:
    PACKAGE Screen /* tarek.Screen */ IS
    -- DO NOT EDIT THIS FILE - it is machine generated!
    -- Constructor for signature ()V
    FUNCTION new RETURN ORA_JAVA.JOBJECT;
    -- Method: getHeight ()D
    FUNCTION getHeight(
    obj ORA_JAVA.JOBJECT) RETURN NUMBER;
    -- Method: getWidth ()D
    FUNCTION getWidth(
    obj ORA_JAVA.JOBJECT) RETURN NUMBER;
    END;
    Now I made a button on the form and i WRITE THIS CODE TO INVOKE THE CLASS on when_button_pressed
    DECLARE
         vScreen_Class ORA_JAVA.JOBJECT;     
    BEGIN
         vScreen_Class := SCREEN.NEW;
    END;
    My problem is I have compilation error
    error 306 AT LINE 5 , COLUMN 25
    wrong number or types of argument in call to "NEW"
    I do not know what is the reason of this compilation error?
    Is it because the method in java return "double datatype" while in oracle return "number datatype"
    Please help
    Edited by: [email protected] on Dec 28, 2009 10:24 AM

    Sarah, I ca not move my thread to JDeveloper because it is not java issue. The problem is with my PL/SQL code and the way I make Import Java class to forms Builder. The Java code is OK.
    Andreas Thank you so much for replying. In fact I made a full compile "Ctrl+Alt+K". but still error
    The following is the package Body
    PACKAGE BODY Screen IS
    -- DO NOT EDIT THIS FILE - it is machine generated!
    args JNI.ARGLIST;
    -- Constructor for signature ()V
    FUNCTION new RETURN ORA_JAVA.JOBJECT IS
    BEGIN
    args := NULL;
    RETURN (JNI.NEW_OBJECT('tarek/Screen', '()V', args));
    END;
    -- Method: getHeight ()D
    FUNCTION getHeight(
    obj ORA_JAVA.JOBJECT) RETURN NUMBER IS
    BEGIN
    args := NULL;
    RETURN JNI.CALL_DOUBLE_METHOD(FALSE, obj, 'tarek/Screen', 'getHeight', '()D', args);
    END;
    -- Method: getWidth ()D
    FUNCTION getWidth(
    obj ORA_JAVA.JOBJECT) RETURN NUMBER IS
    BEGIN
    args := NULL;
    RETURN JNI.CALL_DOUBLE_METHOD(FALSE, obj, 'tarek/Screen', 'getWidth', '()D', args);
    END;
    BEGIN
    NULL;
    END;
    ---------------------------------------------------------------------------------

  • Class compilation error

    hi,
    iam having class like this..
    in that i have a piece of code..
    DocumentBuilderFactory factory = null;
    factory. = DocumentBuilderFactory.newInstance();
    iam getting compilation error.
    that identifieer expected..
    iam importing import javax.xml.parsers.DocumentBuilderFactory; package..where its going wrong..
    regards,

    there is a point after factory
    //  factory. = DocumentBuilderFactory.newInstance(); <- you code
    factory = DocumentBuilderFactory.newInstance();

  • Compile error after upgrade to jdev 1013 from 9052

    Hi,
    I just upgraded to jdev 10.1.3.0.4. We had this program compile correctly in jdev 9052, but is now erroring out during compile:
    Error(5,34): identifier expected (with enum highlighted), at the following line.
    import gov.epa.cdx.axis.security.enum.AuthMethod;
    Can you help me to correct this? Thanks.

    SU is a service update but that won't fix your problem.
    "enum" is a keyword in Java 5 and therefore may not be used in identifiers.
    In 9.0.5.2 you were compiling with JDK 1.4 I presume.
    Either change the package name or use JDK 1.4 for your project.
    Sascha

  • Bursting Java Concurrent Program Class Compiling Error

    Hi,
    I am trying to compile the Java Class that Tim has provided in his blog to create the Bursting JCP. I am using R12, so that would be XMLP 5.6.3. As far as I can work out the patch that has been developed for the seeded Bursting JCP is not yet available for R12, so I am trying to create one myself from Tim's examples.
    I do not pretend to be a Java expert, or even pretend to have more than and very very very basic knowledge of it, so I am hoping someone will be able to tell me why I am getting the following error when I try to compile it:
    $ javac XMLPReportBurst.java
    XMLPReportBurst.java:220: cannot find symbol
    symbol : constructor OADocumentProcessor(java.io.InputStream,java.io.InputStream,java.lang.String)
    location: class oracle.apps.xdo.oa.util.OADocumentProcessor
    OADocumentProcessor dp = new OADocumentProcessor(ctlFile,fis,"/home/applmgr/tmp");
    ^
    1 error
    The Java Class that I am using can be seen below, and the error seems to be occurring at line 220:
    package oracle.apps.xdo.oa.cp;
    import java.sql.SQLException;
    import java.sql.Connection;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.PrintWriter;
    import java.io.StringWriter;
    import oracle.jdbc.driver.OracleResultSet;
    import oracle.jdbc.driver.OraclePreparedStatement;
    import oracle.jdbc.driver.OracleCallableStatement;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.util.NameValueType;
    import oracle.apps.fnd.util.ParameterList;
    import oracle.apps.fnd.cp.request.CpContext;
    import oracle.apps.fnd.cp.request.ReqCompletion;
    import oracle.apps.fnd.cp.request.LogFile;
    import oracle.apps.fnd.cp.request.JavaConcurrentProgram;
    import oracle.apps.fnd.cp.request.RemoteFile;
    import oracle.apps.xdo.XDOException;
    import oracle.apps.xdo.oa.util.OADocumentProcessor;
    import oracle.apps.xdo.batch.BurstingListener;
    import java.util.Properties;
    import java.util.Vector;
    public class XMLPReportBurst implements JavaConcurrentProgram, BurstingListener
    public static final String RCS_ID=
    "$Header: JCP4XMLPublisher.java 115.34 2006/01/09 16:54:58 bgkim noship $";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "oracle.apps.xdo.oa.cp");
    // Global Reference to pCpContext
    private CpContext ccntxt;
    private LogFile lfile;
    private boolean debug = false;
    private Connection mJConn;
    public void runProgram(CpContext pCpContext)
    lfile = pCpContext.getLogFile();
    lfile.writeln("XML Report Publisher 5.0",0);
    ccntxt = pCpContext;
    // get the JDBC connection object
    mJConn = pCpContext.getJDBCConnection();
    // get parameter list object from CpContext
    ParameterList lPara = pCpContext.getParameterList();
    // get ReqCompletion object from CpContext
    ReqCompletion lRC = pCpContext.getReqCompletion();
    String Params = null;
    int lrequestId = 0;
    String ltemplatecode = null;
    String lApplShortName = null;
    String lLocale = null;
    String lDebug = "N";
    String lOutFormat = null;
    String tmplLang = null;
    String tmplTerr = null;
    int reqid = pCpContext.getReqDetails().getRequestId();
    // Parse Parameters
    while (lPara.hasMoreElements())
    NameValueType aNVT = lPara.nextParameter();
    Params += aNVT.getName() + ":" + aNVT.getValue();
    if ( aNVT.getName().equals("ReportRequestID") )
    lrequestId = Integer.parseInt(aNVT.getValue());
    else if ( aNVT.getName().equals("DebugFlag") )
    lDebug = aNVT.getValue();
    debug = (lDebug.equals("Y")) ? true : false;
    if (debug)
    lfile.writeln("Request ID: "+reqid ,1);
    lfile.writeln("All Parameters: " + lPara.getString(),1);
    lfile.writeln("Report Req ID: "+ lrequestId,1);
    lfile.writeln("Debug Flag: " + lDebug,1);
    try
    lfile.writeln("Updating request description",0);
    String lSqls = "update FND_CONCURRENT_REQUESTS " +
    "set DESCRIPTION='Bursting ' || " +
    " ( select USER_CONCURRENT_PROGRAM_NAME " +
    " from FND_CONC_REQ_SUMMARY_V " +
    " where request_id= :1 ) " +
    "where request_id = :2 ";
    OracleCallableStatement lStmt2 =
    (OracleCallableStatement)mJConn.prepareCall(lSqls);
    lStmt2.setInt(1,lrequestId);
    lStmt2.setInt(2,reqid);
    lStmt2.execute();
    lStmt2.close();
    mJConn.commit();
    if (debug) lfile.writeln("Updated description",0);
    /* Obtain Input xml file from RemoteFile object by lrequestId */
    lfile.writeln("Retrieving XML request information",0);
    lSqls = "select OUTFILE_NODE_NAME, OUTFILE_NAME from " +
    "FND_CONCURRENT_REQUESTS " +
    "where request_id= :1";
    OraclePreparedStatement lStmt1 =
    (OraclePreparedStatement)mJConn.prepareStatement(lSqls);
    lStmt1.setInt(1,lrequestId);
    OracleResultSet lRslt = (OracleResultSet)lStmt1.executeQuery();
    lRslt.next();
    String cNode=lRslt.getString(1);
    String outf=lRslt.getString(2);
    lRslt.close();
    lStmt1.close();
    if (debug) lfile.writeln("Node Name:" + cNode,1);
    lfile.writeln("Preparing parameters",0);
    // PDF output file (Outfile of this request)
    String outputfilename = pCpContext.getOutFile().getFileName();
    if (debug) lfile.writeln(lOutFormat+" output =" + outputfilename, 1);
    OutputStream fout = new FileOutputStream(outputfilename);
    RemoteFile rf = new RemoteFile (pCpContext, cNode, outf, "TEXT");
    String inputfilename = rf.getFile().getAbsolutePath();
    if (debug) lfile.writeln("inputfilename =" + inputfilename, 1);
    if ( inputfilename == null || inputfilename.equals("") )
    lRC.setCompletion(ReqCompletion.ERROR,
    "Error has occured. Please check the log file");
    // Input stream from XML data file ( Outfile of XML generating request)
    InputStream fis = new FileInputStream(inputfilename);
    InputStream ctlFile = new FileInputStream("\\home\\applmgr\\InvoiceBatchBurst.xml");
    lfile.writeln("Starting burst ...",1);
    OADocumentProcessor dp = new OADocumentProcessor(ctlFile,fis,"/home/applmgr/tmp");
    lfile.writeln("Bursting initiated ... ",1);
    dp.registerListener(this);
    lfile.writeln("Listener created ...",1);
    Properties prop= new Properties();
    lfile.writeln("Properties set ...",1);
    prop.put("user-variable:EMAILP","[email protected]");
    dp.setConfig(prop);
    lfile.writeln("Config set ...",1);
    dp.process();
    lfile.writeln("Bursting complete",1);
    fis.close();
    fout.close();
    lRC.setCompletion(ReqCompletion.NORMAL, "Request Completed Normal");
    catch (SQLException e)
    lfile.writeln("--SQLException",1);
    //lfile.writeln(e.getMessage(),1);
    lfile.writeln(getErrorStack(e),1);
    lRC.setCompletion(ReqCompletion.ERROR, e.getMessage());
    catch (XDOException e)
    lfile.writeln("--XDOException",1);
    //lfile.writeln(e.getMessage(),1);
    //lfile.writeln(sw.toString(),1);
    lfile.writeln(getErrorStack(e),1);
    lRC.setCompletion(ReqCompletion.ERROR, e.getMessage());
    catch (Exception e)
    lfile.writeln("--Exception",1);
    lfile.writeln(e.getMessage(),1);
    lfile.writeln(getErrorStack(e),1);
    lRC.setCompletion(ReqCompletion.ERROR, e.getMessage());
    finally
    pCpContext.releaseJDBCConnection();
    private String getErrorStack(Exception exc) {
    StringWriter sw = new StringWriter();
    PrintWriter pw = new PrintWriter(sw);
    try
    exc.printStackTrace(pw);
    pw.flush();
    pw.close();
    sw.close();
    return sw.toString();
    catch (Exception e)
    return null;
    public void beforeProcess(){
    if (debug) lfile.writeln("==============Start of Bursting Process=================",0);
    public void afterProcess()
    if (debug) lfile.writeln("==============End of Bursting Process=================",0);
    public void beforeProcessRequest(int requestIndex)
    if (debug)
    lfile.writeln(" ========Start of Process Request",0);
    lfile.writeln(" Request Index +requestIndex",0);
    public void afterProcessRequest(int requestIndex)
    if (debug) lfile.writeln(" ========End of Process Request",0);
    public void beforeProcessDocument(int requestIndex,int documentIndex)
    if (debug){
    lfile.writeln(" ========Start of Process Document",0);
    lfile.writeln(" Request Index "+requestIndex,0);
    lfile.writeln(" Document Index " +documentIndex,0);
    public void afterProcessDocument(int requestIndex,int documentIndex,Vector documentOutputs)
    if (debug){
    lfile.writeln(" ========End of Process Document",0);
    lfile.writeln(" Outputs :"+documentOutputs,0);
    public void beforeDocumentDelivery(int requestIndex,int documentIndex,String deliveryId)
    if (debug){
    lfile.writeln(" ========Start of Delivery",0);
    lfile.writeln(" Request Index "+requestIndex,0);
    lfile.writeln(" Document Index " +documentIndex,0);
    lfile.writeln(" DeliveryId " +deliveryId,0);
    public void afterDocumentDelivery(int requestIndex,int documentIndex,String deliveryId,Object deliveryObject,Vector attachments)
    if (debug){
    lfile.writeln(" ========End of Delivery",0);
    lfile.writeln(" Attachments : "+attachments,0);
    I hope you can help me as this is an on going issue for me that I need to try and get resolved.
    I look forward to hearing any suggestions.
    Regards,
    Cj

    Hi,
    Yes you have one more field in the Data Definition tab that reads Bursting Control File just after the 3 you mentioned .You can upload the control file here.
    However both this functionality and the Bursting Concurrent Program will be available once you have applied the patch for 5.6.3..
    I've been looking too for anyone who has a writeup on the the way this Program can be used.As of now I am just following the Read Me available with this Patch.
    It has some samples...
    Let me know if this helps.
    Regards,
    Lavina

  • J developer class compile error in Jdev 11.1.1.1

    We developed a fusion web projects.
    Sometimes some classes in classpath of projects not included inside of EAR file when we create a deployment profile .
    Then we need to make all, built all.
    Class is added EAR file.
    it seem like a bug. We weren't face this issue in previous versdion of Jdev 11.1.1.0.1

    Yes. We see.
    But we can't describe when the the problem occurs exactly.
    The problem occurs rondomly.
    We deploy the projects. class is missing error occcurs. Then We redoploy problem dissapper.
    I thing problem about to compile dependecy projects.
    Because this class belong to dependent projects. (sometimes even standart model projects files missing.)

  • MyInteger class- compile error - method doesnt implement comparable method

    I am trying to test how the code for a hash table works- I have 4 classes
    Hashable interface
    QuadraticProbableHashTable
    HashEntry
    MyInteger
    Everything is compiling but one error comes up saying that "Class must implement the inherited abstract method Comparable.compareTo(object)."
    I have a comparable method with the same signature as that in Comparable interface; in MyInteger.java where the problem is. However I still have the same problem.
         * Wrapper class for use with generic data structures.
         * Mimics Integer.
        public final class MyInteger implements Comparable, Hashable
             * Construct the MyInteger object with initial value 0.
            public MyInteger( )
                this( 0 );
             * Construct the MyInteger object.
             * @param x the initial value.
            public MyInteger( int x )
                value = x;
             * Gets the stored int value.
             * @return the stored value.
            public int intValue( )
                return value;
             * Implements the toString method.
             * @return the String representation.
            public String toString( )
                return Integer.toString( value );
             * Implements the compareTo method.
             * @param rhs the other MyInteger object.
             * @return 0 if two objects are equal;
             *     less than zero if this object is smaller;
             *     greater than zero if this object is larger.
             * @exception ClassCastException if rhs is not
             *     a MyInteger.
            public int compareTo( Comparable rhs )
                return value < ((MyInteger)rhs).value ? -1 :
                       value == ((MyInteger)rhs).value ? 0 : 1;
             * Implements the equals method.
             * @param rhs the second MyInteger.
             * @return true if the objects are equal, false otherwise.
             * @exception ClassCastException if rhs is not
             *     a MyInteger.
            public boolean equals( Object rhs )
                return rhs != null && value == ((MyInteger)rhs).value;
             * Implements the hash method.
             * @param tableSize the hash table size.
             * @return a number between 0 and tableSize-1.
            public int hash( int tableSize )
                if( value < 0 )
                    return -value % tableSize;
                else
                    return value % tableSize;
            private int value;
        }

    >
    You might want to also allow for cases where the
    value passed in is null, or the argument to the
    method is NOT a MyInteger object :-)
    Just a small note - the javadocs for Comparable#compareTo says the following:
    Throws:
    ClassCastException - if the specified object's type prevents it from being compared to this Object.
    So it's perfectly OK to blindly try to cast to the desired type in the sense that you are not violating the Comparable contract if the cast fails.

  • Compile Errors After Upgrading to SDK 4.5!

    Hello everyone,
    I am using Flash Builder version 4.0.0 and I just upgraded my SDK to 4.5.0 and I'm just getting the following 2 errors in a project, which I didn't get before installing the 4.5 SDK:
    1)  Can not resolve a multiname reference unambiguously. _class_embed_css_assets_black_start_icon_png_2045382513_738071692 (from _class_embed_css_assets_black_start_icon_png_2045382513_738071692) and components: _class_embed_css_assets_black_start_icon_png_2
    2)  Could not resolve <fx:FlexPaperViewer> to a component implementation.
    The first one is referring to an image stored in the "assets" directory which I use in a component.
    The second one is referring to a 3rd party component called FlexPaperViewer, which is used to view pdfs which have been converted to swfs.
    Any idea what might be causing this?  I hope the SDK hasn't changed so much that I have to recode the skin for the component in the first error.  As far as the second error, the FlexPaperViewer.swc is in the build path for the project.  This is very strange, but I don't know what to do to fix this!
    Thanks for any help or advice!
    Matt

    Have you created a new workspace and imported your projects into that?
    Pointing to a 4.0 workspace is not recommended.
    -Anirudh

  • Compiler Error after Upgrading Sun Studio 12 to Solaris Studio 12.3

    This code compiled with Solaris Studio CC: Sun C++ 5.9 SunOS_sparc Patch 124863-02 2007/12/18
    but fails to compile under CC: Sun C++ 5.12 SunOS_sparc Patch 148506-14 2013/09/24
    CC -features=zla -mt -g -library=Cstd  -DACE_HAS_KSTAT -DACE_HAS_CUSTOM_EXPORT_MACROS=0 -D_POSIX_PTHREAD_SEMANTICS   -I/export/home/ttp/ACE_wrappers -DACE_HAS_SCTP -DACE_HAS_LKSCTP -D__ACE_INLINE__ -I../jpeg-6b -I../tiff-v3.5.7/libtiff/ -I../tags/ -I/RogueWave/SourcePro/12.5 -D_XPG4_2 -D__EXTENSIONS__ -D_RWCONFIG_15d -DRW_MULTI_THREAD -D_REENTRANT -DTTPVERSIONKEY=\"7.00-alpha-2013/11/15\" -DRW_USER_TRACE_LEVEL=5  -c -KPIC -o .shobj/julian.o julian.cc
    Error Message: "/opt/solarisstudio12.3/prod/include/CC/Cstd/rw/traits", line 538: Error: The function "wcsstr" must have a prototype
    If I add the -H to trace the headers this is what I get below. I have been fighting with this for a week now and really don't know what to do at this point. We use the RogueWave libraries with the Solaris Studio Compiler for more additional libraries but RogueWave says our version is compatible with Solaris Studio 12.3 and in fact we successfully compiled the RogueWave libraries with this compiler. I"m sure it something in our code but I can't quite figure it out.
    =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2013.11.15 17:45:03 =~=~=~=~=~=~=~=~=~=~=~=
    gmake -f GNUmakefile.TTPLib
    GNUmakefile: /export/home/ttp/ttproot/ttp/TTPLib/GNUmakefile.TTPLib MAKEFLAGS=
    CC -features=zla -H -mt -g -library=Cstd  -DACE_HAS_KSTAT -DACE_HAS_CUSTOM_EXPORT_MACROS=0 -D_POSIX_PTHREAD_SEMANTICS   -I/export/home/ttp/ACE_wrappers -DACE_HAS_SCTP -DACE_HAS_LKSCTP -D__ACE_INLINE__ -I../jpeg-6b -I../tiff-v3.5.7/libtiff/ -I../tags/ -I/RogueWave/SourcePro/12.5 -D_XPG4_2 -D__EXTENSIONS__ -D_RWCONFIG_15d -DRW_MULTI_THREAD -D_REENTRANT -DTTPVERSIONKEY=\"7.00-alpha-2013/11/15\" -DRW_USER_TRACE_LEVEL=5  -c -KPIC -o .shobj/julian.o julian.cc
    julian.h
            /usr/include/time.h
                    /usr/include/sys/feature_tests.h
                            /usr/include/sys/ccompile.h
                            /usr/include/sys/isa_defs.h
                    /usr/include/iso/time_iso.h
                    /usr/include/sys/types.h
                            /usr/include/sys/machtypes.h
                            /usr/include/sys/int_types.h
                            /usr/include/sys/select.h
                                    /usr/include/sys/time_impl.h
                                    /usr/include/sys/time.h
                                            /usr/include/sys/types.h
                                            /usr/include/sys/select.h
            defines.h
                    /opt/solarisstudio12.3/prod/include/CC/Cstd/deque
                            /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/stddefs.h
                                    /opt/solarisstudio12.3/prod/include/CC/Cstd/stdcomp.h
                                            /opt/solarisstudio12.3/prod/include/CC/Cstd/compnent.h
                                    /usr/include/stddef.h
                                            /usr/include/iso/stddef_iso.h
                            /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/rwdispatch.h
                            /opt/solarisstudio12.3/prod/include/CC/Cstd/algorithm
                                    /usr/include/stdlib.h
                                            /usr/include/iso/stdlib_iso.h
                                            /usr/include/iso/stdlib_c99.h
                                            /usr/include/sys/wait.h
                                                    /usr/include/sys/resource.h
                                                    /usr/include/sys/siginfo.h
                                                            /usr/include/sys/machsig.h
                                                    /usr/include/sys/procset.h
                                                            /usr/include/sys/signal.h
                                                                    /usr/include/sys/iso/signal_iso.h
                                                                            /usr/include/sys/unistd.h
                                                                    /usr/include/sys/ucontext.h
                                                                            /usr/include/sys/regset.h
                                                                                    /usr/include/v7/sys/privregs.h
                                                                                            /usr/include/v7/sys/psr.h
                                                                                            /usr/include/sys/fsr.h
                                                                            /usr/include/sys/signal.h
                                    /opt/solarisstudio12.3/prod/include/CC/Cstd/iterator
                                            /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/iterator
                                            /opt/solarisstudio12.3/prod/include/CC/Cstd/ostream
                                                    /opt/solarisstudio12.3/prod/include/CC/Cstd/ios
                                                            /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/rwstderr.h
                                                                    /usr/include/stdarg.h
                                                                            /usr/include/iso/stdarg_iso.h
                                                                                    /usr/include/sys/va_impl.h
                                                                                            /usr/include/sys/va_list.h
                                                                            /usr/include/iso/stdarg_c99.h
                                                                    /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/rwstderr_macros.h
                                                            /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/rwlocale
                                                                    /opt/solarisstudio12.3/prod/include/CC/Cstd/string
                                                                            /usr/include/string.h
                                                                                    /usr/include/iso/string_iso.h
                                                                            /usr/include/ctype.h
                                                                                    /usr/include/iso/ctype_iso.h
                                                                                    /usr/include/iso/ctype_c99.h
                                                                            /usr/include/wchar.h
                                                                                    /usr/include/iso/wchar_iso.h
                                                                                            /usr/include/stdio_tag.h
                                                                                            /usr/include/wchar_impl.h
                                                                                            /usr/include/stdio.h
                                                                                                    /usr/include/iso/stdio_iso.h
                                                                                                            /usr/include/stdio_impl.h
                                                                                                    /usr/include/iso/stdio_c99.h
                                                                                    /usr/include/iso/wchar_c99.h
                                                                            /usr/include/wctype.h
                                                                                    /usr/include/iso/wctype_iso.h
                                                                                    /usr/include/iso/wctype_c99.h
                                                                            /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/string_ref
                                                                                    /opt/solarisstudio12.3/prod/include/CC/Cstd/memory
                                                                                            /usr/include/limits.h
                                                                                                    /usr/include/iso/limits_iso.h
                                                                                                    /usr/include/sys/int_limits.h
                                                                                            /opt/solarisstudio12.3/prod/include/CC/new
                                                                                                    /opt/solarisstudio12.3/prod/include/CC/exception
                                                                                            /opt/solarisstudio12.3/prod/include/CC/Cstd/utility
                                                                                            /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/stdmutex.h
                                                                                                    /usr/include/pthread.h
                                                                                                            /usr/include/sched.h
                                                                                    /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/traits
                                                                                            /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/iotraits
                                                                                                    /opt/solarisstudio12.3/prod/include/CC/Cstd/iosfwd
                                                                                                            /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/traits
    "/opt/solarisstudio12.3/prod/include/CC/Cstd/rw/traits", line 538: Error: The function "wcsstr" must have a prototype.
                                                                            /opt/solarisstudio12.3/prod/include/CC/Cstd/stdexcept
                                                                    /opt/solarisstudio12.3/prod/include/CC/typeinfo
                                                                    /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/locimpl
                                                                            /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/locvector
                                                                    /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/vendor
                                                                            /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/ctype
                                                                            /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/numeral
                                                                                    /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/iosbase
                                                                                    /opt/solarisstudio12.3/prod/include/CC/Cstd/limits
                                                                                            /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/math.h
                                                                                                    /usr/include/math.h
                                                                                                            /usr/include/iso/math_iso.h
                                                                                                            /usr/include/iso/math_c99.h
                                                                                                            /usr/include/floatingpoint.h
                                                                                                                    /usr/include/sys/ieeefp.h
                                                                                            /usr/include/float.h
                                                            /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/codecvt
                                                            /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/usefacet
                                                    /opt/solarisstudio12.3/prod/include/CC/Cstd/streambuf
                                            /opt/solarisstudio12.3/prod/include/CC/Cstd/istream
                    /opt/solarisstudio12.3/prod/include/CC/Cstd/set
                            /opt/solarisstudio12.3/prod/include/CC/Cstd/functional
                            /opt/solarisstudio12.3/prod/include/CC/Cstd/rw/tree
                    /usr/include/sys/param.h
            messages.h
                    /usr/include/assert.h
                    /opt/solarisstudio12.3/prod/include/CC/Cstd/list
                    /RogueWave/SourcePro/12.5/rw/trace/trace.h
                            /RogueWave/SourcePro/12.5/rw/trace/RWTraceSetState.h
                            /RogueWave/SourcePro/12.5/rw/trace/RWTraceEventSeverity.h
                                    /RogueWave/SourcePro/12.5/rw/trace/pkgdefs.h
                                            /RogueWave/SourcePro/12.5/rw/config/rwconfig_trace.h
                                                    /RogueWave/SourcePro/12.5/rw/config/rwconfig.h
                                                    /RogueWave/SourcePro/12.5/rw/config/rwc_trace_15d.h
                                                            /RogueWave/SourcePro/12.5/rw/config/rwconfig_tls.h
                                                                    /RogueWave/SourcePro/12.5/rw/config/rwc_tls_15d.h
                                            /RogueWave/SourcePro/12.5/rw/defs.h
                                                    /usr/include/assert.h
                                                    /RogueWave/SourcePro/12.5/rw/compiler.h
                                                            /RogueWave/SourcePro/12.5/rw/config/rwconfig_tls.h
                                                                    /RogueWave/SourcePro/12.5/rw/config/rwc_tls_15d.h
                                                    /RogueWave/SourcePro/12.5/rw/typedefs.h
                                                            /RogueWave/SourcePro/12.5/rw/config/rwconfig_tls.h
                                                                    /RogueWave/SourcePro/12.5/rw/config/rwc_tls_15d.h
                                                    /RogueWave/SourcePro/12.5/rw/limits.h
                                                            /RogueWave/SourcePro/12.5/rw/config/rwconfig_tls.h
                                                                    /RogueWave/SourcePro/12.5/rw/config/rwc_tls_15d.h
                                                    /RogueWave/SourcePro/12.5/rw/rwwind.h
                                                    /RogueWave/SourcePro/12.5/rw/compat.h
                                                            /RogueWave/SourcePro/12.5/rw/defs.h
                                                    /RogueWave/SourcePro/12.5/rw/utility.h
                                                            /RogueWave/SourcePro/12.5/rw/defs.h
                            /RogueWave/SourcePro/12.5/rw/trace/RWTraceEvent.h
                            /RogueWave/SourcePro/12.5/rw/trace/RWTraceEventClient.h
                                    /RogueWave/SourcePro/12.5/rw/trace/except.h
                                            /RogueWave/SourcePro/12.5/rw/rwerr.h
                                    /RogueWave/SourcePro/12.5/rw/trace/fwd.h
                            /RogueWave/SourcePro/12.5/rw/trace/RWTraceEventClientImp.h
                                    /RogueWave/SourcePro/12.5/rw/trace/RWTraceEventFilter.h
                                    /RogueWave/SourcePro/12.5/rw/ref.h
                                            /RogueWave/SourcePro/12.5/rw/tools/atomic.h
                                                    /RogueWave/SourcePro/12.5/rw/tools/atomics/atomic_sunpro.h
                                                            /RogueWave/SourcePro/12.5/rw/tools/atomicorder.h
                                                            /usr/include/sys/atomic.h
                                                                    /usr/include/sys/inttypes.h
                                                                            /usr/include/sys/int_const.h
                                                                            /usr/include/sys/int_fmtio.h
                                                            /usr/include/stdint.h
                                                                    /usr/include/sys/stdint.h
                                    /RogueWave/SourcePro/12.5/rw/mutex.h
                                            /usr/include/synch.h
                                                    /usr/include/sys/machlock.h
                                                    /usr/include/sys/synch.h
                                            /usr/include/thread.h
                            /RogueWave/SourcePro/12.5/rw/trace/RWTraceOstreamClient.h
                                    /RogueWave/SourcePro/12.5/rw/rstream.h
                                            /RogueWave/SourcePro/12.5/rw/tools/ristream.h
                                            /RogueWave/SourcePro/12.5/rw/tools/rostream.h
                                            /opt/solarisstudio12.3/prod/include/CC/Cstd/iostream
                            /RogueWave/SourcePro/12.5/rw/trace/RWTraceOstreamClientImp.h
                            /RogueWave/SourcePro/12.5/rw/trace/RWTraceEventFilterImp.h
                            /RogueWave/SourcePro/12.5/rw/trace/RWTraceSingleClientFilter.h
                            /RogueWave/SourcePro/12.5/rw/trace/RWTraceSingleClientFilterImp.h
                            /RogueWave/SourcePro/12.5/rw/trace/RWTraceLevelFilter.h
                            /RogueWave/SourcePro/12.5/rw/trace/RWTraceLevelFilterImp.h
                            /RogueWave/SourcePro/12.5/rw/trace/RWTraceMultiClientFilter.h
                            /RogueWave/SourcePro/12.5/rw/trace/RWTraceMultiClientFilterImp.h
                                    /RogueWave/SourcePro/12.5/rw/tvordvec.h
                                            /RogueWave/SourcePro/12.5/rw/epersist.h
                                                    /RogueWave/SourcePro/12.5/rw/vstream.h
                                                    /RogueWave/SourcePro/12.5/rw/rwfile.h
                                                    /RogueWave/SourcePro/12.5/rw/toolerr.h
                                                            /RogueWave/SourcePro/12.5/rw/message.h
                                                    /RogueWave/SourcePro/12.5/rw/rwstore.h
                                                            /RogueWave/SourcePro/12.5/rw/rwassert.h
                                                            /RogueWave/SourcePro/12.5/rw/rwset.h
                                                                    /RogueWave/SourcePro/12.5/rw/hashtab.h
                                                                            /opt/solarisstudio12.3/prod/include/CC/Cstd/vector
                                                                            /RogueWave/SourcePro/12.5/rw/colclass.h
                                                                                    /RogueWave/SourcePro/12.5/rw/collect.h
                                                                                            /RogueWave/SourcePro/12.5/rw/stringid.h
                                                                                                    /RogueWave/SourcePro/12.5/rw/edefs.h
                                                                                                            /RogueWave/SourcePro/12.5/rw/tools/traits/RWTIdentity.h
                                                                                                            /RogueWave/SourcePro/12.5/rw/tools/traits/RWTIsSame.h
                                                                                                                    /RogueWave/SourcePro/12.5/rw/tools/traits/RWFalseType.h
                                                                                                                    /RogueWave/SourcePro/12.5/rw/tools/traits/RWTrueType.h
                                                                                                            /RogueWave/SourcePro/12.5/rw/tools/traits/RWTRemoveReference.h
                                                                                                                    /RogueWave/SourcePro/12.5/rw/tools/traits/RWTIsLvalueReference.h
                                                                                                                    /RogueWave/SourcePro/12.5/rw/tools/traits/RWTIsRvalueReference.h
                                                                                                    /RogueWave/SourcePro/12.5/rw/cstring.h
                                                                                                            /RogueWave/SourcePro/12.5/rw/tools/stdcstring.h
                                                                                                                    /RogueWave/SourcePro/12.5/rw/tools/hash.h
                                                                                                                            /RogueWave/SourcePro/12.5/rw/tools/traits/RWTConditional.h
                                                                                                                    /RogueWave/SourcePro/12.5/rw/tools/cstrutil.h
                                                                                            /RogueWave/SourcePro/12.5/rw/mempool.h
                                                                                    /RogueWave/SourcePro/12.5/rw/iterator.h
                                            /RogueWave/SourcePro/12.5/rw/epfunc.h
                                            /RogueWave/SourcePro/12.5/rw/tools/algorithm.h
                                                    /RogueWave/SourcePro/12.5/rw/tools/iterator.h
                                            /RogueWave/SourcePro/12.5/rw/tools/traits/RWTEnableIf.h
                                            /RogueWave/SourcePro/12.5/rw/tools/traits/RWTIsIntegral.h
                                                    /RogueWave/SourcePro/12.5/rw/tools/traits/RWTRemoveCV.h
                                                            /RogueWave/SourcePro/12.5/rw/tools/traits/RWTRemoveConst.h
                                                                    /RogueWave/SourcePro/12.5/rw/tools/traits/RWTIsConst.h
                                                            /RogueWave/SourcePro/12.5/rw/tools/traits/RWTRemoveVolatile.h
                                                                    /RogueWave/SourcePro/12.5/rw/tools/traits/RWTIsVolatile.h
                            /RogueWave/SourcePro/12.5/rw/trace/RWTraceManager.h
                            /RogueWave/SourcePro/12.5/rw/trace/RWTraceManagerImp.h
                                    /RogueWave/SourcePro/12.5/rw/once.h
                                    /RogueWave/SourcePro/12.5/rw/tvslist.h
                                            /RogueWave/SourcePro/12.5/rw/stdex/slist.h
                            /RogueWave/SourcePro/12.5/rw/trace/userdefs.h
                                    /RogueWave/SourcePro/12.5/rw/trace/tracemacros.h
                                            /RogueWave/SourcePro/12.5/rw/tools/cstrstrm.h
                                                    /opt/solarisstudio12.3/prod/include/CC/Cstd/sstream
                                            /RogueWave/SourcePro/12.5/rw/trace/RWTraceEntryExit.h
                    /RogueWave/SourcePro/12.5/rw/sync/RWMutexLock.h
                            /RogueWave/SourcePro/12.5/rw/sync/pkgdefs.h
                                    /RogueWave/SourcePro/12.5/rw/config/rwconfig_sync.h
                                            /RogueWave/SourcePro/12.5/rw/config/rwc_sync_15d.h
                                                    /RogueWave/SourcePro/12.5/rw/config/rwconfig_tls.h
                                                            /RogueWave/SourcePro/12.5/rw/config/rwc_tls_15d.h
                                                    /RogueWave/SourcePro/12.5/rw/config/rwconfig_trace.h
                                                            /RogueWave/SourcePro/12.5/rw/config/rwc_trace_15d.h
                                                    /RogueWave/SourcePro/12.5/rw/config/rwconfig_threxcept.h
                                                            /RogueWave/SourcePro/12.5/rw/config/rwc_threxcept_15d.h
                                                                    /RogueWave/SourcePro/12.5/rw/config/rwconfig_tls.h
                                                                            /RogueWave/SourcePro/12.5/rw/config/rwc_tls_15d.h
                                                                    /RogueWave/SourcePro/12.5/rw/config/rwconfig_trace.h
                                                                            /RogueWave/SourcePro/12.5/rw/config/rwc_trace_15d.h
                            /RogueWave/SourcePro/12.5/rw/sync/RWSynchObject.h
                                    /RogueWave/SourcePro/12.5/rw/sync/RWCancellationState.h
                                    /RogueWave/SourcePro/12.5/rw/threxcept/threxcept.h
                                            /RogueWave/SourcePro/12.5/rw/threxcept/RWTHRBoundsError.h
                                                    /RogueWave/SourcePro/12.5/rw/threxcept/pkgdefs.h
                                                            /RogueWave/SourcePro/12.5/rw/config/rwconfig_threxcept.h
                                                                    /RogueWave/SourcePro/12.5/rw/config/rwc_threxcept_15d.h
                                                    /RogueWave/SourcePro/12.5/rw/threxcept/thrmsg.h
                                                    /RogueWave/SourcePro/12.5/rw/threxcept/RWTHRIllegalUsage.h
                                                            /RogueWave/SourcePro/12.5/rw/threxcept/RWTHRxmsg.h
                                            /RogueWave/SourcePro/12.5/rw/threxcept/RWTHRExternalError.h
                                            /RogueWave/SourcePro/12.5/rw/threxcept/RWTHRIllegalAccess.h
                                            /RogueWave/SourcePro/12.5/rw/threxcept/RWTHRInternalError.h
                                            /RogueWave/SourcePro/12.5/rw/threxcept/RWTHRInvalidPointer.h
                                            /RogueWave/SourcePro/12.5/rw/threxcept/RWTHROperationAborted.h
                                            /RogueWave/SourcePro/12.5/rw/threxcept/RWTHROperationCanceled.h
                                            /RogueWave/SourcePro/12.5/rw/threxcept/RWTHROperationNotAvailable.h
                                            /RogueWave/SourcePro/12.5/rw/threxcept/RWTHROperationNotImplemented.h
                                            /RogueWave/SourcePro/12.5/rw/threxcept/RWTHROperationNotSupported.h
                                            /RogueWave/SourcePro/12.5/rw/threxcept/RWTHROperationTerminated.h
                                            /RogueWave/SourcePro/12.5/rw/threxcept/RWTHRPermissionError.h
                                            /RogueWave/SourcePro/12.5/rw/threxcept/RWTHRResourceLimit.h
                                            /RogueWave/SourcePro/12.5/rw/threxcept/RWTHRThreadActive.h
                                            /RogueWave/SourcePro/12.5/rw/threxcept/RWTHRThreadNotActive.h
                                            /RogueWave/SourcePro/12.5/rw/threxcept/RWTTHRCompatibleException.h
                            /RogueWave/SourcePro/12.5/rw/sync/RWTLockGuard.h
                                    /RogueWave/SourcePro/12.5/rw/sync/RWTLockGuardBase.h
                                            /RogueWave/SourcePro/12.5/rw/sync/RWTGuardBase.h
                            /RogueWave/SourcePro/12.5/rw/sync/RWTReadLockGuard.h
                                    /RogueWave/SourcePro/12.5/rw/sync/RWTReadLockGuardBase.h
                                            /RogueWave/SourcePro/12.5/rw/sync/RWTReadGuardBase.h
                            /RogueWave/SourcePro/12.5/rw/sync/RWTWriteLockGuard.h
                                    /RogueWave/SourcePro/12.5/rw/sync/RWTWriteLockGuardBase.h
                                            /RogueWave/SourcePro/12.5/rw/sync/RWTWriteGuardBase.h
                            /RogueWave/SourcePro/12.5/rw/sync/RWTTryLockGuard.h
                            /RogueWave/SourcePro/12.5/rw/sync/RWTTryReadLockGuard.h
                            /RogueWave/SourcePro/12.5/rw/sync/RWTTryWriteLockGuard.h
                            /RogueWave/SourcePro/12.5/rw/sync/RWTUnlockGuard.h
                            /RogueWave/SourcePro/12.5/rw/sync/RWTReadUnlockGuard.h
                            /RogueWave/SourcePro/12.5/rw/sync/RWTWriteUnlockGuard.h
                            /RogueWave/SourcePro/12.5/rw/sync/RWThreadId.h
                    messageutilities.h
    "messages.h", line 248: Warning: Implicit int is not supported in C++.
    1 Error(s) and 1 Warning(s) detected.
    gmake: *** [.shobj/julian.o] Error 2
    tip1[~/ttproot/ttp/TTPLib]$

    I resolved this issue. The 2 defines: -D_XPG4_2 -D__EXTENSIONS__ are no longer needed and actually shouldn't be used.
    Dave

  • An XJC compilation error - Could not load class (..) for type cvsversion

    I've got a strange compilation error using NetBeans 4.0 (I'd guess the version does not matter here) and Ant 1.6.2. When the following task is executed,
    <target name="compile_ofx_schema">
    <antcall target="clean-ofx"/>
    <delete dir="${ofx-jaxb-src.dir}"/>
    <mkdir dir="${ofx-jaxb-src.dir}" />
    <xjc schema="${schema.dir}/ofx102.xsd" package="com.xxx.ofx102" target="${ofx-jaxb-src.dir}">
    <arg value="-nv" />
    <arg value="-extension" />
    </xjc>
    </target>
    I get the error from NetBeans console,
    Class org.xml.sax.SAXException loaded from parent loader (parentFirst)
    Class java.io.IOException loaded from parent loader (parentFirst)
    D:\appserver\build.xml:797: unable to parse the schema. Error messages should have been provided
    at com.sun.tools.xjc.XJCTask._doXJC(XJCTask.java:334)
    at com.sun.tools.xjc.XJCTask.doXJC(XJCTask.java:283)
    at com.sun.tools.xjc.XJCTask.execute(XJCTask.java:227)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:217)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:236)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
    BUILD FAILED (total time: 4 seconds)
    Could not load class (org.apache.tools.ant.tasksdefs.cvslib.CvsVersion) for type cvsversion
    Could not load class (org.apache.tools.ant.tasksdefs.cvslib.CvsVersion) for type cvsversion
    And when I run the Ant task from the command line, I don't get the error at all.
    Any help is greatly appreciated.

    That was a great finding from you. Thank you.
    I followed your alternative approach and updated the ant.jar file. The "Could not load class..." error went away but the stack trace still remains. Now I am clueless again since I have ant on the debug mode and can't find any more useful info.
    Class com.sun.tools.xjc.reader.internalizer.LocatorTable loaded from ant loader (parentFirst)
    Class java.util.HashSet loaded from parent loader (parentFirst)
    Class javax.xml.parsers.DocumentBuilderFactory loaded from parent loader (parentFirst)
    Couldn't load Resource org/netbeans/core/xml/DOMFactoryImpl.class
    Couldn't load ResourceStream for META-INF/services/javax.xml.parsers.DocumentBuilderFactory
    Class org.apache.crimson.jaxp.DocumentBuilderFactoryImpl loaded from parent loader (parentFirst)
    Class javax.xml.parsers.SAXParserFactory loaded from parent loader (parentFirst)
    Couldn't load Resource org/netbeans/core/xml/SAXFactoryImpl.class
    Couldn't load ResourceStream for META-INF/services/javax.xml.parsers.SAXParserFactory
    Class org.apache.crimson.jaxp.SAXParserFactoryImpl loaded from parent loader (parentFirst)
    Class javax.xml.parsers.DocumentBuilder loaded from parent loader (parentFirst)
    Class java.util.Map loaded from parent loader (parentFirst)
    Class javax.xml.parsers.SAXParser loaded from parent loader (parentFirst)
    Finding class com.sun.tools.xjc.reader.xmlschema.parser.XMLSchemaInternalizationLogic$ReferenceFinder
    Loaded from D:\bbw\build\Common_3.6\Packaged\appserver\lib\jaxb\jaxb-xjc.jar com/sun/tools/xjc/reader/xmlschema/parser/XMLSchemaInternalizationLogic$ReferenceFinder.class
    Finding class com.sun.tools.xjc.reader.internalizer.AbstractReferenceFinderImpl
    Loaded from D:\bbw\build\Common_3.6\Packaged\appserver\lib\jaxb\jaxb-xjc.jar com/sun/tools/xjc/reader/internalizer/AbstractReferenceFinderImpl.class
    Class org.xml.sax.helpers.XMLFilterImpl loaded from parent loader (parentFirst)
    Class com.sun.tools.xjc.reader.internalizer.AbstractReferenceFinderImpl loaded from ant loader (parentFirst)
    Class com.sun.tools.xjc.reader.xmlschema.parser.XMLSchemaInternalizationLogic$ReferenceFinder loaded from ant loader (parentFirst)
    Class org.xml.sax.XMLFilter loaded from parent loader (parentFirst)
    Finding class com.sun.tools.xjc.reader.internalizer.VersionChecker
    Loaded from D:\bbw\build\Common_3.6\Packaged\appserver\lib\jaxb\jaxb-xjc.jar com/sun/tools/xjc/reader/internalizer/VersionChecker.class
    Class com.sun.tools.xjc.reader.internalizer.VersionChecker loaded from ant loader (parentFirst)
    Finding class com.sun.tools.xjc.reader.internalizer.DOMBuilder
    Loaded from D:\bbw\build\Common_3.6\Packaged\appserver\lib\jaxb\jaxb-xjc.jar com/sun/tools/xjc/reader/internalizer/DOMBuilder.class
    Finding class com.sun.xml.bind.marshaller.SAX2DOMEx
    Loaded from D:\bbw\build\Common_3.6\Packaged\appserver\lib\jaxb\jaxb-impl.jar com/sun/xml/bind/marshaller/SAX2DOMEx.class
    Class org.xml.sax.ContentHandler loaded from parent loader (parentFirst)
    Class com.sun.xml.bind.marshaller.SAX2DOMEx loaded from ant loader (parentFirst)
    Class com.sun.tools.xjc.reader.internalizer.DOMBuilder loaded from ant loader (parentFirst)
    Class java.util.Stack loaded from parent loader (parentFirst)
    Class org.w3c.dom.Document loaded from parent loader (parentFirst)
    Class org.xml.sax.XMLReader loaded from parent loader (parentFirst)
    Class org.w3c.dom.Node loaded from parent loader (parentFirst)
    Class org.w3c.dom.Element loaded from parent loader (parentFirst)
    Class javax.xml.parsers.ParserConfigurationException loaded from parent loader (parentFirst)
    Class org.xml.sax.SAXException loaded from parent loader (parentFirst)
    Class java.io.IOException loaded from parent loader (parentFirst)
    D:\bbw\build\Common_3.6\Packaged\appserver\build.xml:799: unable to parse the schema. Error messages should have been provided
    at com.sun.tools.xjc.XJCTask._doXJC(XJCTask.java:334)
    at com.sun.tools.xjc.XJCTask.doXJC(XJCTask.java:283)
    at com.sun.tools.xjc.XJCTask.execute(XJCTask.java:227)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:217)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:236)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
    BUILD FAILED (total time: 1 second)
    Any suggestions? BTW, I did not upgrade NetBeans to v5.5 due that my code is still JDK1.4 based.

  • Compilation error while calling static method from another class

    Hi,
    I am new to Java Programming. I have written two class files Dummy1 and Dummy2.java in the same package Test.
    In Dummy1.java I have declared a static final variable and a static method as you can see it below.
    package Test;
    import java.io.*;
    public class Dummy1
    public static final int var1= 10;
    public static int varDisp(int var2)
    return(var1+var2);
    This is program is compiling fine.
    I have called the static method varDisp from the class Dummy2 and it is as follows
    package Test;
    import java.io.*;
    public class Dummy2
    public int var3=15;
    public int test=0;
    test+=Dummy1.varDisp(var3);
    and when i compile Dummy2.java, there is a compilation error <identifier > expected.
    Please help me in this program.

    public class Dummy2
    public int var3=15;
    public int test=0;
    test+=Dummy1.varDisp(var3);
    }test+=Dummy1.varDisplay(var3);
    must be in a method, it cannot just be out somewhere in the class!

  • Compiler error when useing switch statements in an inner class

    I have defined several constants in a class and want to use this constans also in an inner class.
    All the constants are defined as private static final int.
    All works fine except when useing the switch statement in the inner class. I get the compiler error ""constant expression required". If I change the definition from private static final to protected static final it works, but why?
    What's the difference?
    Look at an example:
    public class Switchtest
       private static final int AA = 0;     
       protected static final int BB = 1;     
       private static int i = 0;
       public Switchtest()
          i = 0; // <- OK
          switch(i)
             case AA: break; //<- OK, funny no problem
             case BB: break; //<- OK
             default: break;
      private class InnerClass
          public InnerClass()
             i = 0; // <- OK: is accessible
             if (AA == i) // <- OK: AA is seen by the inner class; i  is also accessible
                i = AA + 1;
             switch(i)
                case AA: break; // <- STRANGE?! Fail: Constant expression required
                case BB: break; // <- OK
                default: break;
    }Thank's a lot for an explanation.

    Just a though:
    Maybe some subclass of Switchtest could decalare its own variable AA that is not final, but it can not declare its own BB because it is visible from the superclass. Therefore the compiler can not know for sure that AA is final.

  • Compilation Error: "class or interface expected" for simple EAR???

    Dear all,
    I have access to the customers NW CE 7.1 SP07 and of course I am using the corresponding NWDS 7.1 SP07 that comes with this CE installation. I am trying to study JEE 5 @ SAP and I have created a very simple Application (from the Book http://www.sap-press.de/katalog/buecher/titel/gp/titelID-1480).
    In NWDS I have created the following 4 projects:
    1. Dictionary Project
    Describes 2 Tables (TMP_EMPLOYEES and TMP_ID_GEN)
    2. EJB 5 Project
    Contains a stateless EJB + local business interface + Entity class.
    The EJB accesses the entity class, which is mapped to a simple table (TMP_EMPLOYEES).
    3. Dynamic Web Project
    Contains actually only one JSP (index.jsp) which allows to the local business interface for creating a new Entity.
    4. Enterprise Application Project (EAR)
    Creates a package from 2. and 3.
    I have successfully deployed both the Dictionary Project and the EAR (all to the same server).
    But If I call the corresponding URL via web browser I get the following error:
    500   Internal Server Error
    "Error in compiling [/EmployeeWeb/index.jsp] in application [sap.com/EmployeeEar]."
    Details: "The WebApplicationException log ID is [005056841108002A00000070000007AC0139C8D8862D3EED]."
    In the "Log Viewer" of the "SAP NetWeaver Administrator" (via browser...) I have found the following:
    Message: Processing HTTP request to servlet [jsp] finished with error.
    The error is: com.sap.engine.services.servlets_jsp.server.jsp.exceptions.CompilingException: Error in executing the compilation process: [ Compilation Failed! Exit Code=1
    Command line executed: D:\usr\sap\CED\J00\exe\sapjvm_5\bin\\javac -source 1.5 -target 1.5 -encoding UTF-8 -d "D:\usr\sap\CED\J00\j2ee\cluster\apps\sap.com\EmployeeEar\servlet_jsp\EmployeeWeb\work" -sourcepath "D:\usr\sap\CED\J00\j2ee\cluster\apps\sap.com\EmployeeEar\servlet_jsp\EmployeeWeb\work\;" -classpath ".;D:\usr\sap\CED\J00\exe\jstartup.jar;D:\usr\sap\CED\J00\exe\sapjvm_5\lib\jvmx.jar;D:\usr\sap\CED\J00\exe\jre\lib\iqlib.jar;D:\usr\sap\CED\J00\exe\sapjvm_5\lib\tools.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\boot\sap.com~tc~bl~jkernel_boot~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\boot\jaas.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~bytecode~library.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\boot\memoryanalyzer.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\jperflib.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\jta.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~bytecode~library.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~cache_api~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~frame~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~gui~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~iqlib~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jdsr~jdsr.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jkernel_cache~frame.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jkernel_classload~frame.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jkernel_cluster~frame.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jkernel_configuration~frame.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jkernel_database~frame.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jkernel_licensing~frame.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jkernel_locking~frame.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jkernel_log~api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jkernel_pool~frame.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jkernel_service~frame.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jkernel_thread~frame.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~jkernel_util~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~bl~opensqlkernel~implOpenSQLFrame.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~exception~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~je~sessionmgmt~api_assembly.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~logging~java~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\sap.com~tc~logging~java~implPerf.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\system\vmc_storage_provider.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\timeout\sap.com~tc~je~timeout~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\servlet\servlet.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\cross_api\sap.com~tc~je~cross_api~API.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\core_lib\sap.com~tc~antlr~runtime.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\core_lib\sap.com~tc~bl~config~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\core_lib\sap.com~tc~bl~cpt~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\core_lib\sap.com~tc~bl~jarm~jarm.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\core_lib\sap.com~tc~bl~opensqlkernel~implOpenSQL.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\core_lib\sap.com~tc~bl~opensqlkernel~implOpenSQLPort.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\core_lib\sap.com~tc~dd~db~dictionarydatabase~implDictionaryDatabase.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\core_lib\sap.com~tc~je~bootstrap_core_lib~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\core_lib\sap.com~tc~sec~secstorefs~java~core.jar;D:\usr\sap\CED\J00\exe\mssjdbc\sqljdbc.jar;D:\usr\sap\CED\SYS\global\security\lib\engine\iaik_jce.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\log\sap.com~tc~je~log_api~API.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\mail-activation-iaik\mail.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\mail-activation-iaik\sap.com~tc~je~javamail_lib~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\mail-activation-iaik\activation.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\mail-activation-iaik\iaik_jsse.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\mail-activation-iaik\iaik_smime.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\mail-activation-iaik\iaik_ssl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\mail-activation-iaik\w3c_http.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\com.sap.security.api.sda\sap.com~tc~sec~ume~api~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\com.sap.security.api.sda\sap.com~tc~sec~ume~perm~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\security_api\sap.com~tc~je~security_api~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\shell\sap.com~tc~je~shell_api~API.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\cross\sap.com~tc~je~cross~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\visual_administration\sap.com~tc~bl~visual_administration~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\shell\sap.com~tc~je~shell~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\p4\sap.com~tc~je~p4~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\sapxmltoolkit\sap.com~tc~sapxmltoolkit~sapxmltoolkit.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\jts\jts.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~jmx\sap.com~tc~bl~pj_jmx~Impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~mmodel~lib\sap.com~tc~je~mmodel~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\appcontext_api\sap.com~tc~je~appcontext_api~API.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\naming\sap.com~tc~je~naming~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\j2eeca\connector.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\idl\idl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\resourceset_api\sap.com~tc~bl~resourceset~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\resourcecontext_api\sap.com~tc~bl~resourcecontext~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~bl~txmanager~plb\sap.com~tc~bl~txmanagerimpl~plb~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\transactionext_api\sap.com~tc~bl~transactionext~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\ts\sap.com~tc~je~ts~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\csiv2_api\sap.com~tc~bl~csiv2~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\iiop\sap.com~tc~je~iiop~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\file\sap.com~tc~je~file~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\com.sap.tc.Logging\sap.com~tc~logging~standard~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~bcanalysis\sap.com~tc~je~bcanalysis~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~bl~reference_graph\lib\tc~bl~reference_graph_api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\container_api\sap.com~tc~je~container_api~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\webservices\sap.com~tc~je~webservices_api~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\com.sap.util.monitor.jarm\sap.com~tc~bl~jarmsat~jarmsat.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~i18n~verify~intf\sap.com~tc~i18n~verify~intf~jar~IMPL.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~i18n~cp\sap.com~tc~i18n~cp~jar~IMPL.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~i18n~decfloat\sap.com~tc~i18n~decfloat~jar~IMPL.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~com.sap.conn.jco\sap.com~tc~bl~jco_sapj2ee~runtime.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\com.sap.mw.jco\sap.com~tc~bl~jrfc~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\keystore_api\sap.com~tc~je~keystore_api~API.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\tc~sec~certrevoc~interface\sap.com~tc~sec~certrevoc~interface~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\security.class\sap.com~tc~sec~https~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\security.class\sap.com~tc~sec~compat~core.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\security.class\sap.com~tc~sec~ssf~core.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\security.class\sap.com~tc~sec~jaas~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\security.class\sap.com~tc~sec~saml~toolkit~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\security.class\sap.com~tc~sec~csi~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\security.class\sap.com~tc~sec~util0~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\security.class\sap.com~tc~sec~userstore~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\security.class\sap.com~tc~sec~xmlbind~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\security.class\sap.com~tc~sec~destinations~lib~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\com.sap.guid\sap.com~tc~bl~guidgenerator~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\stax_api\jsr173_1.0_api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\stax_api\sjsxp.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\jaxb20\jaxb-api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\jaxb20\jaxb-xjc.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\jaxb20\jaxb-impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\saaj13\saaj-api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\saaj13\saaj-impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\jaxws_api\jaxws-api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\jws_api\jsr181-api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\javax~annotation~api\annotation-api-1.0.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\compilation_lib\sap.com~tc~bl~compilation~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~bl~base_webservices_lib\sap.com~tc~bl~base_webservices_lib.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~bl~base_webservices_lib\jaxm-api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~bl~base_webservices_lib\jaxrpc-api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~bl~base_webservices_lib\jaxr-api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~bl~base_webservices_lib\jaxws-rt.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~bl~base_webservices_lib\jaxws-tools.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~j2eedescriptors~lib\sap.com~tc~je~j2eedescriptors~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~ejb~metadata~model\lib\sap.com~tc~bl~ejb~metadata~model.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\javax~persistence~api\persistence-api-1.0.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\ejbormapping_api\sap.com~tc~je~ejbormapping_api~API.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~orpersistence~metadata~model\sap.com~tc~bl~orpersistence~metadata~model.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~jlinee~lib\sap.com~tc~jtools~util.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~jlinee~lib\sap.com~tc~jtools~jlin~core.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~jlinee~lib\sap.com~tc~jtools~jlinee~lib.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~jlinee~lib\sap.com~tc~jtools~jlinee~ear.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~jlinee~lib\sap.com~tc~jtools~jlinee~connector.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~jlinee~lib\sap.com~tc~jtools~jlinee~web.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~jlinee~lib\sap.com~tc~jtools~jlinee~ejb.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~jlinee~lib\sap.com~tc~jtools~jlinee~appclient.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~jlinee~lib\sap.com~tc~jtools~jlinee~orpersistence.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\deploy\sap.com~tc~je~deploy~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\jmx_notification\sap.com~tc~je~jmx_notification~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\runtimeinfo\sap.com~tc~je~runtimeinfo~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\jmx\sap.com~tc~je~jmx~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\jmx\sap.com~tc~je~jmx~impl~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\http\sap.com~tc~je~httpserver~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~exprlang~plb\jee5_el.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\ec~java~jstl\jstl-1_2.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~injection~lib\lib\private\tc~je~injection.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\ec~java~jsf\lib\ec~java~jsf_api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\ec~java~jsf\lib\ec~java~jsf~tld.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\ec~java~jsf\lib\private\com-sun-commons-beanutils.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\ec~java~jsf\lib\private\com-sun-commons-collections.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\ec~java~jsf\lib\private\com-sun-commons-digester.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\ec~java~jsf\lib\private\com-sun-commons-logging-api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\ec~java~jsf\lib\private\ec~java~jsf_core.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~je~jacc~plb\jacc-1_1-fr-class.zip;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\classpath_resolver\sap.com~tc~je~classpath_resolver~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\com.sap.ip.basecomps\sap.com~tc~bl~basecomps~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\sdo\lib\sap.com~sdo.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\sdo\lib\sap.com~sdo~api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\sdo\lib\sap.com~sdo~api~extension.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\ejb_api\ejb-3_0-api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\webservices_lib\sap.com~tc~je~webservices_lib~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~i18n~saptimezone\sap.com~tc~i18n~saptimezone~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~i18n~cpbase\sap.com~tc~i18n~cpbase~jar~IMPL.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\com.sap.security.core.sda\sap.com~tc~sec~ume~core~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\com.sap.security.core.sda\sap.com~tc~sec~ume~tpd~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\jms\jms.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\jms\jmsclient.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\com.sap~tc~je~jmsapi\sap.com~tc~je~jmsapi~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\userstore\sap.com~tc~je~userstore~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~SL~utility\sap.com~tc~bl~sl~utility~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\com.sap.exception\sap.com~tc~exception~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc~bl~jarsap~sda\sap.com~tc~bl~jarsap~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\tc~bl~deploy_api\sap.com~tc~bl~deploy~api.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\tc.httpclient\sap.com~tc~clients~http~all.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\tc~sec~destinations~interface\sap.com~tc~sec~destinations~interface_api~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\endpoint_api\sap.com~tc~bl~endpoint~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\connector\sap.com~tc~je~connector~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\antlr\sap.com~tc~antlr~runtime.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\dbpool\sap.com~tc~je~dbpool~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\tc~sec~destinations~provider\sap.com~tc~sec~destinations~provider~java~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\com.sap.security.core.ume.service\sap.com~tc~sec~ume~service~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\sap.com~tc~je~constants~lib\lib\tc~je~constants.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\schemaprocessor~srv\sap.com~tc~je~schemaprocessor.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\tc~je~webcontainer~api\sap.com~tc~je~webcontainer~webcontainer_api_impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\servlet_jsp\sap.com~tc~je~webcontainer~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\objectProfiler\sap.com~tc~bl~objectProfiler~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\tc~je~cachemgmt~srv\sap.com~tc~je~cachemgmt~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\locking\sap.com~tc~je~locking~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\configuration\sap.com~tc~je~configuration~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\basicadmin\sap.com~tc~je~basicadmin~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\basicadmin\jstartupapi.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\basicadmin\jstartupimpl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\adminadapter\sap.com~tc~je~adminadapter~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\security\sap.com~tc~je~security~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\applocking\sap.com~tc~je~applocking~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\ejb20\ejb20.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\ejbqlparser\sap.com~tc~bl~ejbqlparser~lib.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\ejbqlparser\sap.com~tc~bl~ejbqlparser_3_0~lib.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\sqlmapper\sap.com~tc~bl~ejbsqlmapper~implCommonSQLMapper.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\sqlmapper\sap.com~tc~bl~ejbsqlmapper~implSQLMapperAPI.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\interfaces\ejbmonitor_api\sap.com~tc~bl~ejbmonitor~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\services\ejb\sap.com~tc~je~ejb~impl.jar;D:\usr\sap\CED\J00\j2ee\cluster\bin\ext\orpersistence_client_lib\lib\orpersistence_client_lib_api.jar;D:\usr\sap\CED\J00\j2ee\cluster\apps\sap.com\EmployeeEar\orpersistence\jars\EmployeeEjb.jar;D:\usr\sap\CED\J00\j2ee\cluster\apps\sap.com\EmployeeEar\EJBContainer\applicationjars\EmployeeEjb.jar;D:\usr\sap\CED\J00\j2ee\cluster\apps\sap.com\EmployeeEar\servlet_jsp\EmployeeWeb\work;;" -nowarn -g ["D:\usr\sap\CED\J00\j2ee\cluster\apps\sap.com\EmployeeEar\servlet_jsp\EmployeeWeb\work\JEE_jsp_index_8832250_1231538390011_1231538444324.java"]
    Error stream contains:"D:\usr\sap\CED\J00\j2ee\cluster\apps\sap.com\EmployeeEar\servlet_jsp\EmployeeWeb\work\JEE_jsp_index_8832250_1231538390011_1231538444324.java:16: 'class' or 'interface' expected
    import javax.servlet.*;
    ^
    D:\usr\sap\CED\J00\j2ee\cluster\apps\sap.com\EmployeeEar\servlet_jsp\EmployeeWeb\work\JEE_jsp_index_8832250_1231538390011_1231538444324.java:17: 'class' or 'interface' expected
    import javax.servlet.http.*;
    ^
    D:\usr\sap\CED\J00\j2ee\cluster\apps\sap.com\EmployeeEar\servlet_jsp\EmployeeWeb\work\JEE_jsp_index_8832250_1231538390011_1231538444324.java:18: 'class' or 'interface' expected
    import javax.servlet.jsp.*;
    ^
    3 errors
    "].005056841108002A00000070000007AC0139C8D8862D3EED Date: 2009-01-09 Time: 23:00:45:042 Category: /System/Server/WebRequests Location: com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl Application: sap.com/EmployeeEar Thread: HTTP Worker [4] Data Source: j2ee\cluster\server0\log\system\server_00.log Correlator ID: 88322500000038637 Argument Objects: Arguments: DSR Component: n.a. DSR Transaction: 10c493a0de9311dd9631005056841108 DSR User: Message Code: Session: 979 Transaction: User: Guest Host: IMGNWCED System: CED Instance: J00 Node: server0
    As you can see there is some compilation error, it says 3 times "'class' or 'interface' expected". If i remove all the relevant EJB java code from my index.jsp everything works fine. So I guess there must be some problem with finding the resources. Unfortunately this "logging" is not helpful at all (thank you SAP!). In NWDS everything is fine no problems at all!!!
    Who can help me here with this?
    Thanks in Advance

    I have found the issue.
    in the index.jsp I have the following lines:
    <!-- Import Statements -->
    <%@ page import="javax.naming.InitialContext" %>
    <%@ page import="com.sap.demo.session.EmployeeServicesLocal;" %>
    Now check the end of the second import ==> ;
    Removing the semicolon solves the issue. But the SAP error message is still not very helpful to me.

  • Compiler errors when using dynamic text in a class

    I have created a MovieClip with a custom class that has a dynamic text field (called "textArea"), which I want to modify by the Component Inspector, as well as via a custom method using:
    textArea.text = newText;
    It works fine in all cases and there are no problems, but the compiler still wants to give me the error:
    1120: Access of undefined property textArea.
    The error doesn't appear when I remove the component parameters (so that it's just a normal MovieClip). It still works, even with the error, so I'm not sure why it wants to complain. Am I doing something wrong or is it just being bitchy?

    By defining them in the class and using the class name under component definition:
    [Inspectable(name="Text", type=String, defaultValue="")]
    public function set text(setText:String)
         textArea.text = setText;
    public function get text():String
         return textArea.text;
    A problem I run into is that the compiler errors prevent the parameters from being defined so I comment out every line that has to do with textArea, define the component, then uncomment them so that it'll work when it runs.

Maybe you are looking for

  • MRP auto creating and batching releases

    Using standard functionality it's possible for standard Oracle processes to automatically create PO Releases within the Release_Time_Fence_Days. We want to use this functionality, but, the answer it provided was inappropriate. The main issue is that

  • Upgrade from CS5.0 to CS5.5 Worth It?

    If I could get the Warp Stablizer to work on some of my more difficult shots, I'd probably pay the $179 for an After Effects upgrade.   That's the cost of a good plugin. But Premiere?  I don't really see any of the "What's new?" features that make me

  • Elements 9 editor crashes

    I've been using elements 9 for a few months now, and haven't had any problems until recently. When I try to open from a desktop shortcut, the welcom screen doesn't appear. A process is created, but nothing else happens. I can launch the organiser fro

  • A simple question abt URL.

    what is the code that must be given to a button so that when clicked, it goes to a webpage in the same window. I don't want a new window sprouting up to show the webpage. plz help. Thanks in advance.

  • Edited photos not updating on AppleTV

    I have a problem with photos that I have edited on iphoto08 not updating on my apple TV. The original un-edited photo remains! Any ideas? Thanks Glenn