Also, it will inject prior to your constructor is called. On Feb 28, 2009 11:03 AM, "Martijn Reuvers" <martijn.reuv...@gmail.com> wrote:
Hi Christian, I think you should not use use the static modifier with this, instead use: @SpringBean private ArticleRepository repos; This should work fine and you can use it inside your constructor. Static does not add anything useful in this case, as its already a singleton in Spring. Martijn On Sat, Feb 28, 2009 at 4:49 PM, Christian Helmbold < christian.helmb...@yahoo.de> wrote: > A page i...