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

Shibboleth-hook Plugin Fails to Compile

    Details

    • Fix Priority:
      5

      Description

      Error when compiling the shibboleth-hook plugin.

      Last good commit:

      e7991e34827b1837d6f7b9742320ef4eac7a618c

      First bad commit: LPS-51927 - Rename PortalLDAPImporter interface to PortalUserImporter

      6f41bc0180992be6dbfc83ee93c9343dc004b5ef

      Compile error:

      [/opt/dev/projects/github/liferay-plugins-ee-master/hooks/shibboleth-hook] (master)
      sharon$ ant clean war
      Buildfile: /opt/dev/projects/github/liferay-plugins-ee-master/hooks/shibboleth-hook/build.xml
      
      clean:
         [delete] Deleting directory /opt/dev/projects/github/liferay-plugins-ee-master/hooks/shibboleth-hook/docroot/WEB-INF/classes
      
      war:
          [mkdir] Created dir: /opt/dev/projects/github/liferay-plugins-ee-master/hooks/shibboleth-hook/docroot/WEB-INF/classes
           [copy] Copying 5 files to /opt/dev/projects/github/liferay-plugins-ee-master/hooks/shibboleth-hook/docroot/WEB-INF/lib
           [copy] Copying 48 files to /opt/dev/projects/github/liferay-plugins-ee-master/hooks/shibboleth-hook/docroot/WEB-INF/classes
           [copy] Copied 10 empty directories to 8 empty directories under /opt/dev/projects/github/liferay-plugins-ee-master/hooks/shibboleth-hook/docroot/WEB-INF/classes
          [javac] Compiling 5 source files to /opt/dev/projects/github/liferay-plugins-ee-master/hooks/shibboleth-hook/docroot/WEB-INF/classes
          [javac] /opt/dev/projects/github/liferay-plugins-ee-master/hooks/shibboleth-hook/docroot/WEB-INF/src/com/liferay/shibboleth/hook/security/auth/ShibbolethAutoLogin.java:25: error: cannot find symbol
          [javac] import com.liferay.portal.security.ldap.PortalLDAPImporterUtil;
          [javac]                                        ^
          [javac]   symbol:   class PortalLDAPImporterUtil
          [javac]   location: package com.liferay.portal.security.ldap
          [javac] /opt/dev/projects/github/liferay-plugins-ee-master/hooks/shibboleth-hook/docroot/WEB-INF/src/com/liferay/shibboleth/hook/security/auth/ShibbolethAutoLogin.java:72: error: cannot find symbol
          [javac] 					user = PortalLDAPImporterUtil.importLDAPUser(
          [javac] 					       ^
          [javac]   symbol:   variable PortalLDAPImporterUtil
          [javac]   location: class ShibbolethAutoLogin
          [javac] /opt/dev/projects/github/liferay-plugins-ee-master/hooks/shibboleth-hook/docroot/WEB-INF/src/com/liferay/shibboleth/hook/security/auth/ShibbolethAutoLogin.java:76: error: cannot find symbol
          [javac] 					user = PortalLDAPImporterUtil.importLDAPUser(
          [javac] 					       ^
          [javac]   symbol:   variable PortalLDAPImporterUtil
          [javac]   location: class ShibbolethAutoLogin
          [javac] 3 errors
      
      BUILD FAILED
      /opt/dev/projects/github/liferay-plugins-ee-master/build-common.xml:2752: The following error occurred while executing this line:
      : The following error occurred while executing this line:
      /opt/dev/projects/github/liferay-plugins-ee-master/build-common.xml:2338: The following error occurred while executing this line:
      /opt/dev/projects/github/liferay-plugins-ee-master/build-common.xml:2425: The following error occurred while executing this line:
      : The following error occurred while executing this line:
      /opt/dev/projects/github/liferay-plugins-ee-master/build-common.xml:441: The following error occurred while executing this line:
      /opt/dev/projects/github/liferay-plugins-ee-master/build-common.xml:866: The following error occurred while executing this line:
      /opt/dev/projects/github/liferay-plugins-ee-master/build-common.xml:749: Compile failed; see the compiler error output for details.
      
      Total time: 3 seconds
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                simon.park Simon Park (Inactive)
                Reporter:
                simon.park Simon Park (Inactive)
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.0.0 M3