RE: Getting java.lang.NoClassDefFoundError: com/liferay/portal/model/User L

Lalit Jawale, modified 6 Years ago. New Member Post: 1 Join Date: 12/27/17 Recent Posts
I have migrated my portlet code from Liferay 6.2 to Liferay7.1 using upgrade tool provided by Liferay studio. I even tried creating a new portlet and copied code from migrated one but after deployment its giving error as follows:-javax.servlet.ServletException: java.lang.NoClassDefFoundError: com/liferay/portal/model/UserI didn't found this class import or use anywhere in my code and even in source code of LR7.1, but still why it is showing this problem?Please suggest some solution.Thanks in advance.
thumbnail
Alberto Chaparro, modified 6 Years ago. Liferay Master Posts: 560 Join Date: 4/25/11 Recent Posts
User class should be in the package com.liferay.portal.kernel.model in 7.1, could you try this?