NoClassDefFoundError For WebProducerConnection When Starting Up JDeveloper 11g With Webcenter Extension. (Doc ID 1213464.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle JDeveloper - Version: 11.1.1.3.0 and later   [Release: No Release Description and later ]
Information in this document applies to any platform.

Symptoms

Starting up JDeveloper 11.1.1.3.0 fails with the following error message:


java.lang.NoClassDefFoundError: oracle/portlet/client/connection/web/WebProducerConnection
o.webcenter.internal.dt.config.ConnectionContextListener.<clinit>(ConnectionContextListener.java:81)
o.webcenter.internal.dt.addin.WebCenterFrameworkAddin$1.rescatContextRegistered(WebCenterFrameworkAddin.java:237)
o.j.rescat2.RescatContextRegistry.notifyContextRegistered(RescatContextRegistry.java:328)
o.j.rescat2.RescatContextRegistry.registerContext(RescatContextRegistry.java:93)
o.adf.share.dt.AppConnContext.getRescatContext(AppConnContext.java:221)
o.adf.share.dt.ApplicationConnectionsNode.applicationChanged(ApplicationConnectionsNode.java:94)
o.j.appresources.ApplicationResourcesWindow.notifyApplicationChanged(ApplicationResourcesWindow.java:298)
o.j.appresources.ApplicationResourcesNode.applicationChanged(ApplicationResourcesNode.java:66)
o.j.appresources.ApplicationResourcesWindow.applicationChanged(ApplicationResourcesWindow.java:236)
o.i.navigator.ApplicationNavigatorWindow.fireApplicationChangeEventImpl(ApplicationNavigatorWindow.java:990)
o.i.navigator.ApplicationNavigatorWindow.fireApplicationChangeEvent(ApplicationNavigatorWindow.java:974)
o.i.navigator.ApplicationNavigatorWindow.access$200(ApplicationNavigatorWindow.java:100)
o.i.navigator.ApplicationNavigatorWindow$1L.itemStateChanged(ApplicationNavigatorWindow.java:263)
jx.s.JComboBox.fireItemStateChanged(JComboBox.java:1205)
...
Caused by:
oracle.classloader.util.AnnotatedClassNotFoundException:

Missing class: oracle.portlet.client.connection.web.WebProducerConnection

Dependent class: oracle.webcenter.internal.dt.config.ConnectionContextListener
Loader: ide-global:11.1.1.0.0
Code-Source: /C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.webcenter.common.jar
Configuration: extension jar in C:\Oracle\Middleware\jdeveloper\jdev\extensions

This load was initiated at ide-global:11.1.1.0.0 using the loadClass() method.

The missing class is not available from any code-source or loader in the system.
o.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2190)
o.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1733)
o.classloader.PolicyClassLoader.access$000(PolicyClassLoader.java:143)
o.classloader.PolicyClassLoader$LoadClassAction.run(PolicyClassLoader.java:331)
j.security.AccessController.doPrivileged(Native Method)
o.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1692)
o.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1674)
o.webcenter.internal.dt.config.ConnectionContextListener.<clinit>(ConnectionContextListener.java:81)
o.webcenter.internal.dt.addin.WebCenterFrameworkAddin$1.rescatContextRegistered(WebCenterFrameworkAddin.java:237)
o.j.rescat2.RescatContextRegistry.notifyContextRegistered(RescatContextRegistry.java:328)
o.j.rescat2.RescatContextRegistry.registerContext(RescatContextRegistry.java:93)
...
Failed to load a window
java.lang.NoClassDefFoundError: Could not initialize class oracle.webcenter.internal.dt.config.ConnectionContextListener
o.webcenter.internal.dt.addin.WebCenterFrameworkAddin$1.rescatContextRegistered(WebCenterFrameworkAddin.java:237)
o.j.rescat2.RescatContextRegistry.notifyContextRegistered(RescatContextRegistry.java:328)
...
oracle.adf.rc:Sep 17, 2010 8:52:00 AM oracle.jdevimpl.rescat2.hook.DTExtensionLoader loadAdapters()
WARNING: error while registering resource catalog adapter factory [oracle.webcenter.content.internal.model.rc.ContentInitialContextFactory] for connection type [oracle.webcenter.content.internal.model.rc.ContentConnectionType]
oracle.classloader.util.AnnotatedClassNotFoundException:

Missing class: oracle.webcenter.content.internal.model.rc.ContentConnectionType

Dependent class: oracle.jdevimpl.rescat2.hook.DTExtensionLoader
Loader: ide-global:11.1.1.0.0
Code-Source: /C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.jdevimpl.rescat2.jar
Configuration: extension jar in C:\Oracle\Middleware\jdeveloper\jdev\extensions

This load was initiated at ide-global:11.1.1.0.0 using the Class.forName() method.
...

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