Wednesday, January 2, 2013

Solving Can't find resource for bundle com.liferay.portlet.PortletResourceBundle, key javax.portlet.title

I have seeing many of you dealing with this error.
 I spent hours reading and trying to figure out what was the problem. These are my findings ...

 Example code. (ERROR)

Using Eclipse (I didn't test with another IDE) the Ctrl+Shift+F command will indent your code, but for some reason this breaks the xml
We are interested in this specific line
And should be

  That's it! Hope it helps you.