Forums de discussion
Cannot convert value of type [org.hibernate.impl.SessionFactoryImpl] to req
Kevary ary, modifié il y a 9 années.
Cannot convert value of type [org.hibernate.impl.SessionFactoryImpl] to req
New Member Publications: 5 Date d'inscription: 28/03/14 Publications récentes
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?
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?
Andew Jardine, modifié il y a 9 années.
RE: Cannot convert value of type [org.hibernate.impl.SessionFactoryImpl] to
Liferay Legend Publications: 2416 Date d'inscription: 22/12/10 Publications récentes
Can you provide a little more in the way of details? what you are doing, when it happened, etc.?
Kevary ary, modifié il y a 9 années.
RE: Cannot convert value of type [org.hibernate.impl.SessionFactoryImpl] to
New Member Publications: 5 Date d'inscription: 28/03/14 Publications récentes
It happens when I try to instantiate service builder persistanceImpl classes... without using a liferay session factory (I'm using localsessionfactory)
Andew Jardine, modifié il y a 9 années.
RE: Cannot convert value of type [org.hibernate.impl.SessionFactoryImpl] to
Liferay Legend Publications: 2416 Date d'inscription: 22/12/10 Publications récentes
Are you able to share some of your code?