5.1 EE SP3 (5.1.6), 5.2 EE SP1 (5.2.5)
Service builder does not work with plugins that uses Spring or Spring MVC because of class loading issues between spring.jar and service builder.
When you use ServiceBuilder, it will automatically try to wire what is set in the context-param of "portalContextConfigLocation" and not "contextConfigLocation"
"contextConfigLocation" will only get wired by the spring.jar that exists in the plugin's Spring.
If you want to save PermGen space by wiring xml files in a plugin from the portal's Spring, then use "portalContextConfigLocation". Note that the plugin's beans in this scenario must be pure POJO's that do not reference Spring files. If it does, please use "contextConfigLocation"
- is related to
LPS-5330 Plugins that use ServiceBuilder do not work if the plugin also uses Spring or Spring MVC