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

LCS dependency error com.liferay.portal.kernel.theme

    Details

      Description

      Steps to reproduce:

      • Build 7.2.x-private
        • ant -f build-working-dir.xml
        • ant all
      • Start portal

      Expected results:
      No startup errors

      Actual results:
      Module dependency errors:

             [exec] 06:41:52,907 ERROR [main][ModuleFrameworkImpl:1741] Unable to start bundle com.liferay.lcs.client.web
           [exec] org.osgi.framework.BundleException: Could not resolve module: com.liferay.lcs.client.web [706]
           [exec]   Unresolved requirement: Import-Package: com.liferay.portal.kernel.theme; version="[1.0.0,2.0.0)"
           [exec] 
           [exec] 	at org.eclipse.osgi.container.Module.start(Module.java:444)
           [exec] 	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:428)
           [exec] 	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:447)
           [exec] 	at com.liferay.portal.bootstrap.ModuleFrameworkImpl._startDynamicBundles(ModuleFrameworkImpl.java:1730)
           [exec] 	at com.liferay.portal.bootstrap.ModuleFrameworkImpl.startFramework(ModuleFrameworkImpl.java:410)
           [exec] 	at com.liferay.portal.module.framework.ModuleFrameworkUtilAdapter.startFramework(ModuleFrameworkUtilAdapter.java:100)
           [exec] 	at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:309)
           [exec] 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4682)
           [exec] 	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5150)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)
           [exec] 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
           [exec] 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
           [exec] 	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:631)
           [exec] 	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1832)
           [exec] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
           [exec] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           [exec] 	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
           [exec] 	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
           [exec] 	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:526)
           [exec] 	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:425)
           [exec] 	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1577)
           [exec] 	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
           [exec] 	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
           [exec] 	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
           [exec] 	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
           [exec] 	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:929)
           [exec] 	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
           [exec] 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
           [exec] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           [exec] 	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
           [exec] 	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
           [exec] 	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)
           [exec] 	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:928)
           [exec] 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
           [exec] 	at org.apache.catalina.startup.Catalina.start(Catalina.java:634)
           [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec] 	at java.lang.reflect.Method.invoke(Method.java:498)
           [exec] 	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
           [exec] 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
      

      Notes from Igor Beslic

      lcs-messaging and petra json ws are most critical... without this 2 particular versions LCS won't work no matter what you do... For lcs-client-web and complains about portal kernel version - don't care about it. LCS Client works without WEB module. You can test without web.

      compileOnly group: "com.liferay", name: "com.liferay.lcs.messaging", version: "12.1.0" 
      compileOnly group: "com.liferay", name: "com.liferay.petra.json.web.service.client", version: "12.0.1"

       

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  24 weeks ago

                  Packages

                  Version Package
                  7.0.X