My Oracle Support Banner

Issue with TopLink library when we are not using it. (Doc ID 1289534.1)

Last updated on SEPTEMBER 10, 2014

Applies to:

Oracle TopLink - Version 11.1.1.0.1 to 11.1.1.6.0 [Release Oracle11g]
Information in this document applies to any platform.

Symptoms

Using hibernate JPA as a persistence provider, the AdminServer.log show an Exception (java.lang.ClassNotFoundException: oracle.toplink.PersistenceProvider)related to TopLink when TopLink has not been used :

 

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ADDRESS_CHANGE' defined in class path resource [spring-applicationContext-INT.xml]: Cannot resolve reference to bean 'KaecsesSessionDAO' while setting bean property 'ksDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'KaecsesSessionDAO' defined in class path resource [spring-applicationContext-INT.xml]: Cannot resolve reference to bean 'KaecsesSessionEntityUtil' while setting bean property 'entityUtil'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'KaecsesSessionEntityUtil' defined in class path resource [spring-applicationContext-INT.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException;
nested PropertyAccessExceptions (1) are:

PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'persistenceContextName' threw exception; nested exception is javax.persistence.PersistenceException:java.lang.ClassNotFoundException: oracle.toplink.PersistenceProvider
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1244)

 

 

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
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.