Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-54249

Calendar portlet is not going to deploy

    Details

    • Story Points:
      9

      Description

      When i am going to deploy the calendar portlet it gives me following error.

      Buildfile: /opt/liferay-plugins-sdk-6.2/portlets/calendar-portlet/build.xml
      deploy:
      [copy] Copying 8 files to /opt/liferay-plugins-sdk-6.2/portlets/calendar-portlet/docroot/WEB-INF/lib
      [copy] Copying 1 file to /opt/liferay-plugins-sdk-6.2/portlets/calendar-portlet/docroot/WEB-INF/tld
      [copy] Copying 5 files to /opt/liferay-plugins-sdk-6.2/portlets/calendar-portlet/docroot/WEB-INF/lib
      [copy] Copying 1 file to /opt/liferay-plugins-sdk-6.2/portlets/calendar-portlet/docroot/WEB-INF/classes
      [javac] Compiling 99 source files to /opt/liferay-plugins-sdk-6.2/portlets/calendar-portlet/docroot/WEB-INF/classes
      [javac] ----------
      [javac] 1. ERROR in /opt/liferay-plugins-sdk-6.2/portlets/calendar-portlet/docroot/WEB-INF/src/com/liferay/calendar/notification/NotificationTemplateContextFactory.java (at line 22)
      [javac] import com.liferay.compat.portal.util.PortalUtil;
      [javac] ^^^^^^^^^^^^^^^^^^
      [javac] The import com.liferay.compat cannot be resolved
      [javac] ----------
      [javac] 2. ERROR in /opt/liferay-plugins-sdk-6.2/portlets/calendar-portlet/docroot/WEB-INF/src/com/liferay/calendar/notification/NotificationTemplateContextFactory.java (at line 154)
      [javac] String layoutActualURL = PortalUtil.getLayoutActualURL(layout);
      [javac] ^^^^^^^^^^
      [javac] PortalUtil cannot be resolved
      [javac] ----------
      [javac] 3. ERROR in /opt/liferay-plugins-sdk-6.2/portlets/calendar-portlet/docroot/WEB-INF/src/com/liferay/calendar/notification/NotificationTemplateContextFactory.java (at line 158)
      [javac] String namespace = PortalUtil.getPortletNamespace(PortletKeys.CALENDAR);
      [javac] ^^^^^^^^^^
      [javac] PortalUtil cannot be resolved
      [javac] ----------
      [javac] 4. ERROR in /opt/liferay-plugins-sdk-6.2/portlets/calendar-portlet/docroot/WEB-INF/src/com/liferay/calendar/notification/NotificationTemplateContextFactory.java (at line 180)
      [javac] portalURL, PortalUtil.getPortalPort(false), false);
      [javac] ^^^^^^^^^^
      [javac] PortalUtil cannot be resolved
      [javac] ----------
      [javac] ----------
      [javac] 5. ERROR in /opt/liferay-plugins-sdk-6.2/portlets/calendar-portlet/docroot/WEB-INF/src/com/liferay/calendar/service/impl/CalendarImporterLocalServiceImpl.java (at line 134)
      [javac] classNameLocalService.getClassNameId(CalEvent.class.getName()),
      [javac] ^^^^^^^^^^^^^^^^^^^^^
      [javac] classNameLocalService cannot be resolved
      [javac] ----------
      [javac] 6. ERROR in /opt/liferay-plugins-sdk-6.2/portlets/calendar-portlet/docroot/WEB-INF/src/com/liferay/calendar/service/impl/CalendarImporterLocalServiceImpl.java (at line 136)
      [javac] classNameLocalService.getClassNameId(
      [javac] ^^^^^^^^^^^^^^^^^^^^^
      [javac] classNameLocalService cannot be resolved
      [javac] ----------
      [javac] 7. ERROR in /opt/liferay-plugins-sdk-6.2/portlets/calendar-portlet/docroot/WEB-INF/src/com/liferay/calendar/service/impl/CalendarImporterLocalServiceImpl.java (at line 617)
      [javac] classNameLocalService.getClassNameId(CalEvent.class)) {
      [javac] ^^^^^^^^^^^^^^^^^^^^^
      [javac] classNameLocalService cannot be resolved
      [javac] ----------
      [javac] 8. ERROR in /opt/liferay-plugins-sdk-6.2/portlets/calendar-portlet/docroot/WEB-INF/src/com/liferay/calendar/service/impl/CalendarImporterLocalServiceImpl.java (at line 658)
      [javac] classNameLocalService.getClassNameId(CalEvent.class.getName()),
      [javac] ^^^^^^^^^^^^^^^^^^^^^
      [javac] classNameLocalService cannot be resolved
      [javac] ----------
      [javac] 9. ERROR in /opt/liferay-plugins-sdk-6.2/portlets/calendar-portlet/docroot/WEB-INF/src/com/liferay/calendar/service/impl/CalendarImporterLocalServiceImpl.java (at line 671)
      [javac] classNameLocalService.getClassNameId(
      [javac] ^^^^^^^^^^^^^^^^^^^^^
      [javac] classNameLocalService cannot be resolved
      [javac] ----------
      [javac] 10. ERROR in /opt/liferay-plugins-sdk-6.2/portlets/calendar-portlet/docroot/WEB-INF/src/com/liferay/calendar/service/impl/CalendarImporterLocalServiceImpl.java (at line 755)
      [javac] classNameLocalService.getClassNameId(CalEvent.class),
      [javac] ^^^^^^^^^^^^^^^^^^^^^
      [javac] classNameLocalService cannot be resolved
      [javac] ----------
      [javac] 11. ERROR in /opt/liferay-plugins-sdk-6.2/portlets/calendar-portlet/docroot/WEB-INF/src/com/liferay/calendar/service/impl/CalendarImporterLocalServiceImpl.java (at line 770)
      [javac] classNameLocalService.getClassNameId(
      [javac] ^^^^^^^^^^^^^^^^^^^^^
      [javac] classNameLocalService cannot be resolved
      [javac] ----------
      [javac] 12. ERROR in /opt/liferay-plugins-sdk-6.2/portlets/calendar-portlet/docroot/WEB-INF/src/com/liferay/calendar/service/impl/CalendarImporterLocalServiceImpl.java (at line 804)
      [javac] classNameLocalService.getClassNameId(
      [javac] ^^^^^^^^^^^^^^^^^^^^^
      [javac] classNameLocalService cannot be resolved
      [javac] ----------
      [javac] 13. ERROR in /opt/liferay-plugins-sdk-6.2/portlets/calendar-portlet/docroot/WEB-INF/src/com/liferay/calendar/service/impl/CalendarImporterLocalServiceImpl.java (at line 815)
      [javac] long mbDiscussionClassNameId = classNameLocalService.getClassNameId(
      [javac] ^^^^^^^^^^^^^^^^^^^^^
      [javac] classNameLocalService cannot be resolved
      [javac] ----------
      [javac] 14. ERROR in /opt/liferay-plugins-sdk-6.2/portlets/calendar-portlet/docroot/WEB-INF/src/com/liferay/calendar/service/impl/CalendarImporterLocalServiceImpl.java (at line 903)
      [javac] classNameLocalService.getClassNameId(CalEvent.class),
      [javac] ^^^^^^^^^^^^^^^^^^^^^
      [javac] classNameLocalService cannot be resolved
      [javac] ----------
      [javac] 15. ERROR in /opt/liferay-plugins-sdk-6.2/portlets/calendar-portlet/docroot/WEB-INF/src/com/liferay/calendar/service/impl/CalendarImporterLocalServiceImpl.java (at line 920)
      [javac] classNameLocalService.getClassNameId(CalendarBooking.class),
      [javac] ^^^^^^^^^^^^^^^^^^^^^
      [javac] classNameLocalService cannot be resolved
      [javac] ----------
      [javac] 16. ERROR in /opt/liferay-plugins-sdk-6.2/portlets/calendar-portlet/docroot/WEB-INF/src/com/liferay/calendar/service/impl/CalendarImporterLocalServiceImpl.java (at line 933)
      [javac] classNameLocalService.getClassNameId(CalendarBooking.class),
      [javac] ^^^^^^^^^^^^^^^^^^^^^
      [javac] classNameLocalService cannot be resolved
      [javac] ----------
      [javac] 17. ERROR in /opt/liferay-plugins-sdk-6.2/portlets/calendar-portlet/docroot/WEB-INF/src/com/liferay/calendar/service/impl/CalendarImporterLocalServiceImpl.java (at line 943)
      [javac] classNameLocalService.getClassNameId(CalEvent.class),
      [javac] ^^^^^^^^^^^^^^^^^^^^^
      [javac] classNameLocalService cannot be resolved
      [javac] ----------
      [javac] ----------
      [javac] 18. ERROR in /opt/liferay-plugins-sdk-6.2/portlets/calendar-portlet/docroot/WEB-INF/src/com/liferay/calendar/service/impl/CalendarResourceLocalServiceImpl.java (at line 70)
      [javac] classNameLocalService.getClassNameId(CalendarResource.class)) {
      [javac] ^^^^^^^^^^^^^^^^^^^^^
      [javac] classNameLocalService cannot be resolved
      [javac] ----------
      [javac] 18 problems (18 errors)

      BUILD FAILED
      /opt/liferay-plugins-sdk-6.2/build-common-plugin.xml:482: The following error occurred while executing this line:
      /opt/liferay-plugins-sdk-6.2/build-common.xml:993: The following error occurred while executing this line:
      /opt/liferay-plugins-sdk-6.2/build-common.xml:299: The following error occurred while executing this line:
      /opt/liferay-plugins-sdk-6.2/build-common.xml:1762: The following error occurred while executing this line:
      /opt/liferay-plugins-sdk-6.2/build-common.xml:219: The following error occurred while executing this line:
      /opt/liferay-plugins-sdk-6.2/build-common.xml:465: The following error occurred while executing this line:
      /opt/liferay-plugins-sdk-6.2/build-common.xml:747: The following error occurred while executing this line:
      /opt/liferay-plugins-sdk-6.2/build-common.xml:634: Compile failed; see the compiler error output for details.

      Total time: 8 seconds

        Attachments

        1. Nolonger.PNG
          Nolonger.PNG
          90 kB
        2. Nolonger2.PNG
          Nolonger2.PNG
          49 kB
        3. NolongerM.PNG
          NolongerM.PNG
          88 kB

          Activity

            People

            • Assignee:
              harry.chai Harry Chai
              Reporter:
              atul.soni Atul
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 12 weeks, 3 days ago

                Packages

                Version Package
                6.2.3 CE GA4
                7.0.0 Alpha 2