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

6.1.x CE and 6.1.20 plugins fail to compile because SchedulerEngineHelperUtil doesn't exist in portal

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
    • Fix Version/s: 6.1.2 CE GA3, 6.1.30 EE GA3
    • Component/s: Util
    • Labels:
      None
    • Environment:
      Tomcat 7 + MySQL 5. Portal 6.1.x CE GIT ID: 6ff4b3f107e9154d0f1df357bd2c7d4b6b4dd697.
      Plugins 6.1.x CE GIT ID: a29e12331599d1fc387496f1802b3c182c6da8ce.

      Description

      6.1.x CE and 6.1.20 plugins fail to compile because SchedulerEngineHelperUtil doesn't exist in portal

      When I try to make the deploy-listener-hook, I get this error:

      Liferay@MANDY /e/public/6.1.x-plugins/hooks/deploy-listener-hook (6.1.x)
      $ ant clean war
      Buildfile: e:\public\6.1.x-plugins\hooks\deploy-listener-hook\build.xml
      
      clean:
         [delete] Deleting directory e:\public\6.1.x-plugins\hooks\deploy-listener-hook\docroot\WEB-INF\classes
         [delete] Deleting directory e:\public\6.1.x-plugins\hooks\deploy-listener-hook\docroot\WEB-INF\lib
      
      clean-portal-dependencies:
      
      compile:
      
      merge:
          [mkdir] Created dir: e:\public\6.1.x-plugins\hooks\deploy-listener-hook\docroot\WEB-INF\classes
          [mkdir] Created dir: e:\public\6.1.x-plugins\hooks\deploy-listener-hook\docroot\WEB-INF\lib
      
      compile:
      
      compile-java:
          [javac] Compiling 2 source files to e:\public\6.1.x-plugins\shared\portal-compat-shared\classes
          [javac] ----------
          [javac] 1. ERROR in e:\public\6.1.x-plugins\shared\portal-compat-shared\src\com\liferay\compat\util\bridges\alloy\AlloyPortlet.java (at line 24)
          [javac]     import com.liferay.portal.kernel.scheduler.SchedulerEngineHelperUtil;
          [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          [javac] The import com.liferay.portal.kernel.scheduler.SchedulerEngineHelperUtil cannot be resolved
          [javac] ----------
          [javac] 2. ERROR in e:\public\6.1.x-plugins\shared\portal-compat-shared\src\com\liferay\compat\util\bridges\alloy\AlloyPortlet.java (at line 81)
          [javac]     SchedulerEngineHelperUtil.unschedule(
          [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^
          [javac] SchedulerEngineHelperUtil cannot be resolved
          [javac] ----------
          [javac] ----------
          [javac] 3. ERROR in e:\public\6.1.x-plugins\shared\portal-compat-shared\src\com\liferay\compat\util\bridges\alloy\BaseAlloyControllerImpl.java (at line 36)
          [javac]     import com.liferay.portal.kernel.scheduler.SchedulerEngineHelperUtil;
          [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          [javac] The import com.liferay.portal.kernel.scheduler.SchedulerEngineHelperUtil cannot be resolved
          [javac] ----------
          [javac] 4. ERROR in e:\public\6.1.x-plugins\shared\portal-compat-shared\src\com\liferay\compat\util\bridges\alloy\BaseAlloyControllerImpl.java (at line 55)
          [javac]     import com.liferay.portal.kernel.util.ServiceBeanMethodInvocationFactoryUtil;
          [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          [javac] The import com.liferay.portal.kernel.util.ServiceBeanMethodInvocationFactoryUtil cannot be resolved
          [javac] ----------
          [javac] 5. ERROR in e:\public\6.1.x-plugins\shared\portal-compat-shared\src\com\liferay\compat\util\bridges\alloy\BaseAlloyControllerImpl.java (at line 137)
          [javac]     ServiceBeanMethodInvocationFactoryUtil.proceed(
          [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          [javac] ServiceBeanMethodInvocationFactoryUtil cannot be resolved
          [javac] ----------
          [javac] 6. ERROR in e:\public\6.1.x-plugins\shared\portal-compat-shared\src\com\liferay\compat\util\bridges\alloy\BaseAlloyControllerImpl.java (at line 573)
          [javac]     SchedulerEngineHelperUtil.unschedule(
          [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^
          [javac] SchedulerEngineHelperUtil cannot be resolved
          [javac] ----------
          [javac] 7. ERROR in e:\public\6.1.x-plugins\shared\portal-compat-shared\src\com\liferay\compat\util\bridges\alloy\BaseAlloyControllerImpl.java (at line 601)
          [javac]     SchedulerEngineHelperUtil.schedule(
          [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^
          [javac] SchedulerEngineHelperUtil cannot be resolved
          [javac] ----------
          [javac] 7 problems (7 errors)
      
      BUILD FAILED
      e:\public\6.1.x-plugins\build-common-plugin.xml:547: The following error occurred while executing this line:
      e:\public\6.1.x-plugins\build-common-plugin.xml:552: The following error occurred while executing this line:
      e:\public\6.1.x-plugins\shared\build-common-shared.xml:50: The following error occurred while executing this line:
      e:\public\6.1.x-plugins\build-common.xml:111: Compile failed; see the compiler error output for details.
      
      Total time: 8 seconds
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 27 weeks, 2 days ago

                Packages

                Version Package
                6.1.2 CE GA3
                6.1.30 EE GA3