<?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>Issue overriding Calendar</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121163718" />
  <subtitle>Issue overriding Calendar</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121163718</id>
  <updated>2026-04-05T09:14:00Z</updated>
  <dc:date>2026-04-05T09:14:00Z</dc:date>
  <entry>
    <title>Issue overriding Calendar</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121163717" />
    <author>
      <name>Daniel G</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121163717</id>
    <updated>2021-10-04T17:08:59Z</updated>
    <published>2021-09-23T09:21:45Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am trying to override Calendar portlet and I am facing issues with
  dependencies. I was able to do it in Liferay 7.1, but now I am in 7.3
  and I am not being able to add the needed dependencies. &lt;/p&gt;
&lt;p&gt;This is my build.gradle&lt;/p&gt;
&lt;pre&gt;
&lt;code class="language-java"&gt;dependencies {

	c	compileOnly group: &amp;quot;com.liferay.portal&amp;quot;, name: &amp;quot;release.dxp.api&amp;quot;

	compileInclude group: 'com.liferay', name: 'com.liferay.frontend.editor.taglib', version: '1.0.2'

	compile group: &amp;quot;com.liferay.portal&amp;quot;, name: &amp;quot;com.liferay.portal.impl&amp;quot;
	compileOnly group: &amp;quot;com.liferay.portal&amp;quot;, name: &amp;quot;com.liferay.portal.kernel&amp;quot;
	compileOnly group: &amp;quot;com.liferay.portal&amp;quot;, name: &amp;quot;com.liferay.util.java&amp;quot;
	compileOnly group: &amp;quot;com.liferay.portal&amp;quot;, name: &amp;quot;com.liferay.util.taglib&amp;quot;
	compileOnly group: &amp;quot;javax.portlet&amp;quot;, name: &amp;quot;portlet-api&amp;quot;, version: &amp;quot;3.0.1&amp;quot;
	compileOnly group: &amp;quot;javax.servlet.jsp&amp;quot;, name: &amp;quot;javax.servlet.jsp-api&amp;quot;, version: &amp;quot;2.3.1&amp;quot;
	compileOnly group: &amp;quot;org.apache.felix&amp;quot;, name: &amp;quot;org.apache.felix.http.servlet-api&amp;quot;, version: &amp;quot;1.1.2&amp;quot;
	compileOnly group: &amp;quot;org.osgi&amp;quot;, name: &amp;quot;org.osgi.service.component.annotations&amp;quot;, version: &amp;quot;1.3.0&amp;quot;
    compile group: &amp;quot;com.liferay&amp;quot;, name: &amp;quot;com.liferay.calendar.web&amp;quot;, version: &amp;quot;4.0.50&amp;quot;
    compileOnly group: &amp;quot;com.liferay&amp;quot;, name: &amp;quot;com.liferay.calendar.api&amp;quot;, version: &amp;quot;5.6.0&amp;quot;
    compileOnly group: &amp;quot;com.liferay&amp;quot;, name: &amp;quot;com.liferay.calendar.service&amp;quot;, version: &amp;quot;5.0.41&amp;quot;
    compile group: 'com.liferay', name: 'com.liferay.asset.api', version: '2.5.3'
    
}
jar.archiveName = 'com.liferay.calendar.web.jar'
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and this is my bnd file&lt;/p&gt;
&lt;pre&gt;
&lt;code class="language-java"&gt;Bundle-Name: Liferay Calendar Web
Bundle-SymbolicName: com.liferay.calendar.web
Bundle-Version: 4.0.50
Liferay-JS-Config: /META-INF/resources/js/config.js
Web-ContextPath: /calendar-web


Include-Resource: @com.liferay.calendar.web-4.0.50.jar

-noee:true&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;but when I deploy the module, I see this error in logs and the module
  does not start:&lt;/p&gt;
&lt;pre&gt;
&lt;code class="language-java"&gt;
org.osgi.framework.BundleException: Could not resolve module: com.liferay.calendar.web [523]_  Unresolved requirement: Import-Package: com.liferay.calendar.web.internal.constants_ [Sanitized]
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Any ideas? Any help would be very appreciated&lt;/p&gt;
&lt;p&gt;Thanks in advance,&lt;/p&gt;
&lt;p&gt;
  &lt;br /&gt; Regards!&lt;/p&gt;</summary>
    <dc:creator>Daniel G</dc:creator>
    <dc:date>2021-09-23T09:21:45Z</dc:date>
  </entry>
</feed>
