bonjour,
je developpe une API (jar) qui a besoin d'un bean spring (LocalValidatorFactoryBean).
Donc le ApplicationContext.xml doit contenir une declaration de ce bean.
Le probleme est que , dans un context spécifique comme Spring MVC, ce dernier instancie aussi ce meme bean.
Il y a donc un conflit.
Comment resoudre ce conflit sachant que mon api a besoin de ce bean ?
Merci
Partager