IBM Support

PI45283: JAVA ADAPTERS DO NOT COMPILE IF THEY IMPORT CLASSES THAT EXIST IN JAR FILES IN THE <PROJECT>/SERVER/LIB FOLDER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If the customer imports classes that exist in the
    <project>/server/lib folder in one of their Java adapter
    classes, that adapter will fail to compile as it will not be
    able to resolve the imported class.  The reason is that
    <project>/server/lib is not on the classpath when compiling Java
    adapters.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * IBM MobileFirst Platform Foundation developers building Java *
    * adapters using IBM MobileFirst Platform Foundatoin Studio or *
    * the Command Line Interface                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Java adapters which import classes defined in a JAR file in  *
    * the <project>/server/lib folder will not compile. The        *
    * compilation error will be that the class defined in the JAR  *
    * file cannot be resolved. The underlying reason for this is   *
    * that JAR files placed in <project>/server/lib are not on the *
    * classpath when compiling Java adapters.                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * NONE                                                         *
    ****************************************************************
    

Problem conclusion

  • The fix ensures that JAR files placed in <project>/server/lib
    are automatically on the classpath when compiling Java adapters
    using MobileFirst Studio or the Command Line Interface.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI45283

  • Reported component name

    MFPF/WORKLIGHT

  • Reported component ID

    5725I4301

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-07-20

  • Closed date

    2015-07-23

  • Last modified date

    2015-07-23

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    MFPF/WORKLIGHT

  • Fixed component ID

    5725I4301

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"700","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 October 2021