Fórum

Cannot convert value of type [org.hibernate.impl.SessionFactoryImpl] to req

thumbnail
Kevary ary, modificado 9 Anos atrás.

Cannot convert value of type [org.hibernate.impl.SessionFactoryImpl] to req

New Member Postagens: 5 Data de Entrada: 28/03/14 Postagens Recentes
I got this exception!!!

Caused by: java.lang.IllegalStateException: Cannot convert value of type [org.hibernate.impl.SessionFactoryImpl] to required type [com.liferay.portal.kernel.dao.orm.SessionFactory] for property 'sessionFactory': no matching editors or conversion strategy found
at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:289)
at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:154)
at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:452)
... 41 more

Do you have any solution?
thumbnail
Andew Jardine, modificado 9 Anos atrás.

RE: Cannot convert value of type [org.hibernate.impl.SessionFactoryImpl] to

Liferay Legend Postagens: 2416 Data de Entrada: 22/12/10 Postagens Recentes
Can you provide a little more in the way of details? what you are doing, when it happened, etc.?
thumbnail
Kevary ary, modificado 9 Anos atrás.

RE: Cannot convert value of type [org.hibernate.impl.SessionFactoryImpl] to

New Member Postagens: 5 Data de Entrada: 28/03/14 Postagens Recentes
It happens when I try to instantiate service builder persistanceImpl classes... without using a liferay session factory (I'm using localsessionfactory)
thumbnail
Andew Jardine, modificado 9 Anos atrás.

RE: Cannot convert value of type [org.hibernate.impl.SessionFactoryImpl] to

Liferay Legend Postagens: 2416 Data de Entrada: 22/12/10 Postagens Recentes
Are you able to share some of your code?