<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Spring MVC portlet migration issue</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=113737548" />
  <subtitle>Spring MVC portlet migration issue</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=113737548</id>
  <updated>2026-04-05T14:07:27Z</updated>
  <dc:date>2026-04-05T14:07:27Z</dc:date>
  <entry>
    <title>RE: Spring MVC portlet migration issue</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113759944" />
    <author>
      <name>Alberto Chaparro</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113759944</id>
    <updated>2019-05-29T16:13:38Z</updated>
    <published>2019-05-29T16:13:38Z</published>
    <summary type="html">Hi Deepak,&lt;br /&gt;Please take into account the following links, they can be useful for your goal:&lt;br /&gt;&lt;a href="https://dev.liferay.com/en/develop/tutorials/-/knowledge_base/7-1/resolving-a-plugins-dependencies#managing"&gt;https://dev.liferay.com/en/develop/tutorials/-/knowledge_base/7-1/resolving-a-plugins-dependencies#managing&lt;/a&gt;-dependencies-manually&lt;br /&gt;&lt;a href="https://dev.liferay.com/en/develop/tutorials/-/knowledge_base/7-1/adding-third-party-libraries-to-a-module"&gt;https://dev.liferay.com/en/develop/tutorials/-/knowledge_base/7-1/adding-third-party-libraries-to-a-module&lt;/a&gt;&lt;br /&gt;I hope it helps.</summary>
    <dc:creator>Alberto Chaparro</dc:creator>
    <dc:date>2019-05-29T16:13:38Z</dc:date>
  </entry>
  <entry>
    <title>Spring MVC portlet migration issue</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113737547" />
    <author>
      <name>Deepak Poyilil</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113737547</id>
    <updated>2019-05-26T09:41:44Z</updated>
    <published>2019-05-26T09:41:44Z</published>
    <summary type="html">Hi everyone, we are migrating application from Liferay 6.2 to 7.1 version. We have a mix of Liferay MVC and Spring MVC portlet and also some java module with common utilities. While migrating spring mvc porlet from 6.2 to 7.1 version as a war file the following dependency related issues are facing. Our sprig mvc portlet have dependency with java module which is deployed as an OSGI bundle. In the portlet build.gradle, when we give module dependency as compileOnly, deploying portlet result in class not found exception since spring context unable to locate the class in the dependent module. when we give module dependency as compile, class not found exception not occurring but class cast exception coming since 2 version of the dependent module are available in the OSGI container, ie one in the portlet WEB-INF/lib folder and other one which is deployed in OSGI as a module. your input is much appreciated.</summary>
    <dc:creator>Deepak Poyilil</dc:creator>
    <dc:date>2019-05-26T09:41:44Z</dc:date>
  </entry>
</feed>
