My Oracle Support Banner

WLP - ClassNotFoundException Thrown When Deserializing Classes over WSRP (Doc ID 778306.1)

Last updated on JANUARY 28, 2025

Applies to:

Oracle WebLogic Portal - Version 9.2.0 to 10.2.1
Information in this document applies to any platform.

Symptoms

When attempting to deserialize classes over WSRP that reside in the current Web application or a shared library, the NETUI framework throws a 'ClassNotFound' exception in the rendering JSP:

Beehive NetUI JavaServer Page - /ConsumerWeb/wsrpDataTransfer.portal
Error opening /ObjectUtilsFail.jsp.
The source of this error is:
javax.servlet.ServletException: com.mydomain.DataObject
at weblogic.servlet.jsp.PageContextImpl.handlePageException(PageContextImpl.java:409)
at jsp_servlet.__objectutilsfail._jspService(__objectutilsfail.java:205)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
...
Caused by:java.lang.ClassNotFoundException: com.mydomain.DataObject
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:585)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)

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!


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