Just make your class implement an interface then use it instead your class
when injecting your bean.

2015-02-12 16:17 GMT-02:00 Chris <[email protected]>:

> Hi,
>
> when injecting a bean via @SpringBean annotation into a Wicket page, this
> bean must provide a default constructor, otherwise I am receiving the
> error: java.lang.IllegalArgumentException: Superclass has no null
> constructors but no arguments were given
>
> Is there a solution to inject beans without no-arg constructors?
>
> thanks a lot,
> Chris
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Rodrigo Ribeiro Miguele

Reply via email to