Douglas, in my limited experience with Spring, I noticed that depending on where you are loading your bean config file from, you use a different Resource implementation to do it. I guess there has to be one for Web Projects or direct File/Directory references and you just point it at WEB-INF/applicationContext.xml instead of the src dir -- but yes, the ClassPath loader won't work in that case. |