2015年9月9日 星期三

[Spring Bean] A Summary on why @Autowired field got null value


  1. The object is instantiated via "new Object()" rather than in app context pool
    How to check
    Via Eclipse Debug > stacktrace > check where the instance are from 

沒有留言:

張貼留言