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

FooPersistenceImpl file compile failed because of no appendOrderByComparator method in portal.kernel with target.platform specified

    Details

      Description

      1. blade init -v 7.1 to create a workspace
      2. add "liferay.workspace.target.platform.version = 7.1.3" into gradle.properties file
      3. blade create -t service-builder sample -v 7.1
      4. execute "gw buildService" in sample project
      5. gw build

      in -service project

      notice there is an error in FooPersistenceImpl.java file -service project:

      line 1024: appendOrderByComparator(...) , There is no appendOrderByComparator() method in 3.63.1.jar.

      The method exists in com.liferay.portal.kernel-3.0.0.jar(if don't use target.platform, it point to 3.0.0 in build.gradle which works)

      with target.platform specified, it downloads latest com.liferay.portal.kernel-3.63.1.jar according to build.gradle

       

      compileOnly group: "com.liferay.portal", name: "com.liferay.portal.kernel"

       

       

       

        Attachments

          Activity

            People

            • Assignee:
              peter.shin Peter Shin
              Reporter:
              yanan.yuan Yanan Yuan
              Participants of an Issue:
              Recent user:
              Clarissa Velazquez
              Engineering Assignee:
              Lawrence Lee
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                20 weeks, 2 days ago

                Packages

                Version Package
                7.2.10 DXP FP2
                7.2.10.1 DXP SP1
                Master