IBM Support

PH10542: JAVA.LANG.NOCLASSDEFFOUNDERROR: COM.IBM.WEBSPHERE.CSI.J2EENAME

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Below Error is seen when the issue happens
    
    [3/23/19 13:56:56:811 GMT] 00000070 SpringApplica E
    org.springframework.boot.SpringApplication reportFailure
    Application run failed
    java.lang.NoClassDefFoundError:
    com.ibm.websphere.csi.J2EEName
    at java.lang.Class.getDeclaredFieldsImpl(Native Method)
    at java.lang.Class.getDeclaredFields(Class.java:868)
    at
    net.sf.ehcache.pool.sizeof.ObjectGraphWalker.getAllFields(Object
    GraphWalker.java:266)
    
    Caused by: java.lang.ClassNotFoundException:
    com.ibm.websphere.csi.J2EEName cannot be found by
    com.ibm.ws.jaxrs20_9.0.0
    at
    org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(
    BundleLoader.java:501)
    at
    org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLo
    ader.java:421)
    at
    org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLo
    ader.java:412)
    at
    org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadCla
    ss(DefaultClassLoader.java:107
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All JAXRS users of IBM WebSphere            *
    *                  Application Server                          *
    ****************************************************************
    * PROBLEM DESCRIPTION: Running Class.getDeclaredMethods() on   *
    *                      JaxRsModuleMetaData results in          *
    *                      NoClassDefFoundError                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Attempting to run Class.getDeclaredMethods() on
    JaxRsModuleMetaData fails to load
    com.ibm.websphere.csi.J2EENAME resulting in a
    NoClassDefFoundError. This occurs because
    com.ibm.websphere.csi is not listed as a package to be
    imported.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH10542

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-04-04

  • Closed date

    2019-05-29

  • Last modified date

    2019-06-18

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
01 November 2021