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

Missing class attribute WebXMLDefinitionLoaderTest

    Details

      Description

      Caused by LPS-86820 - https://github.com/liferay/liferay-portal/commit/aa099f1d90c415abfbd7b5fcbcf1e6fb6775b6fe

      Test fails to compile:

      > Task :apps:static:portal-osgi-web:portal-osgi-web-servlet-context-helper-impl:compileTestJava FAILED
       
      > Task :apps:static:portal-osgi-web:portal-osgi-web-servlet-context-helper-impl:processTestResources
      /opt/dev/projects/github/liferay-portal-7.2.x/modules/apps/static/portal-osgi-web/portal-osgi-web-servlet-context-helper-impl/src/test/java/com/liferay/portal/osgi/web/servlet/context/helper/internal/definition/WebXMLDefinitionLoaderTest.java:142: error: constructor WebXMLDefinitionLoader in class WebXMLDefinitionLoader cannot be applied to given types;
      			new WebXMLDefinitionLoader(
      			^
      required: Bundle,JSPServletFactory,SAXParserFactory,List<Class<?>>
      found: Bundle,<null>,SAXParserFactory
      reason: actual and formal argument lists differ in length
      /opt/dev/projects/github/liferay-portal-7.2.x/modules/apps/static/portal-osgi-web/portal-osgi-web-servlet-context-helper-impl/src/test/java/com/liferay/portal/osgi/web/servlet/context/helper/internal/definition/WebXMLDefinitionLoaderTest.java:403: error: constructor WebXMLDefinitionLoader in class WebXMLDefinitionLoader cannot be applied to given types;
      			new WebXMLDefinitionLoader(
      			^
      required: Bundle,JSPServletFactory,SAXParserFactory,List<Class<?>>
      found: TestBundle,<null>,SAXParserFactory
      reason: actual and formal argument lists differ in length
      2 errors
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                victor.ware Victor Ware
                Reporter:
                victor.ware Victor Ware
                Recent user:
                Jason Pince
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  7.2.X
                  Master