Hello friends -
New to Spring and STS so hopefully this isn't too dumb a question. Anyways, created a spring/mvc/hibernate project. Put some @RunWith(SpringJunit4ClassRunner) classes underneath /src/test/java. In src/main/resources/ I put applicationContext.xml + and similar files. Great. Ran some Junits and things were autowiring / applicationContexting, whatever.
Tried the MVC end. Wound up having to clone my /main/resources files into src/main/webapp/web-inf.
Whatever I tried, however, I could not seem to enable my classes in /scr/test/java to see resource files in /src/main/webpap/web-inf. Considering that I've got to keep things moving, I just have been keeping two copies of applicationContext.xml even though it's dumb as hell.
What am I doing wrong?
Thanks a lot.
brian


Reply With Quote
