Christian,

The declared type of your "repository" field should be an interface (that
PageRepository implements, in this case). In the Spiring config, your
PageRepository is used as a class, so I guess it is not an interface.

The proxy Wicket will inject is of the type of that interface, not
(necessarily) of the implementation class.

Does that make sense?

Regards - Cemal
http://jWeekend.com jWeekend 



christian.helmbold wrote:
> 
> This is because of changes while writing my last email. Now all package
> names are changed, but the error still occurs.
> 
> Christian
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Troubles-with-Spring%3A-bean-of-type-X-not-found-tp22124921p22128992.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to