Search code examples
javaapp-configradwebsphere-7websphere-portal

How does one fix a "The Resource Bundle Must Containt Title" error?


We are using WAS 7 server and also WebSphere portal server 6.1 on top of it. I imported my application into RAD, but there is an compilation error in the portal.xml file (located inside web-inf).

Error Message :

 IWAL0056E :THE RESOURCE BUNDLE MUST CONTAIN TITLE, SHORT-TITLE AND KEYWORDS.

in the following lines (portal.xml)

<supported-locale>en</supported-locale>
<supported-locale>es</supported-locale>

Could you please guide me to get out of this compilation errors...

Thanks


Solution

  • This means that you didn't define the required entries in the resource bundle .properties file. Update it to reflect the following:

    javax.portlet.title=yourTitle
    javax.portlet.short-title=yourShortTitle
    javax.portlet.keywords=yourKeywords
    

    These values should directly map to the one defined inside portlet-info of portal.xml.