Which mechanism are you using in Spring to load the context?  What
error/stack-trace do you get?

Note that if you are using Spring MVC and a DispatcherServlet, it expects by
default to find the context file under WEB-INF directly, so your source path
would be src/main/webapp/WEB-INF/myservlet-servlet.xml .

Brett

On Wed, Apr 29, 2009 at 7:17 AM, Don Hosek <[email protected]> wrote:

> Hmm, I've got a spring application context XML file stored in
> src/main/resources But it's not being found in the classpath when I do mvn
> jetty:run. Checking the target/classes directory when I run it, I see the
> file there, but it's not being found by the jetty container. What should I
> be doing?
>
> -dh
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to