java - @Autowired in ThreadPoolTaskExecutor doesn't work - Stack Overflow
Beans will not get autowired if your class is not initiated by the context. In other words,
If your class NewJFrame is manually initiated by the new keyword, spring framework will not be able to autowire the property variables inside that class.
Read full article from java - @Autowired in ThreadPoolTaskExecutor doesn't work - Stack Overflow
No comments:
Post a Comment