AnnotationConfigApplicationContext and parent context

后端 未结 5 685
暖寄归人
暖寄归人 2021-01-03 05:29

I\'m facing an issue trying to define a context hierarchy using AnnotationConfigApplicationContext.

The problem is when defining a module context insid

5条回答
  •  Happy的楠姐
    2021-01-03 06:27

    I run into the same problem,

    Another possibility is to extend AnnotationConfigApplicationContext and add just the required constructor or build the context programmatically, if you are instantiating the AnnotationConfigApplicationContext from java.

提交回复
热议问题