Knowledge Base Authoring Flows, Preventive Maintenance Error: "java.lang.NoClassDefFoundError: oracle/classloader/util/AnnotatedLinkageError" Opening HTML Pages (Doc ID 1559504.1)

Last updated on OCTOBER 19, 2016

Applies to:

Oracle Knowledge Management - Version 12.1.1 to 12.1.3 [Release 12.1]
Oracle Field Service - Version 12.1.1 to 12.1.3 [Release 12.1]
Information in this document applies to any platform.

Symptoms

Encountered issues when accessing certain pages in CRM pages.

1. When selecting the Authoring Flows tab from within the Knowledge Base Administration responsibility, the HTML page does not display.
   When clicking on the tab, an error appears.
   Also receiving the same error on the Authoring Flows, Types and Time Periods pages for Knowledge Management Administration setup.

2. When accessing the Preventive Maintenance - Route Maintenance page, similar error appears too.

Steps:

(R) Knowledge Administrator
(N) Knowledge Management > Knowledge > Setup > Authoring flows

(R) Field Service
(N) Preventive Maintenance > Engineering > Route Maintenance > Routes

Error:

java.lang.NoClassDefFoundError: oracle/classloader/util/AnnotatedLinkageError.

Error Message:
The following error occurred:

 oracle.classloader.util.AnnotatedLinkageError: loader (instance of oracle/classloader/PolicyClassLoader):
 attempted duplicate class definition for name: "oracle/jdbc/OracleConnection"
 Invalid class: oracle.jdbc.OracleConnection
 Loader       : oacore.root:0.0.0

 Code-Source: /u01/app/appconv/appps/apps_st/comn/java/classes/sendLPRCopy2.jar
 Configuration: in /u01/app/appconv/appps/apps_st/comn/webapps/oacore/
 Dependent class: _cskwfl
 Loader: oacore.web.html.jsp4922317:0.0.0
 Code-Source: /u01/app/appconv/appps/apps_st/comn/_pages/
 Configuration: *.jsp in /u01/app/appconv/appps/apps_st/comn/_pages

 The original class instance was defined in the shared-library oracle.jdbc:10.2.0.2, and oacore.web.html.jsp4922317:0.0.0 does import that loader.
 This may be a search-order problem.

 No further information.

-OR-

java.lang.NoClassDefFoundError: oracle/classloader/util/AnnotatedLinkageError.

Error Message:
The following error occurred:

oracle.classloader.util.AnnotatedLinkageError: loader (instance of oracle/classloader/PolicyClassLoader):
attempted duplicate class definition for name: "oracle/jdbc/OracleConnection"
Invalid class: oracle.jdbc.OracleConnection
Loader: oacore.root:0.0.0

Code-Source    : /u01/app/appcrp3/apps/apps_st/comn/java/classes/sendLPRCopy2.jar
Configuration  : <library> in /u01/app/appcrp3/apps/apps_st/comn/webapps/oacore/
Dependent class: _ahlrmSearchRouteMain
Loader         : oacore.web.html.jsp32433147:0.0.0 Code-Source: /u01/app/appcrp3/apps/apps_st/comn/_pages/
Configuration  : *.jsp in /u01/app/appcrp3/apps/apps_st/comn/_pages

The original class instance was defined in the shared-library oracle.jdbc:10.2.0.2, and oacore.web.html.jsp32433147:0.0.0 does import that loader.
This may be a search-order problem.

No further information.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms