WebCenter Portal Extension 11.1.1.9 NoClassDefFoundError (Doc ID 2120006.1)

Last updated on MAY 16, 2016

Applies to:

Oracle WebCenter Portal - Version 11.1.1.9.0 to 11.1.1.9.160119 [Release 11g]
Information in this document applies to any platform.

Symptoms

On JDeveloper 11.1.1.9.0 install WebCenter Portal Extensions and begin development work by following documentation at Developing Components for WebCenter Portal Using JDeveloper.

Steps To Reproduce:

  1. Open WebCenterSpacesResources Project in JDeveloper, edit config.properties to specify required configuration items.
  2. Select project node on left pane and right click mouse button, select menu "Download Portal Resource from server" , popup dialog window, choose one of test navigation. Download will be successfully.
  3. Refresh project tree, select the new imported navigation, right click mouse button, select menu "Export Portal Resource", popup dialog window will show exception:


    Exception while performing action Export Portal Resource...
    java.lang.NoClassDefFoundError: Could not initialize class
    oracle.webcenter.webcenterapp.internal.model.WebCenterUtils
    j.lang.Class.forName0(Native Method)
    j.lang.Class.forName(Class.java:169)
    o.webcenter.lifecycle.util.LifecycleUtil.isAppCustomAttributePresent(LifecycleUtil.java:920)
    o.webcenter.lifecycle.util.LifecycleUtil.superSecureLifecycleOps(LifecycleUtil.java:858)
    o.webcenter.lifecycle.util.LifecycleUtil.secureLifecycleArchiveContent(LifecycleUtil.java:219)
    o.webcenter.lifecycle.util.LifecycleUtil.secureLifecycleArchiveContent(LifecycleUtil.java:182)
    o.webcenter.lifecycle.operation.FinalizeUnit.doExport(FinalizeUnit.java:158)
    o.webcenter.lifecycle.siteresource.operation.SiteResourceExportOperation.doExport(SiteResourceExportOperation.java:151)
    o.webcenter.lifecycle.siteresource.operation.SiteResourceExportOperation.doExport_DT(SiteResourceExportOperation.java:295)
    o.webcenter.lifecycle.LifecycleSiteResourceService.doExport_DT(LifecycleSiteResourceService.java:192)
    o.webcenter.portal.dt.appnav.SiteResourcesDTLifecycleHandler.doExport_DT(SiteResourcesDTLifecycleHandler.java:518)
    o.webcenter.portal.dt.appnav.PortalMenuController.handleExportSiteRes(PortalMenuController.java:1088)
    o.webcenter.portal.dt.appnav.PortalMenuController.handleEvent(PortalMenuController.java:194)
    o.i.controller.IdeAction.performAction(IdeAction.java:529)
    o.i.controller.IdeAction.actionPerformedImpl(IdeAction.java:897)
    o.i.controller.IdeAction.actionPerformed(IdeAction.java:501)
    jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    jx.s.AbstractButton.doClick(AbstractButton.java:357)
    jx.s.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
    jx.s.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
    j.a.Component.processMouseEvent(Component.java:6288)
    jx.s.JComponent.processMouseEvent(JComponent.java:3267)
    j.a.Component.processEvent(Component.java:6053)
    j.a.Container.processEvent(Container.java:2041)
    j.a.Component.dispatchEventImpl(Component.java:4651)
    j.a.Container.dispatchEventImpl(Container.java:2099)
    j.a.Component.dispatchEvent(Component.java:4481)
    j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    j.a.LightweightDispatcher.processMouseEvent(Container.java:4238)
    j.a.LightweightDispatcher.dispatchEvent(Container.java:4168)
    j.a.Container.dispatchEventImpl(Container.java:2085)
    j.a.Window.dispatchEventImpl(Window.java:2478)
    j.a.Component.dispatchEvent(Component.java:4481)
    ......

    And sometime the exception can be "Caused by: java.util.MissingResourceException: Can't find oracle.webcenter.webcenterapp.resource.WebCenterResourceBundle bundle"

 

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