Announcement Announcement Module
Collapse
No announcement yet.
Autowired Injection is workin only when i run through Junit class Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Autowired Injection is workin only when i run through Junit class

    Hi,

    In my application Autowired injection is working only when i run through Jnuit class.
    If i run through main() class its not working, Please let me know what may be the reason.

    Thanks in advance
    sanjeev

  • #2
    1. How are you bootstrapping Spring and your application context?
    2. This is probably a core Spring question and not a batch question...

    Comment

    Working...
    X