Uploaded image for project: 'PUBLIC - Liferay BLADE'
  1. PUBLIC - Liferay BLADE
  2. BLADE-446

Spring MVC portlet Blade sample does not install

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: master
    • Fix Version/s: master
    • Component/s: blade-samples
    • Labels:

      Description

      When this sample is deployed, errors are logged in the console. This could be from the fact that we're now supporting PortletMVC4Spring instead. We may need to look into converting this sample over to the new framework and rebranding it.

      2019-06-06 20:35:33.491 ERROR [fileinstall-C:/liferay-ce-portal-7.2.0-ga1/osgi/war][LogService:93] Failed to install artifact: C:\liferay-ce-portal-7.2.0-ga1\osgi\war\springmvc-portlet.war
      java.lang.RuntimeException: com.liferay.portal.kernel.deploy.auto.AutoDeployException: com.liferay.portal.kernel.deploy.auto.AutoDeployException: springmvc-portlet.war does not support this version of Liferay
      at com.liferay.portal.osgi.web.wab.generator.internal.processor.WabProcessor.executeAutoDeployers(WabProcessor.java:257)
      at com.liferay.portal.osgi.web.wab.generator.internal.processor.WabProcessor.autoDeploy(WabProcessor.java:158)
      at com.liferay.portal.osgi.web.wab.generator.internal.processor.WabProcessor.getProcessedFile(WabProcessor.java:113)
      at com.liferay.portal.osgi.web.wab.generator.internal.WabGenerator.generate(WabGenerator.java:90)
      at com.liferay.portal.osgi.web.wab.generator.internal.connection.WabURLConnection.getInputStream(WabURLConnection.java:102)
      at java.net.URL.openStream(URL.java:1045)
      at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:962)
      at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:884)
      at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:489)
      at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365)
      at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316)
      Caused by: com.liferay.portal.kernel.deploy.auto.AutoDeployException: com.liferay.portal.kernel.deploy.auto.AutoDeployException: springmvc-portlet.war does not support this version of Liferay
      at com.liferay.portal.tools.deploy.BaseDeployer.autoDeploy(BaseDeployer.java:237)
      at com.liferay.portal.deploy.auto.ThreadSafeAutoDeployer.autoDeploy(ThreadSafeAutoDeployer.java:39)
      at com.liferay.portal.kernel.deploy.auto.BaseAutoDeployListener.deploy(BaseAutoDeployListener.java:47)
      at com.liferay.portal.osgi.web.wab.generator.internal.processor.WabProcessor.executeAutoDeployers(WabProcessor.java:254)
      ... 10 more
      Caused by: com.liferay.portal.kernel.deploy.auto.AutoDeployException: springmvc-portlet.war does not support this version of Liferay
      at com.liferay.portal.tools.deploy.BaseDeployer.deployFile(BaseDeployer.java:920)
      at com.liferay.portal.tools.deploy.BaseDeployer.autoDeploy(BaseDeployer.java:234)
      ... 13 more

        Attachments

          Activity

            People

            Assignee:
            lawrence.lee Lawrence Lee
            Reporter:
            cody.hoag Cody Hoag
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                master