My Oracle Support Banner

Error Compiling a Content Presenter Template for WebCenter Portal in JDeveloper 12c Due to Warning "java.lang.NoClassDefFoundError: [oracle/webcenter/content/integration/Node" (Doc ID 2554320.1)

Last updated on JANUARY 11, 2021

Applies to:

Oracle WebCenter Portal - Version 12.2.1.0.0 to 12.2.1.3.0
Information in this document applies to any platform.

Symptoms

Attempting to compile a Content Presenter Template for WebCenter Portal in JDeveloper 12c returns warning "java.lang.NoClassDefFoundError: [Loracle/webcenter/content/integration/Node":

 

Warning: Jun 14, 2019 9:57:38 AM weblogic.jsp.internal.client.NullClientContext exceptionEncountered PortalAssetApplication.jws  C:\JDeveloper\12.2.1.3\mywork\PortalAssetApplication    
Warning: WARNING: Exception encountered while compiling C:\JDeveloper\12.2.1.3\mywork\PortalAssetApplication\PortalAsset\public_html\cP_OrderByDate\CP_OrderByDate.jsff    PortalAssetApplication.jws    C:\JDeveloper\12.2.1.3\mywork\PortalAssetApplication    
Warning: java.lang.NoClassDefFoundError: [Loracle/webcenter/content/integration/Node;    PortalAssetApplication.jws    C:\JDeveloper\12.2.1.3\mywork\PortalAssetApplication    
Warning:     at java.lang.Class.getDeclaredMethods0(Native Method)    PortalAssetApplication.jws    C:\JDeveloper\12.2.1.3\mywork\PortalAssetApplication    
Warning:     at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)    PortalAssetApplication.jws    C:\JDeveloper\12.2.1.3\mywork\PortalAssetApplication    
Warning:     at java.lang.Class.getDeclaredMethod(Class.java:2128)    PortalAssetApplication.jws    C:\JDeveloper\12.2.1.3\mywork\PortalAssetApplication    
...

Warning: Caused by: java.lang.ClassNotFoundException: oracle.webcenter.content.integration.Node    PortalAssetApplication.jws    C:\JDeveloper\12.2.1.3\mywork\PortalAssetApplication    
Warning:     at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029)    PortalAssetApplication.jws    C:\JDeveloper\12.2.1.3\mywork\PortalAssetApplication    
Warning:     at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:990)    PortalAssetApplication.jws    C:\JDeveloper\12.2.1.3\mywork\PortalAssetApplication    
...

Warning: <J2EE> <BEA-160187> <weblogic.appc failed to compile the application. Recompile with the -verbose option for more details about the issue.>     PortalAssetApplication.jws    C:\JDeveloper\12.2.1.3\mywork\PortalAssetApplication    
Warning: There are 1 nested errors:    PortalAssetApplication.jws    C:\JDeveloper\12.2.1.3\mywork\PortalAssetApplication    
Warning: weblogic.utils.compiler.ToolFailureException: jspc failed with errors :weblogic.servlet.jsp.CompilationException: C:\JDeveloper\12.2.1.3\mywork\PortalAssetApplication\PortalAsset\public_html\cP_OrderByDate\CP_OrderByDate.jsff: java.lang.NoClassDefFoundError: [Loracle/webcenter/content/integration/Node;    PortalAssetApplication.jws    C:\JDeveloper\12.2.1.3\mywork\PortalAssetApplication   

 

 

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.