IBM Support

PI33492: JARS PLACED INTO THE SERVER/LIB FOLDER OF THE PROJECT ARE NOT ADDED TO THE BUILD CLASSPATH.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • JARs placed into the
    project's server/lib folder should be made available on the
    classpath when building the project WAR.  However, this is not
    the case, and when trying to build custom Java code that depends
    on such JARs, the build operation fails.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * IBM MobileFirst developers using the MobileFirst Command     *
    * Line Interface to build their applications that have Java    *
    * code placed under <project>/server/java, when that Java code *
    * has a dependency on JAR files placed in                      *
    * <project>/server/lib.                                        *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When using the IBM MobileFirst Command Line Interface, JAR   *
    * files placed under <project>/server/lib will not be on the   *
    * classpath when running any command that results in building  *
    * the project WAR (for example, 'mfp start').  This will       *
    * result in compilation errors saying that classes contained   *
    * in the JAR files under <project>/server/lib could not be     *
    * resolved.                                                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • The MobileFirst Command Line Interface has been updated to
    automatically include the <project>/server/lib folder on the
    Java classpath when compiling Java code found in
    <project>/server/java.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI33492

  • Reported component name

    WL/MFPF CONSUME

  • Reported component ID

    5725I4301

  • Reported release

    630

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-01-26

  • Closed date

    2015-04-20

  • Last modified date

    2015-04-20

  • 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

    WL/MFPF CONSUME

  • Fixed component ID

    5725I4301

Applicable component levels

  • R630 PSY

       UP

  • R700 PSY

       UP

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

Document Information

Modified date:
17 October 2021