I keep getting the following errors:
*Caused by: java.lang.NoSuchMethodError:
org.objectweb.asm.ClassVisitor.visit(ILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
*
*    at net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:63)*

The standard fix talks about cgi-full already having the asm classes in it.
This means I need to exclude asm in my build I assume.
So I have:
        <dependency>
            <groupId>cglib</groupId>
            <artifactId>cglib-full</artifactId>
            <version>2.0.2</version>
            *<exclusions>
                <exclusion>
                    <groupId>asm</groupId>
                    <artifactId>asm</artifactId>
                </exclusion>
            </exclusions>*
        </dependency>

But I still get asm 1.5.3, 2.2.1 and 2.2.3 downloaded.

Now when I look at my REPO and try to see what depends upon asm, I find that
hibernate needs 1.5.3, and cobertura needs 2.2.1, and spring-2.5.2 needs
2.2.3

So should I just add excludes for asm on hibernate and cobertura?


-- 
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.linkedin.com/in/mickknutson
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---

Reply via email to