Fixes are available
9.0.0.2: WebSphere Application Server traditional V9.0 Fix Pack 2
9.0.0.3: WebSphere Application Server traditional V9.0 Fix Pack 3
9.0.0.4: WebSphere Application Server traditional V9.0 Fix Pack 4
9.0.0.5: WebSphere Application Server traditional V9.0 Fix Pack 5
9.0.0.6: WebSphere Application Server traditional V9.0 Fix Pack 6
9.0.0.7: WebSphere Application Server traditional V9.0 Fix Pack 7
9.0.0.8: WebSphere Application Server traditional V9.0 Fix Pack 8
9.0.0.9: WebSphere Application Server traditional V9.0 Fix Pack 9
9.0.0.10: WebSphere Application Server traditional V9.0 Fix Pack 10
9.0.0.11: WebSphere Application Server traditional V9.0 Fix Pack 11
9.0.5.0: WebSphere Application Server traditional Version 9.0.5 Refresh Pack
9.0.5.1: WebSphere Application Server traditional Version 9.0.5 Fix Pack 1
9.0.5.2: WebSphere Application Server traditional Version 9.0.5 Fix Pack 2
9.0.5.3: WebSphere Application Server traditional Version 9.0.5 Fix Pack 3
9.0.5.4: WebSphere Application Server traditional Version 9.0.5 Fix Pack 4
9.0.5.5: WebSphere Application Server traditional Version 9.0.5 Fix Pack 5
WebSphere Application Server traditional 9.0.5.6
9.0.5.7: WebSphere Application Server traditional Version 9.0.5 Fix Pack 7
9.0.5.8: WebSphere Application Server traditional Version 9.0.5.8
9.0.5.9: WebSphere Application Server traditional Version 9.0.5.9
9.0.5.10: WebSphere Application Server traditional Version 9.0.5.10
9.0.5.11: WebSphere Application Server traditional Version 9.0.5.11
APAR status
Closed as program error.
Error description
JAXRS 1.1 and 2.0 clients do not contain javax.annotation.* classes as expected. As a result, ClassNotFoundException such as the following may occur: Exception in thread "main" java.lang.NoClassDefFoundError: javax/annotation/Priority at org.apache.cxf.jaxrs.utils.AnnotationUtils.getBindingPriority(An notationUtils.java:85) at org.apache.cxf.jaxrs.impl.ConfigurableImpl.register(Configurable Impl.java:69) at org.apache.cxf.jaxrs.client.spec.ClientImpl.register(ClientImpl. java:172) at org.apache.cxf.jaxrs.client.spec.ClientImpl.register(ClientImpl. java:49) at Test.main(Test.java:15) Caused by: java.lang.ClassNotFoundException: javax.annotation.Priority at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 5 more
Local fix
Add endorsed/endorsed_apis_9.0.jar to the classpath.
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server JAX-RS thin client jars * **************************************************************** * PROBLEM DESCRIPTION: A J2SE application that uses one * * of the JAX-RS thin client jars * * fails with ClassNotFoundException: * * javax.annotation.Priority * **************************************************************** * RECOMMENDATION: * **************************************************************** A J2SE application that uses one of the JAX-RS thin client jars fails with ClassNotFoundException: javax.annotation.Priority This is due to missing classes.
Problem conclusion
The Jar files are updated so that they now contain the missing classes. The fix for this APAR is currently targeted for inclusion in fix pack 9.0.0.2. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
Add runtimes\endorsed\endorsed_apis_9.0.jar to the classpath.
Comments
APAR Information
APAR number
PI67526
Reported component name
WEBSPHERE APP S
Reported component ID
5724J0800
Reported release
900
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-08-12
Closed date
2016-11-11
Last modified date
2016-11-11
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
WEBSPHERE APP S
Fixed component ID
5724J0800
Applicable component levels
R900 PSY
UP
Document Information
Modified date:
04 May 2022