Issue
- I use a blob column type in service builder. On deployment i get
Caused by: java.lang.ClassNotFoundException: org.hibernate.proxy.HibernateProxy cannot be found
Environment
- 7.4
Resolution
- Add the followings to your portal-ext.properties:
Note the org.hibernate.proxy!module.framework.properties.org.osgi.framework.bootdelegation=\
__redirected,\
com.liferay.aspectj,\
com.liferay.aspectj.*,\
com.liferay.expando.kernel.model,\
com.liferay.portal.servlet.delegate,\
com.liferay.portal.servlet.delegate*,\
com.sun.ccpp,\
com.sun.ccpp.*,\
com.sun.crypto.*,\
com.sun.image.*,\
com.sun.imageio.plugins.*,\
com.sun.jmx.*,\
com.sun.jna,\
com.sun.jndi.*,\
com.sun.mail.*,\
com.sun.management.*,\
com.sun.media.*,\
com.sun.msv.*,\
com.sun.org.*,\
com.sun.syndication,\
com.sun.tools.*,\
com.sun.xml.*,\
com.yourkit.*,\
javassist.util.proxy,\
jdk.*,\
org.hibernate.proxy,\
sun.*,\
weblogic.jndi,\
weblogic.jndi.*
Additional Information
- org.hibernate.proxy needs to be available globally for the boot delegation
Conteúdo Excluesivo para Assinantes
Uma Subscrição do Liferay Enterprise fornece acesso a mais de 1.500 artigos que incluem práticas recomendadas, solução de problemas e outras soluções valiosas. Faça login para obter acesso completo.
Entrar