Error Deploying Custom Portlet To WebCenter Portal (Doc ID 1510749.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

A portlet ear file has been built (a JSR-268 portlet deployed to WC_CustomServicesProvider) following the WebCenter documentation. Trying to deploy it to a custom WebCenter producer managed server, the following error is generated:

weblogic.application.ModuleException: Failed to load webapp: '/zkportlets'
  at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:395)
  at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:180)
  at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
  at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:518)
  at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
  Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: oracle.portlet.producer.container.TestPage
  at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
  at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
  at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
  Truncated. see log file for complete stacktrace

  

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