It seems to me that SpringModuleDef needs to be refactored to support non-web projects, possibly by the use of an ApplicationContextProvider or similar service.
On 21 Oct 2014 17:34, "Lance Java" <lance.j...@googlemail.com> wrote: > > Considering this is a non-web project, I assume that WebApplicationContext is not on the classpath. It seems that SpringModuleDef is not suitable for you since it references ServletContext which I also assume is not on your classpath.