Hello Cemal
thanks for your advice. Know I have extracted an interface which is used in my
WikiPage class and implemented by my Repository, but the the error is the same.
public class PageRepository extends Repository<Page> implements IPageRepository
{
...
}
public class WikiPage extends WebPage
{
@SpringBean
IPageRepository repository;
...
}
Error message:
java.lang.IllegalStateException: bean of type
[com.helmbold.wicki.domain.IPageRepository] not foundI also tried to use a
named bean, then I get:
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named
'pageRepository' is defined
It seems like my application cannot access the Spring but context. But Spring
itself seems to work, since it creates my Wicket app.
Sometimes I ask myself if Spring is the solution or the problem ;-)
Regards
Christian
--
http://www.groovy-forum.de
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]