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

Mvc-portlet packaging failed in mvn workspace with bom version 7.3.0-1

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 7.3.0 CE GA1
    • Fix Version/s: None
    • Component/s: Dev Tools
    • Labels:
      None

      Description

      steps:
      1.blade init -b maven -v 7.3
      2.modify the bom version of mvn workspace from 7.3.4 to 7.3.0-1
      3.blade create -b maven -t mvc-portlet mmvc
      4.mvn clean package in mmvc

      actual result:
      [ERROR] /E:/testMvn730-1/mmvc/src/main/java/mmvc/portlet/MmvcPortlet.java:[7,21] The package javax.portlet does not exist
      [ERROR] /E:/testMvn730-1/mmvc/src/main/java/mmvc/portlet/MmvcPortlet.java:[9,46] package org.osgi.service.component.annotations does not exist
      [ERROR] /E:/testMvn730-1/mmvc/src/main/java/mmvc/portlet/MmvcPortlet.java:[29,8] Cannot access javax.portlet.GenericPortlet
      Cannot find the class file for javax.portlet.GenericPortlet

        Attachments

          Activity

            People

            Assignee:
            lawrence.lee Lawrence Lee
            Reporter:
            lily.li Lily Li
            Participants of an Issue:
            Recent user:
            Yanan Yuan(Ashley Yuan)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              4 weeks, 4 days ago

                Packages

                Version Package