If you encounter the problem with spring portlet locale configuration, please check the TAG sequence in portlet.xml
This is the sample stack trace i get it from the log file, i had encounter this problem previously. The root cause should be the sequence. For instance, the <supported-locale>en</supported-locale> must put before <resource-bundle>messages</resource-bundle>.
-
-
cvc-complex-type.2.4.a: Invalid content was found starting with element ‘supported-locale’. One of ‘{"http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd":portlet-preferences, "http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd":security-role-ref,
-
……
-
-
I summaries the the sequence from top-down as references :
- description
- portlet-name
- display-name
- portlet-class
- init-param
- expiration-cache
- cache-scope
- supports
- supported-locale
- resource-bundle
- portlet-info
- portlet-preferences
- security-role-ref
- supported-processing-event
- supported-publishing-event
- supported-public-render-parameter
- container-runtime-option

Posted in 



nice article, keep the posts coming
Thanks a lot, exactly what I needed.