Vidar Ramdal wrote:
I'm getting an exception on ObjectContentManager.update():
java.lang.NoClassDefFoundError: Could not initialize class
net.sf.cglib.proxy.Enhancer
at
org.apache.jackrabbit.ocm.reflection.ReflectionUtils.isProxy(ReflectionUtils.java:194)
at
org.apache.jackrabbit.ocm.reflection.ReflectionUtils.getBeanClass(ReflectionUtils.java:200)
at
org.apache.jackrabbit.ocm.manager.objectconverter.impl.ObjectConverterImpl.update(ObjectConverterImpl.java:314)
at
org.apache.jackrabbit.ocm.manager.objectconverter.impl.ObjectConverterImpl.update(ObjectConverterImpl.java:262)
at
org.apache.jackrabbit.ocm.manager.impl.ObjectContentManagerImpl.update(ObjectContentManagerImpl.java:424)
...
I'm not very familiar with the OCM stuff, so I might be doing
something wrong. Anybody who can see what goes on?
I had similar problems starting using OCM, i fixed two problems, now its
possible to use for me.
1. I expect this is your issue
https://issues.apache.org/jira/browse/SLING-1065
2. ClassDescriptionReades misses attributes in mappings
https://issues.apache.org/jira/browse/SLING-1064
You will find my patches in the issues
Markus
--
------------------------------------------------------------------
DIG Digitale Medienberatungs-
und Produktions- GmbH
Neckarstr. 1/5
78727 Oberndorf a. N.
Amtsgericht Stuttgart HRB 480914
Geschäftsführer: Carsten Huber
------------------------------------------------------------------
Tel: +49 (0)7423 8750 60
Fax: +49 (0)7423 8750 23
Internet: http://www.dig.de
eMail: [email protected]
Ein Unternehmen der Schwarzwälder Bote Mediengruppe