You have to call ctx.refresh()
before you can call ctx.getBean(HelloWorld.class);
Read full article from java - AnnotationConfigApplicationContext has not been refreshed yet - what's wrong? - Stack Overflow
You have to call ctx.refresh()
before you can call ctx.getBean(HelloWorld.class);
Read full article from java - AnnotationConfigApplicationContext has not been refreshed yet - what's wrong? - Stack Overflow
No comments:
Post a Comment