jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AElsher...@idc.com
Subject Object Content Mapping
Date Mon, 08 Mar 2010 10:49:53 GMT
Hi All,

I am getting the following excpetion while calling ocm.insert(), I am 
trying to add a folder under rootNode.
here's the excpetion:

11:20:42,187 ERROR [[Spring MVC Dispatcher Servlet]] Servlet.service() for 
servlet Spring MVC Dispatcher Servlet threw exception
java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(Z)V
        at net.sf.cglib.core.DebuggingClassWriter.<init>(
DebuggingClassWriter.java:47)
        at net.sf.cglib.core.DefaultGeneratorStrategy.getClassWriter(
DefaultGeneratorStrategy.java:30)
        at net.sf.cglib.core.DefaultGeneratorStrategy.generate(
DefaultGeneratorStrategy.java:24)
        at net.sf.cglib.core.AbstractClassGenerator.create(
AbstractClassGenerator.java:216)
        at net.sf.cglib.core.KeyFactory$Generator.create(
KeyFactory.java:145)
        at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
        at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
        at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
        at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69)
        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.addDiscriminatorProperty(
ObjectConverterImpl.java:237)
        at 
org.apache.jackrabbit.ocm.manager.objectconverter.impl.ObjectConverterImpl.insert(
ObjectConverterImpl.java:214)
        at 
org.apache.jackrabbit.ocm.manager.objectconverter.impl.ObjectConverterImpl.insert(
ObjectConverterImpl.java:155)
        at 
org.apache.jackrabbit.ocm.manager.impl.ObjectContentManagerImpl.insert(
ObjectContentManagerImpl.java:406)

I am using asm-3.1.jar

can anyone help me how to sovle this problem?

Thank you in advance,


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message