<?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>Unresolved requirement for non-existing version</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=114473933" />
  <subtitle>Unresolved requirement for non-existing version</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=114473933</id>
  <updated>2026-04-06T11:32:24Z</updated>
  <dc:date>2026-04-06T11:32:24Z</dc:date>
  <entry>
    <title>RE: Unresolved requirement for non-existing version</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114485768" />
    <author>
      <name>Andrew Jardine</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114485768</id>
    <updated>2019-07-29T15:45:28Z</updated>
    <published>2019-07-29T15:45:28Z</published>
    <summary type="html">Hey Tom,Just to give you another reference (sometimes we don&amp;#39;t have internet connections!) .. you can look it up in the bnd file with the module in the portal source of course, but there is also a file in the portal source called &lt;strong&gt;module.properties&lt;/strong&gt; which contains a list that easy peasy to look up. The only thing you have to remember to do is subtract 1 point version off the value listed. So for example, I am looking at the file for 7.1 GA4 source and it has &lt;strong&gt;com.liferay.journal.api=3.5.8&lt;/strong&gt; .. so in my dependencies I would specify &lt;strong&gt;com.liferay.journal.api=3.5.7&lt;/strong&gt;</summary>
    <dc:creator>Andrew Jardine</dc:creator>
    <dc:date>2019-07-29T15:45:28Z</dc:date>
  </entry>
  <entry>
    <title>RE: Unresolved requirement for non-existing version</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114478083" />
    <author>
      <name>Tom Jacobs</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114478083</id>
    <updated>2019-07-29T10:48:37Z</updated>
    <published>2019-07-29T10:48:37Z</published>
    <summary type="html">Ok good to know! I&amp;#39;m working with Liferay 7.2, changed the com.liferay.journal.api version to 4.3.0 (for June 2019) and it works!Thank you!</summary>
    <dc:creator>Tom Jacobs</dc:creator>
    <dc:date>2019-07-29T10:48:37Z</dc:date>
  </entry>
  <entry>
    <title>RE: Unresolved requirement for non-existing version</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114477350" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114477350</id>
    <updated>2019-07-29T10:19:20Z</updated>
    <published>2019-07-29T10:19:20Z</published>
    <summary type="html">It&amp;#39;s a bit misleading.&lt;br /&gt;Each jar file has a bundle version. That version is what you request using gradle/maven. But each package inside also has a version. And with Liferay, this version usually is different from the bundle version.&lt;br /&gt;You probably need &lt;br /&gt;compile group: &amp;#39;com.liferay&amp;#39;, name: &amp;#39;com.liferay.journal.api&amp;#39;, version: &amp;#39;3.0.0&amp;#39;&lt;br /&gt;As a rule of thumb:&lt;br /&gt;Look at the release time of your Liferay version. e.g. for 7.1 that was early July 2018. When a new version is released, Liferay bumps the bundle version. In maven repository you see that com.liferay.journal.api 3.0.0 was released in June 2018. That&amp;#39;s probably the version you need. Using the lowest major version is usually fine in OSGI since it allows you to support the most installations.</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2019-07-29T10:19:20Z</dc:date>
  </entry>
  <entry>
    <title>Unresolved requirement for non-existing version</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114473932" />
    <author>
      <name>Tom Jacobs</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114473932</id>
    <updated>2019-07-29T09:29:22Z</updated>
    <published>2019-07-29T09:29:22Z</published>
    <summary type="html">Hi,&lt;br /&gt;&lt;br /&gt;I&amp;#39;m trying to work with the journalArticleLocalService in a custom module. For this I added a dependency to my build.gradle file: &lt;br /&gt;compile group: &amp;#39;com.liferay&amp;#39;, name: &amp;#39;com.liferay.journal.api&amp;#39;, version: &amp;#39;4.4.0&amp;#39;&lt;br /&gt;&lt;br /&gt;When I try to deploy this module, I&amp;#39;m getting an error:&lt;br /&gt;org.osgi.framework.BundleException: Could not resolve module: content.manager [1098]_  Unresolved requirement: Import-Package: com.liferay.journal.service; version=&amp;#34;[2.7.0,3.0.0)&amp;#34;_ [Sanitized]&lt;br /&gt;&lt;br /&gt;So I go to mvnrepository and look for the correct dependency for com.liferay.journal.service: &lt;a href="https://mvnrepository.com/artifact/com.liferay/com.liferay.journal.service"&gt;https://mvnrepository.com/artifact/com.liferay/com.liferay.journal.service&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But there is no version between 2.7.0 and 3.0.0&lt;br /&gt;&lt;br /&gt;What do I do now?</summary>
    <dc:creator>Tom Jacobs</dc:creator>
    <dc:date>2019-07-29T09:29:22Z</dc:date>
  </entry>
</feed>
