[ http://jira.codehaus.org/browse/MEV-66?page=comments#action_45398 ] 

Joerg Schaible commented on MEV-66:
-----------------------------------

public void testCGLib() throws Exception {
        assertNotNull(new Enhancer());
}

throws with cglib-2.1_2 and asm-2.0:

============ %< ============

java.lang.NoClassDefFoundError: org/objectweb/asm/CodeVisitor
        at 
net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:165)
        at 
net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
        at 
net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:215)
        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 demo.CGLibTest.testCGLib(CGLibTest.java:33)
Exception in thread "main" 

============ %< ============

Works with cglib-2.1_2 and asm-1.5.3 or with cglib-nodeps-2.1_2 alone. There is 
no org.objectweb.asm.CodeVisitor anymore in asm-2.0: 
http://asm.objectweb.org/current/doc/javadoc/user/index.html

> cglib 2.1_2 should depend on asm 1.5.3, not 2.0
> -----------------------------------------------
>
>          Key: MEV-66
>          URL: http://jira.codehaus.org/browse/MEV-66
>      Project: Maven Evangelism
>         Type: Bug
>   Components: Dependencies
>     Reporter: Ralph Poellath

>
>
> cglib 2.1_2 has a dependency on asm 2.0, with which it is incompatible.
> A mailing list discussion on the subject starts at
> http://marc.theaimsgroup.com/?l=turbine-maven-user&m=112498159906141&w=2

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to