<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Unable to deploy a portlet : Cannot read property 'fr_FR' of undefined</title>
  <link rel="self" href="https://liferay.dev/hu/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=114150932" />
  <subtitle>Unable to deploy a portlet : Cannot read property 'fr_FR' of undefined</subtitle>
  <id>https://liferay.dev/hu/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=114150932</id>
  <updated>2026-06-06T15:32:35Z</updated>
  <dc:date>2026-06-06T15:32:35Z</dc:date>
  <entry>
    <title>RE: Unable to deploy a portlet : Cannot read property 'fr_FR' of undefined</title>
    <link rel="alternate" href="https://liferay.dev/hu/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114207195" />
    <author>
      <name>Marceau LE</name>
    </author>
    <id>https://liferay.dev/hu/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114207195</id>
    <updated>2019-07-04T15:33:31Z</updated>
    <published>2019-07-04T15:33:31Z</published>
    <summary type="html">Hi,&lt;br /&gt;I think it is related to this issue : &lt;a href="https://liferay.dev/forums/-/message_boards/message/113745476"&gt;https://liferay.dev/forums/-/message_boards/message/113745476&lt;/a&gt;&lt;br /&gt;&lt;a href="https://liferay.dev/forums/-/message_boards/message/113745476"&gt;&lt;/a&gt;Same exception on the log, starting the server : &lt;strong&gt;java.lang.ClassFormatError: Truncated class file&lt;/strong&gt;.&lt;br /&gt;Regards.</summary>
    <dc:creator>Marceau LE</dc:creator>
    <dc:date>2019-07-04T15:33:31Z</dc:date>
  </entry>
  <entry>
    <title>RE: Unable to deploy a portlet : Cannot read property 'fr_FR' of undefined</title>
    <link rel="alternate" href="https://liferay.dev/hu/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114191481" />
    <author>
      <name>Marceau LE</name>
    </author>
    <id>https://liferay.dev/hu/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114191481</id>
    <updated>2019-07-03T12:47:57Z</updated>
    <published>2019-07-03T12:47:57Z</published>
    <summary type="html">Hi David,&lt;br /&gt;I have made no changes on tomcat&amp;#39;s setenv.sh.  &lt;br /&gt;Otherwise I just added the &amp;#34;company.default.locale&amp;#34; property in the portal-ext.properties :&lt;br /&gt;&lt;br /&gt;jdbc.default.jndi.name=jdbc/lportalDb&lt;br /&gt;jdbc.default.driverClassName=com.mysql.jdbc.Driver&lt;br /&gt;jdbc.default.url=jdbc:mysql://127.0.0.1:3306/lportal&lt;br /&gt;jdbc.default.username=root        &lt;br /&gt;jdbc.default.password=root&lt;br /&gt;company.default.locale=en_US&lt;br /&gt;&lt;br /&gt;But I have still the same error.It seems related to this exception :  code=&amp;#34;500&amp;#34;, msg=&amp;#34;&amp;#34;, uri=/o/frontend-js-web/liferay/available_languages.jsp.&lt;br /&gt;I also tried to launch it through an other tomcat that I downloaded but still same issue.&lt;br /&gt;&lt;br /&gt;Regards.</summary>
    <dc:creator>Marceau LE</dc:creator>
    <dc:date>2019-07-03T12:47:57Z</dc:date>
  </entry>
  <entry>
    <title>RE: Unable to deploy a portlet : Cannot read property 'fr_FR' of undefined</title>
    <link rel="alternate" href="https://liferay.dev/hu/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114160102" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/hu/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114160102</id>
    <updated>2019-06-28T13:41:22Z</updated>
    <published>2019-06-28T13:41:22Z</published>
    <summary type="html">If this is a basic install, then whatever changes you have made could be the source of the issue.  Have you made any changes to tomcat&amp;#39;s setenv.sh?&lt;br /&gt;&lt;br /&gt;Any other environment variables defined or settings in portal-ext.properties which may be affecting this?</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2019-06-28T13:41:22Z</dc:date>
  </entry>
  <entry>
    <title>RE: Unable to deploy a portlet : Cannot read property 'fr_FR' of undefined</title>
    <link rel="alternate" href="https://liferay.dev/hu/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114158466" />
    <author>
      <name>Marceau LE</name>
    </author>
    <id>https://liferay.dev/hu/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114158466</id>
    <updated>2019-06-28T09:51:02Z</updated>
    <published>2019-06-28T09:51:02Z</published>
    <summary type="html">Hello David,&lt;br /&gt;Thank you for your prompt response.&lt;br /&gt;Sorry but I can&amp;#39;t find any environment problem I just follow the documentation to implement the DXP Portal : &lt;a href="https://portal.liferay.dev/docs/7-1/deploy/-/knowledge_base/d/installing-liferay"&gt;https://portal.liferay.dev/docs/7-1/deploy/-/knowledge_base/d/installing-liferay&lt;/a&gt;.&lt;br /&gt;I tried to change the default language editing portal-ext.properties , adding:company.default.locale=en_US&lt;br /&gt;But I have still the same problem.Do not you have any ideas of where that might come from ? &lt;br /&gt;&lt;br /&gt;Regards</summary>
    <dc:creator>Marceau LE</dc:creator>
    <dc:date>2019-06-28T09:51:02Z</dc:date>
  </entry>
  <entry>
    <title>RE: Unable to deploy a portlet : Cannot read property 'fr_FR' of undefined</title>
    <link rel="alternate" href="https://liferay.dev/hu/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114154202" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/hu/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114154202</id>
    <updated>2019-06-27T17:43:37Z</updated>
    <published>2019-06-27T17:43:37Z</published>
    <summary type="html">There is something wrong with your environment because french language support works on 7.0, 7.1 and 7.2.</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2019-06-27T17:43:37Z</dc:date>
  </entry>
  <entry>
    <title>Unable to deploy a portlet : Cannot read property 'fr_FR' of undefined</title>
    <link rel="alternate" href="https://liferay.dev/hu/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114150931" />
    <author>
      <name>Marceau LE</name>
    </author>
    <id>https://liferay.dev/hu/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114150931</id>
    <updated>2019-06-27T10:16:25Z</updated>
    <published>2019-06-27T10:16:25Z</published>
    <summary type="html">Hi,I am unable to deploy a portlet in liferay DXP. &lt;br /&gt;I use Liferay DXP 7.1 with Tomcat 8. I am testing under chrome browser.When I click on the deploy button  &lt;img src="/documents/portlet_file_entry/14/image--tempRandomSuffix--vU7OBMgn.png/a1f15813-46b8-42fd-83a0-97ee7335b9cd" /&gt; , nothing happened and I get the following JS error: &lt;br /&gt;&lt;strong&gt;Uncaught TypeError: Cannot read property &amp;#39;fr_FR&amp;#39; of undefined&lt;/strong&gt;. &lt;br /&gt;I get an http 500 loading this file : o/frontend-js-web/liferay/available_languages.jsp&lt;br /&gt;&lt;br /&gt;On firefox, the error message is :  &lt;strong&gt;Liferay.Language.direction is undefined.&lt;/strong&gt;I already tried on Liferay portal 7.0 and 7.2 and I have the same error.&lt;br /&gt;&lt;br /&gt;I think the french language doesn&amp;#39;t work on this platform,  did you implement it ?How can I fix that ?  I tried change the language with en_US but I get the same issue.&lt;br /&gt;I also try to deploy by copying my war file on /deploy folder but, the portlet seems to be not deployed, I can&amp;#39;t find it on the portlet list and I don&amp;#39;t have any error message.&lt;br /&gt;Regards.</summary>
    <dc:creator>Marceau LE</dc:creator>
    <dc:date>2019-06-27T10:16:25Z</dc:date>
  </entry>
</feed>
