Hi,
I have a default constructor without parameters for Country. But Hibernate needs an "empty" constructor, doesn't it?
Could you give me a hint what and where to look for. (This is the CHS with Hibernate3 modifications.). This Exception tells me nothing.
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 15:16:44 +0200
Jonny Becker wrote: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?just guessing .. do you have a default constructor without parameters.
-- 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]
_________________________________________________________________
Machen Sie l�stigen E-Mails ein Ende. 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]
