Spring 3.1 contextInitializerClasses not Working on WebLogic 10.3.6 using web.xml Context-Param Spring 3.1 contextInitializerClasses not Working on WebLogic 10.3.6 using web.xml Context-Param mongodb mongodb

Spring 3.1 contextInitializerClasses not Working on WebLogic 10.3.6 using web.xml Context-Param


The name of the context-param is I think wrong, it should be contextInitializerClasses not contextInitializerClass , that could be the reason why your ApplicationContextInitializer is not getting picked up

Also you seem to be missing the entry for ContextLoaderListener in your web.xml file, try adding that too:

<listener>    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class></listener>

This is the one which loads up the bean configuration xml file specified in the contextConfigLocation tag