Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Spring: cannot inject bean with scope request/session

$
0
0
Hi all,

I'm trying to use Spring in my app.
Using:
- wicket 6.9
- spring 3.2.3

Injection works fine with prototype/singleton, but not with request/session
scope.
I have following exception: No Scope registered for scope 'request'

I've added
<listener>

<listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
</listener>
but it didn't help

Viewing all articles
Browse latest Browse all 5648

Trending Articles