Hi,
Could you please try to specify the Spring configuration filename explicitly
rather than using the wild-card notation? You should be able to include
more filenames separated by commas, semicolon or whitespace.
If the above does not work for you, could you please share some
error/output log?
~Jakub
On 06/28/2011 05:48 AM, lenming.yeung_at_gmail.com wrote:
> Hi,
>
> I'm a bit lost here. I've a Spring integration test that extends
> JerseyTest (1.7) using Grizzly test container. However, My web service
> spring dependencies aren't wired up at all when it invokes the my
> method.
>
> My test constructor looks like this:
> super(new WebAppDescriptor.Builder("my.package")
> .contextPath("mypath")
> .contextParam("contextConfigLocation",
> "classpath:spring-config/*.xml")
> .servletClass(SpringServlet.class)
> .contextListenerClass(ContextLoaderListener.class)
> .build());
>
> > From Naresh's blog
> (http://blogs.oracle.com/naresh/entry/jersey_test_framework_re_visited)
> it indicated that this is possible, as well as samples from
> http://download.java.net/maven/2/com/sun/jersey/samples/spring-annotati
> ons/1.1.1-ea/
>
> Any suggestions are greatly appreciated!
>
> Cheers
>