cancel
Showing results for 
Search instead for 
Did you mean: 

CGLIB Enhancement failed

mikekenny
Champ in-the-making
Champ in-the-making
I receive the following error during startup of JBoss

2005-11-15 08:25:41,983 ERROR [org.hibernate.proxy.BasicLazyInitializer] CGLIB Enhancement failed: org.alfresco.repo.domain.hibernate.VersionCountImpl
java.lang.NoSuchMethodError: net.sf.cglib.proxy.Enhancer.setInterceptDuringConstruction(Z)V
(apologies for the formatting)

I have built from the 1.0.0 source and deployed to JBoss using ant after changing the default target. So nothing unusual.

net.sf.cglib.proxy.Enhancer.class exists in both the full (from JBoss) and the nodep (from alfresco) versions of cglib, both are 2.0.1. I am using JBoss 4.x and Java 1.5.0

Any ideas?
1 REPLY 1

derek
Star Contributor
Star Contributor
Hi,

Have you tried replacing the JBoss version of the library with the Alfresco version?

If this doesn't work, let us know and we can play with it a bit.

Regards