<?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>Overriding Calendar Portlet</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=113028950" />
  <subtitle>Overriding Calendar Portlet</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=113028950</id>
  <updated>2026-04-04T00:56:29Z</updated>
  <dc:date>2026-04-04T00:56:29Z</dc:date>
  <entry>
    <title>RE: Overriding Calendar Portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113052780" />
    <author>
      <name>Daniel G</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113052780</id>
    <updated>2019-04-08T07:33:12Z</updated>
    <published>2019-04-08T07:33:12Z</published>
    <summary type="html">I was checking and the issue is related to Calendar Service module. I am doing something wrong when try to include it in gradle, because I have error everytime I try to use anything ot that class. Modules which are causing the error are exported in bnd file so the error I think it should be in the gradle configuration.&lt;br /&gt;&lt;br /&gt;I will continue investigating in order to solve it.&lt;br /&gt;&lt;br /&gt;Thanks again for your help.&lt;br /&gt;&lt;br /&gt;Regards</summary>
    <dc:creator>Daniel G</dc:creator>
    <dc:date>2019-04-08T07:33:12Z</dc:date>
  </entry>
  <entry>
    <title>RE: Overriding Calendar Portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113039898" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113039898</id>
    <updated>2019-04-05T18:46:42Z</updated>
    <published>2019-04-05T18:46:42Z</published>
    <summary type="html">Well, you have to find the module that contains the package and then check its bnd.bnd file to see if the package is exported.&lt;br /&gt;&lt;br /&gt;They have changed things in 7.1, but I don&amp;#39;t know if this particular package export is one of those.</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2019-04-05T18:46:42Z</dc:date>
  </entry>
  <entry>
    <title>RE: Overriding Calendar Portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113035543" />
    <author>
      <name>Daniel G</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113035543</id>
    <updated>2019-04-05T15:04:37Z</updated>
    <published>2019-04-05T15:04:37Z</published>
    <summary type="html">First of all thanks a lot four your help, as always.&lt;br /&gt;&lt;br /&gt;The fact that that package is likely not imported by any module, is something new? because I was able to do it in previous versions and I have never had that problem, so maybe I am importing something in a wrong way.&lt;br /&gt;&lt;br /&gt;Thanks again!</summary>
    <dc:creator>Daniel G</dc:creator>
    <dc:date>2019-04-05T15:04:37Z</dc:date>
  </entry>
  <entry>
    <title>RE: Overriding Calendar Portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113034132" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113034132</id>
    <updated>2019-04-05T13:26:09Z</updated>
    <published>2019-04-05T13:26:09Z</published>
    <summary type="html">You don&amp;#39;t have to include the resource, the calendar is already deployed.&lt;br /&gt;&lt;br /&gt;The com.liferay.calendar.notification.impl package is likely not exported by any module, therefore your module cannot import it.</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2019-04-05T13:26:09Z</dc:date>
  </entry>
  <entry>
    <title>Overriding Calendar Portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113028949" />
    <author>
      <name>Daniel G</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113028949</id>
    <updated>2019-04-05T10:47:40Z</updated>
    <published>2019-04-05T10:47:40Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi all.&lt;br&gt;&lt;br&gt;I trying to override Calendar Portlet in Liferay 7.1 but I am facing an issue related to dependencies.&lt;br&gt;&lt;br&gt;I had done it to previous versions of calendar, but now we are facing this issue everytime I try to start the portlet:&lt;br&gt;&lt;blockquote&gt;&lt;br&gt;ERROR [fileinstall-C:/liferay-dxp-7.1.10.1-sp1/osgi/modules][org_apache_felix_fileinstall:97] Error while starting bundle: LPKG-Override::C:\liferay-dxp-7.1.10.1-sp1\osgi\marketplace\override\com.liferay.calendar.web.jar&lt;br&gt;org.osgi.framework.BundleException: Could not resolve module: com.liferay.calendar.web [1020]_  Unresolved requirement: Import-Package: com.liferay.calendar.notification.impl_ [Sanitized]&lt;br&gt;        at org.eclipse.osgi.container.Module.start(Module.java:444)&lt;br&gt;        at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:428)&lt;br&gt;        at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1258)&lt;br&gt;        at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1230)&lt;br&gt;        at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:512)&lt;br&gt;        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361)&lt;br&gt;        at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:312)&lt;br&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;br&gt;in build.gradle I have this:&lt;br&gt;&lt;pre&gt;&lt;code&gt;

  compile group: "com.liferay", name: "com.liferay.calendar.web", version: "2.0.28"
    compile group: "com.liferay", name: "com.liferay.calendar.api", version: "3.0.6"
    compile group: "com.liferay", name: "com.liferay.calendar.service", version: "3.0.20"		
&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;And this in bnd.bnd&lt;br&gt;&lt;pre&gt;&lt;code&gt;Include-Resource: @com.liferay.calendar.web-2.0.28.jar&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;But it does not work. I tried changing compile by compileOnly or compileInclude, no one worked for me.&lt;br&gt;&lt;br&gt;Anyone can help me with this? any little help would be appreciated!&lt;br&gt;&lt;br&gt;Thanks in advance.&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Daniel G</dc:creator>
    <dc:date>2019-04-05T10:47:40Z</dc:date>
  </entry>
</feed>
