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

[Elasticsearch 6 and 7] Execution failed for task ':apps:document-library:document-library-test:compileTestIntegrationJava'.

    Details

      Description

      All test suites have compilation failures with this message:

      /opt/dev/projects/github/liferay-portal-7.1.x/modules/apps/calendar/calendar-test/src/testIntegration/java/com/liferay/calendar/search/test/CalendarSearchFixture.java:76: error: cannot access SearchHits
      		return HitsAssert.assertOnlyOne(
      		                 ^
        class file for com.liferay.portal.search.hits.SearchHits not found
           [exec] /opt/dev/projects/github/liferay-portal-7.1.x/modules/apps/calendar/calendar-test/src/testIntegration/java/com/liferay/calendar/search/test/CalendarIndexerIndexedFieldsTest.java:111: error: cannot access Document
      		indexedFieldsFixture.postProcessDocument(document); 

      An example can be found here.

        Attachments

          Activity

            People

            Assignee:
            adam.brandizzi Adam Brandizzi
            Reporter:
            adam.brandizzi Adam Brandizzi
            Recent user:
            Annie Wu (Inactive)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Development End Date:

                Packages

                Version Package