Reputation: 6677
Hello gud fellas in my quest of learning spring, i created a web application with netbeans 6.7 in windows xp sp2.i've noticed some and have few question about that.
1 my applicationContext.xml config file is in WEB-INF and my test class cannot find it.i had a copy of it in source package under default package and i can be found.Isn't WEB-INF part of the classpath?
1.1 where should it normally reside in this case?
2 i've tried to use the SpringJUnit4ClassRunner class but couldn't find the library any where.how to add spring-test jar to my project in netbeans?
those are my worries for now.thanks for reading.
Upvotes: 0
Views: 288
Reputation: 403441
WEB-INF
is not in the application classpath, no, but WEB-INF/classes
is.
Upvotes: 2