Hi i have a problem in parsing my struts-config. the error appears only when i add my message-resources tag <message-resources key="resource" parameter="ApplicationResources" /> <message-resources key="property" parameter="ProjectProperties" />
i get it when i run the server. As well- I have a red mark on the <struts-config> which says that it's not formed correctly. when i remove the <message-resources> tag, it's valid again!
04/12/2008 15:05:15 org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 115 column 17: The content of element type "struts-config" must match "(data-sources?,form-beans?,global-exceptions?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*)".
If it doesnt work, also check for the order of the elements. Check if you are facing "message-resources" definition after the "controller" and before the "plug-in" definitions as mentioned above.
Have Fun with Java
little,little.. little by little makes a lot..
The human mind is a dangerous plaything. This tiny ad is pretty safe:
a bit of art, as a gift, the permaculture playing cards