java.lang.ClassCastException: weblogic.jndi.internal.WLEventContextImpl cannot be cast to javax.sql.DataSource
Searched on Google with the first line of a JAVA stack trace?
We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.
Recommended solutions based on your search
Solutions on the web
via Stack Overflow by iKilany
, 1 year agojava.lang.ClassCastException: weblogic.jndi.internal.WLEventContextImpl cannot be cast to javax.sql.DataSource
at weblogic.persistence.BasePersistenceUnitInfo.lookUpDataSource(BasePersistenceUnitInfo.java:308)
at weblogic.persistence.BasePersistenceUnitInfo.lookUpDataSources(BasePersistenceUnitInfo.java:298)
at weblogic.persistence.BasePersistenceUnitInfo.init(BasePersistenceUnitInfo.java:105)
at weblogic.persistence.BaseJPAIntegrationProvider.createPersistenceUnitInfo(BaseJPAIntegrationProvider.java:53)
at weblogic.persistence.AbstractPersistenceUnitRegistry.storeDescriptors(AbstractPersistenceUnitRegistry.java:420)