Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

@ContextConfiguration not loading the beans

 
pavan bukka
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
i have put this annotation @ContextConfiguration(locations={"classpath:AbstractContactTests-context.xml"}) on my testcase class.
AbstractContactTests-context.xml contain bean definitions, but beans are not getting injected.
can anybody help me to fix it.

with regards,
bukka pavan kumar.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic