<?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>Upgrade from 7.0 GA5 to 7.1.1 GA2 dependency woes....</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111733960" />
  <subtitle>Upgrade from 7.0 GA5 to 7.1.1 GA2 dependency woes....</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111733960</id>
  <updated>2026-04-05T10:54:10Z</updated>
  <dc:date>2026-04-05T10:54:10Z</dc:date>
  <entry>
    <title>RE: Upgrade from 7.0 GA5 to 7.1.1 GA2 dependency woes....</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111738830" />
    <author>
      <name>Pete Helgren</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111738830</id>
    <updated>2018-12-05T13:21:19Z</updated>
    <published>2018-12-05T13:21:19Z</published>
    <summary type="html">&lt;p&gt;Thanks.  I tried that and ended up with yet another dependency error
  (different class).   I am going to temporarily comment out the code
  that uses the Freemerker template and compile without it and then
  circle around later to trace the dependency issue.&lt;br /&gt;
  &lt;br /&gt; Seems like there are quite a few subtle differences in 7.1.1 vs
  7.0  I now have a database connection problem to solve (new post).&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</summary>
    <dc:creator>Pete Helgren</dc:creator>
    <dc:date>2018-12-05T13:21:19Z</dc:date>
  </entry>
  <entry>
    <title>RE: Upgrade from 7.0 GA5 to 7.1.1 GA2 dependency woes....</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111736111" />
    <author>
      <name>Alberto Chaparro</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111736111</id>
    <updated>2018-12-05T09:15:01Z</updated>
    <published>2018-12-05T09:15:01Z</published>
    <summary type="html">&lt;p&gt;Hi Pete,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I am not an expert on defining the dependencies but could you try:&lt;/p&gt;
&lt;p&gt;compileInclude group: 'org.freemarker', name: 'freemarker', version: '2.3.16'&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Just in case you also need to deploy the dependency together you bundle.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Let us know about your progress.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards.&lt;/p&gt;</summary>
    <dc:creator>Alberto Chaparro</dc:creator>
    <dc:date>2018-12-05T09:15:01Z</dc:date>
  </entry>
  <entry>
    <title>Upgrade from 7.0 GA5 to 7.1.1 GA2 dependency woes....</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111733959" />
    <author>
      <name>Pete Helgren</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111733959</id>
    <updated>2018-12-04T23:22:27Z</updated>
    <published>2018-12-04T23:22:27Z</published>
    <summary type="html">&lt;p&gt;I am close to solving this but stuck on a last dependency that I
  can't just seem to fix. Environment is:&lt;br /&gt;
  &lt;br /&gt; New LR 7.1.1 Tomcat Bundle&lt;br /&gt; New Eclipse installation 
    - &lt;span style=""&gt;Eclipse Java EE IDE for Web Developers. &lt;/span&gt;
  &lt;span style=""&gt;Version: 2018-09 (4.9.0) &lt;/span&gt;
  &lt;span style=""&gt;Build id: 20180917-1800&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
  &lt;span style=""&gt;New LR SDK Install into Eclipse  (3.4) &lt;/span&gt;
  &lt;br /&gt;
  &lt;br /&gt; Imported my portlet projects one by one into a new  workspace.&lt;br /&gt;
  &lt;br /&gt; Resolved issues with Liferay Kernel version  (just built a new
  Module project and examined the gradle settings which I then copied to
  my projects)&lt;br /&gt;
  &lt;br /&gt; Left with this final dependency error:  Unresolved requirement:
  Import-Package: freemarker.cache_ [Sanitized]&lt;br /&gt;
  &lt;br /&gt; I have one class that is used to send email via a Freemarker
  Template.  I have this gradle entry:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;    compile group: 'org.freemarker', name: 'freemarker', version: '2.3.16'&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;In the 7.0 version, I have no trouble building or deploying.  In
  7.1.1 I get the error after deploying.  The module won't activate
  because it can't seem to find the reference even though the compile is
  A-OK.  The class uses the following imports:&lt;/p&gt;
&lt;p&gt;import freemarker.cache.FileTemplateLoader;&lt;br /&gt; import
  freemarker.template.Configuration;&lt;br /&gt; import
  freemarker.template.Template;&lt;br /&gt; import freemarker.template.TemplateException;&lt;/p&gt;
&lt;p&gt;
  &lt;br /&gt; So, what did I miss here?  It seemed pretty straight forward to
  upgrade to 7.1.1 , especially when I resolved the Liferay kernal
  issue  (using version 3.0.0 fixed it)  But the Freemarker dependency
  is critical.  Tried everything I can think of to fix it.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Pete Helgren</dc:creator>
    <dc:date>2018-12-04T23:22:27Z</dc:date>
  </entry>
</feed>
