java.lang.ClassCastException: weblogic.jndi.internal.WLEventContextImpl cannot be cast to javax.sql.DataSource
(Doc ID 1919849.1)
Last updated on MARCH 08, 2023
Applies to:
Oracle WebLogic Server - Version 10.3 and laterInformation in this document applies to any platform.
Symptoms
In a custom application, while initializing a servlet, the following error occurs:
NOTE: The application packages and servlet names (example: com.oracle.sampleapp and WebServiceController) and other attribute values used represent fictitious sample names that made up as examples. Any similarity to actual code, is purely coincidental and not intended in any other manner.
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 |