• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Spring: context.refresh for mix configuration xml annot

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic