Hi,

I commented out BSF and used the latest asm-jars. Now I get following (differnent) errors on startup:
...
CGLIB Enhancement failed: org.apache.cocoon.petstore.model.Country
java.lang.IllegalArgumentException: Superclass has no null constructors but no arguments were given
at net.sf.cglib.proxy.Enhancer.emitConstructors(Enhancer.java:783)
at net.sf.cglib.proxy.Enhancer.emit(Enhancer.java:749)
at net.sf.cglib.proxy.Enhancer.generateClass(Enhancer.java:481)
...


What does this tell me now?

Thanks
jonny



From: Leszek Gawron <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: CHS and asm-errors
Date: Thu, 14 Apr 2005 13:54:43 +0200

Jonny Becker wrote:
Hi,

thanks for the quick response.

But:

It should help. did you exclude BSF block during cocoon build?

No. Should I?
I read a post some days ago that bsf relies on asm. If you remove bsf from your cocoon build you are free to put any asm version into cocoon lib directory and remove the current one.

BSF is the only block that needs asm:
 <project name="cocoon-block-bsf" status="stable" dir="src/blocks/bsf">
    <package>org.apache.cocoon</package>

    <ant target="gump-block">
      <property name="block-name" value="bsf"/>
      <property name="build" value="build/cocoon-@@DATE@@"/>
    </ant>

    <depend project="cocoon" inherit="all"/>
    <depend project="jakarta-bsf"/>

    <library name="bsf"/>
    <library name="groovy"/>
    <library name="asm"/>
    <library name="asm-util"/>

    <work nested="tools/anttasks"/>
    <home nested="build/cocoon-@@DATE@@"/>

    <jar name="blocks/bsf-block.jar"/>

<nag from="Gump &lt;[email protected]&gt;" to="[email protected]"/>
</project>


--
Leszek Gawron                                      [EMAIL PROTECTED]
IT Manager                                         MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

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


_________________________________________________________________
Die rote Karte f�r l�stige E-Mails. MSN Hotmail mit Junk-Mail-Filter. http://www.msn.de/antispam/prevention/junkmailfilter Jetzt kostenlos anmelden!



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



Reply via email to