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

ee-7.0.x compile failure at portal-cache

    Details

      Description

      Reproduced on:
      Tomcat 8.0.30 + MySQL 5.6.25. Portal ee-7.0.x GIT ID: d1469333bf331344d3c4bb4b49b18d30a13e887f.

      Steps to Reproduce:

      1. Compile portal ee-7.0.x at head

      Output:

           [exec] :portal-cache:portal-cache-multiple:compileJava
           [exec] /Users/vicnate5/Liferay/liferay-portal-ee-7.0.x/modules/portal-cache/portal-cache-multiple/src/main/java/com/liferay/portal/cache/multiple/internal/cluster/link/PortalCacheClusterLink.java:26: error: package org.osgi.service.component does not exist
           [exec] import org.osgi.service.component.ComponentContext;
           [exec]                                  ^
           [exec] /Users/vicnate5/Liferay/liferay-portal-ee-7.0.x/modules/portal-cache/portal-cache-multiple/src/main/java/com/liferay/portal/cache/multiple/internal/cluster/link/PortalCacheClusterLink.java:75: error: cannot find symbol
           [exec] 	protected void activate(ComponentContext componentContext) {
           [exec] 	                        ^
           [exec]   symbol:   class ComponentContext
           [exec]   location: class PortalCacheClusterLink
           [exec] :portal-cache:portal-cache-test:compileJava
           [exec] :portal-cache:portal-cache-test:processResources UP-TO-DATE
           [exec] :portal-cache:portal-cache-test:transpileJS SKIPPED
           [exec] :portal-cache:portal-cache-test:configJSModules SKIPPED
           [exec] :portal-cache:portal-cache-test:copyLibs
           [exec] :frontend:frontend-taglib:deploy
           [exec] :portal-cache:portal-cache-multiple:compileJava FAILED
           [exec] Note: Some input files use unchecked or unsafe operations.
           [exec] Note: Recompile with -Xlint:unchecked for details.
           [exec] 2 errors
           [exec] [Export net.sf.ehcache,  has 19,  private references [net.sf.ehcache.store.disk, net.sf.ehcache.search.attribute, net.sf.ehcache.writer, net.sf.ehcache.transaction.manager, net.sf.ehcache.exceptionhandler, net.sf.ehcache.search, net.sf.ehcache.extension, net.sf.ehcache.terracotta, net.sf.ehcache.loader, org.terracotta.statistics, net.sf.ehcache.transaction, net.sf.ehcache.pool, net.sf.ehcache.writer.writebehind, net.sf.ehcache.store, net.sf.ehcache.transaction.local, net.sf.ehcache.statistics, org.terracotta.context.annotations, net.sf.ehcache.concurrent, net.sf.ehcache.cluster], , Export net.sf.ehcache.config,  has 9,  private references [net.sf.ehcache.config.generator, net.sf.ehcache.search.attribute, net.sf.ehcache.writer, net.sf.ehcache.transaction.manager, net.sf.ehcache.store, net.sf.ehcache.exceptionhandler, net.sf.ehcache.util.counter.sampled, net.sf.ehcache.store.compound, net.sf.ehcache.config.generator.model], , Export net.sf.ehcache.constructs,  has 9,  private references [net.sf.ehcache.search.attribute, net.sf.ehcache.writer, net.sf.ehcache.transaction.manager, net.sf.ehcache.exceptionhandler, net.sf.ehcache.search, net.sf.ehcache.statistics, net.sf.ehcache.extension, net.sf.ehcache.terracotta, net.sf.ehcache.loader], ]
           [exec] [Export net.sf.ehcache,  has 19,  private references [org.terracotta.context.annotations, net.sf.ehcache.transaction, net.sf.ehcache.concurrent, net.sf.ehcache.store.disk, net.sf.ehcache.search.attribute, net.sf.ehcache.store, net.sf.ehcache.loader, net.sf.ehcache.terracotta, org.terracotta.statistics, net.sf.ehcache.cluster, net.sf.ehcache.transaction.manager, net.sf.ehcache.search, net.sf.ehcache.exceptionhandler, net.sf.ehcache.writer, net.sf.ehcache.writer.writebehind, net.sf.ehcache.extension, net.sf.ehcache.statistics, net.sf.ehcache.transaction.local, net.sf.ehcache.pool], , Export net.sf.ehcache.config,  has 9,  private references [net.sf.ehcache.store.compound, net.sf.ehcache.config.generator.model, net.sf.ehcache.search.attribute, net.sf.ehcache.store, net.sf.ehcache.exceptionhandler, net.sf.ehcache.config.generator, net.sf.ehcache.writer, net.sf.ehcache.util.counter.sampled, net.sf.ehcache.transaction.manager], , Export net.sf.ehcache.constructs,  has 9,  private references [net.sf.ehcache.search, net.sf.ehcache.search.attribute, net.sf.ehcache.exceptionhandler, net.sf.ehcache.loader, net.sf.ehcache.writer, net.sf.ehcache.terracotta, net.sf.ehcache.extension, net.sf.ehcache.transaction.manager, net.sf.ehcache.statistics], ]
           [exec]
           [exec]
           [exec] FAILURE: Build failed with an exception.
           [exec]
           [exec] * What went wrong:
           [exec] BUILD FAILED
           [exec]
           [exec] Total time: 1 mins 1.161 secs
           [exec] Execution failed for task ':portal-cache:portal-cache-multiple:compileJava'.
           [exec] > Compilation failed; see the compiler error output for details.
           [exec]
           [exec] * Try:
           [exec] Run with --info or --debug option to get more log output.
           [exec]
           [exec] * Exception is:
           [exec] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':portal-cache:portal-cache-multiple:compileJava'.
           [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
           [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
           [exec] 	at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
           [exec] 	at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
           [exec] 	at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
           [exec] 	at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
           [exec] 	at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
           [exec] 	at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
           [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
           [exec] 	at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
           [exec] 	at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
           [exec] 	at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:62)
           [exec] 	at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
           [exec] 	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
           [exec] 	at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
           [exec] Caused by: org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details.
           [exec] 	at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:47)
           [exec] 	at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:33)
           [exec] 	at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:101)
           [exec] 	at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:50)
           [exec] 	at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:36)
           [exec] 	at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:34)
           [exec] 	at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25)
           [exec] 	at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:157)
           [exec] 	at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:139)
           [exec] 	at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:93)
           [exec] 	at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
           [exec] 	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:244)
           [exec] 	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:220)
           [exec] 	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:231)
           [exec] 	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:209)
           [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
           [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
           [exec] 	... 14 more
           [exec]
           [exec]
      
      BUILD FAILED
      /Users/vicnate5/Liferay/liferay-portal-ee-7.0.x/build.xml:69: The following error occurred while executing this line:
      /Users/vicnate5/Liferay/liferay-portal-ee-7.0.x/build.xml:363: The following error occurred while executing this line:
      /Users/vicnate5/Liferay/liferay-portal-ee-7.0.x/build-common.xml:875: exec returned: 1
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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

                  Packages

                  Version Package
                  7.0.0 CE RC1