Hi Christian,

I am using the same config as you (as far as I can tell), with the
exception I always use: @SpringBean (name="nameHere") so I always use
the name of a bean. So far I never had trouble with that. Perhaps its
the wicket version you are using different from ours? I use 1.4rc2 and
accompanying modules. My main config spring file (your .xml file) is
located directly under WEB-INF/classes (when its deployed) and not in
WEB-INF itself.

Martijn



On Sat, Feb 21, 2009 at 10:40 AM, Christian Helmbold
<[email protected]> wrote:
> Hello Nicolas,
>
>
>> Have you add the following statement in your web.xml
>
> Yes, exactly as you wrote:
>    <context-param>
>      <param-name>contextConfigLocation</param-name>
>      <param-value>classpath:applicationContext.xml</param-value>
>    </context-param>
>
> I've also tried to use a wrong name for the xml file, only to see if I get an 
> error - and I get one. So the spring config seems to be found.
>
> Regards
> Christian
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to