Spring: context.refresh for mix configuration xml annot
posted 1 year ago
newb spring here, sorry for this boring/lame question.
How to refresh applicationContext when the web app using both configuration. i have xml and annotation config.
should i make two context to refresh for each type? like this..
or any other way?
i want to reload context unfortunately some bean is not inside xml file as it is defined in annotation style. so i got org.springframework.beans.factory.NoSuchBeanDefinitionException error.