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
Expand all | Collapse all

Java Source Compilation

  • 1.  Java Source Compilation

    Posted Thu November 18, 2004 10:45 PM

    Hello I am trying to write a comparator class so that I can do some record sorting. In order to do this I was trying to the complie 2 java files I wrote. Unfortunately when I try this the com.wm.data.* packages do not import… I get the following errors:
    D:\webMethods601\IntegrationServer\packages\lgeFF3\code\source\lgeFF3>javac comm
    onArray.java
    commonArray.java:2: package com.wm.data does not exist
    import com.wm.data.*;
    ^
    commonArray.java:16: cannot resolve symbol
    symbol : class IData
    location: class lgeFF3.commonArray
    public static void sort(IData recordArray){
    ^
    commonArray.java:17: cannot resolve symbol
    symbol : class commonComparator
    location: class lgeFF3.commonArray
    commonComparator c = new commonComparator();
    ^
    commonArray.java:17: cannot resolve symbol
    symbol : class commonComparator
    location: class lgeFF3.commonArray
    commonComparator c = new commonComparator();
    ^
    4 errors

    Any ideas as to what I am doing wrong.
    Thanks in advance
    Regards
    JN


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


  • 2.  RE: Java Source Compilation

    Posted Thu November 18, 2004 11:06 PM

    Hello,
    I guess you are using an external IDE. I think you need the client.jar and server.jar files in your classpath from the Integration Server lib folder.


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