IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Java cannot resolve symbol

    Posted Wed March 12, 2003 06:22 PM

    Hello all,
    I was just following the tutorial,there is one to create
    java service called log data,when i try to save i get this
    following error.
    Any help is appreciated.
    IS server 4.6 developer 4.6
    JDK 1.4.1
    w2k

    Thanks
    -V

    The source was saved, but was not compiled due to the
    following errors:
    C:\Program
    Files\webMethods\IntegrationServer4\packages\Default\code\source\Bitterroot.java:42: cannot resolve symbol

    symbol : variable StringGSG_ack_number

    location: class Bitterroot

    StringGSG_ack_number = (String) pipelineCursor.getValue();

                ^ 
    

    C:\Program
    Files\webMethods\IntegrationServer4\packages\Default\code\source\Bitterroot.java:44: cannot resolve symbol

    symbol : variable Stringtransaction_number

    location: class Bitterroot

    Stringtransaction_number =

                ^ 
    

    C:\Program
    Files\webMethods\IntegrationServer4\packages\Default\code\source\Bitterroot.java:49: cannot resolve symbol

    symbol : variable StringCurr_Dir

    location: class Bitterroot

    StringCurr_Dir = System.getProperty(“user.dir”);

                ^ 
    

    C:\Program
    Files\webMethods\IntegrationServer4\packages\Default\code\source\Bitterroot.java:50: cannot resolve symbol

    symbol : variable StringFile_Sep

    location: class Bitterroot

    StringFile_Sep = System.getProperty(“file.separator”);

                ^ 
    

    C:\Program
    Files\webMethods\IntegrationServer4\packages\Default\code\source\Bitterroot.java:51: cannot resolve symbol

    symbol : variable StringThis_Package

    location: class Bitterroot

    StringThis_Package =

                ^ 
    

    C:\Program
    Files\webMethods\IntegrationServer4\packages\Default\code\source\Bitterroot.java:53: cannot resolve symbol

    symbol : variable Curr_Dir

    location: class Bitterroot

    String Pub_Dir = Curr_Dir + File_Sep +

                                 ^ 
    

    C:\Program
    Files\webMethods\IntegrationServer4\packages\Default\code\source\Bitterroot.java:53: cannot resolve symbol

    symbol : variable File_Sep

    location: class Bitterroot

    String Pub_Dir = Curr_Dir + File_Sep +

                                            ^ 
    

    C:\Program
    Files\webMethods\IntegrationServer4\packages\Default\code\source\Bitterroot.java:54: cannot resolve symbol

    symbol : variable File_Sep

    location: class Bitterroot

    “packages” + File_Sep + This_Package + File_Sep + “pub”;

                             ^ 
    

    C:\Program
    Files\webMethods\IntegrationServer4\packages\Default\code\source\Bitterroot.java:54: cannot resolve symbol

    symbol : variable This_Package

    location: class Bitterroot

    “packages” + File_Sep + This_Package + File_Sep + “pub”;

                                        ^ 
    

    C:\Program
    Files\webMethods\IntegrationServer4\packages\Default\code\source\Bitterroot.java:54: cannot resolve symbol

    symbol : variable File_Sep

    location: class Bitterroot

    “packages” + File_Sep + This_Package + File_Sep + “pub”;

                                                       ^ 
    

    C:\Program
    Files\webMethods\IntegrationServer4\packages\Default\code\source\Bitterroot.java:55: cannot resolve symbol

    symbol : variable File_Sep

    location: class Bitterroot

    String Log_File = Pub_Dir + File_Sep + “log.txt”;

                                            ^ 
    

    C:\Program
    Files\webMethods\IntegrationServer4\pa


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 2.  RE: Java cannot resolve symbol

    Posted Wed March 12, 2003 06:23 PM

    Use JVM 1.3.1, you will be far happier.

    Ray


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 3.  RE: Java cannot resolve symbol

    Posted Wed March 12, 2003 06:23 PM

    Change:

    StringGSG_ack_number to String GSG_ack_Number
    Stringtransaction_number to String transaction_number
    StringCurr_Dir to String Curr_Dir
    StringFile_Sep to String File_Sep
    StringThis_Package to String This_Package

    You simply missed a space between the variable type and the
    variable name for many of the declarations.


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 4.  RE: Java cannot resolve symbol

    Posted Wed March 12, 2003 07:16 PM

    Hi Rob,
    It workedbut still i am getting one more error.
    Reg
    -v

    d:\Program Files\webMethods\IntegrationServer4\packages\Default\code\source\Bitterroot.java:69: package system does not exist

    log.write( system.get.Property(“line.separator”) );

                                 ^ 
    

    Note: d:\Program Files\webMethods\IntegrationServer4\packages\Default\code\source\Bitterroot.java uses or overrides a deprecated API.

    Note: Recompile with -deprecation for details.

    1 error


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 5.  RE: Java cannot resolve symbol

    Posted Wed March 12, 2003 11:57 PM


  • 6.  RE: Java cannot resolve symbol

    Posted Thu March 13, 2003 07:04 AM

    Hi Ajay,
    It did not help,i hope case really doesn’t matter here.
    Reg
    -venkat


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 7.  RE: Java cannot resolve symbol

    Posted Thu March 13, 2003 07:07 AM

    Hi Ajay,
    Never mind,i change from System.get.Property to
    System.getProperty it worked.
    Bear with me i am newbee
    Yes case matters.
    -V


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods