I would like to confirm couple of things with you....
a) I am thinking that each of the AppContext1.xml, AppContext2.xml, AppContext3.xml files have separate PropertyPlaceholderConfigurer bean...
Type: Posts; User: rajivbandaru; Keyword(s):
I would like to confirm couple of things with you....
a) I am thinking that each of the AppContext1.xml, AppContext2.xml, AppContext3.xml files have separate PropertyPlaceholderConfigurer bean...
Good one. Checked and its the same result, doesn't work.
Now, I am starting to believe that this a Spring bug or Spring doesn't support defining the property files across multiple app-context.xml...
Here is my problem with spring's org.springframework.beans.factory.config.PropertyPlaceholderConfigurer...
In the web.xml, I have
<param-name>contextConfigLocation</param-name>
...
Ok, here is whats happening...
As you said, I am loading multiple app-context.xml files in web.xml's ContextLoaderListener. And, each and every app-context.xml has its own...
Well, no turning off filtering didn't resolve the issue. I am sure app-context.xml is included within the war.
In response to your next two points...
- If property file isn't loaded due to...
Hi,
I have to say I have a weird problem reading properties file. Here is the problem...
Spring is expecting the property name to be the same in pom.xml, otherwise its complaining that its...
Have your context xml in the classpath.
Generally, the "White spaces are required between publicId and systemId" is gotten when the xml file in not well formed. You might want to double check the validity of applicationContext.xml, if you...
Charlesbihis, I tried out your program. Using ApplicationContext, instead of BeanFactory, should resolve the issue. BeanFactory will not invoke advice methods automatically, where as...