Message Boards
Liferay 7.3.5 default MVC Portlet gives errors in liferay IDE
Liferay 7.3.5 default MVC Portlet gives errors in liferay IDE
Regular Member Posts: 104 Join Date: 3/10/11 Recent PostsI´ve been using liferay 6.2 before, and have just started to study
Liferay 7.3. I´ve created a default LIferay MVC Portlet without
changing anything. The main portlet class which extends MVCPortlet is
unable to find some classes:
import
com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet;
import
javax.portlet.Portlet;
import org.osgi.service.component.annotations.Component;
These all fail with the error: xxx is not accessible
I´ve
tried to fix the project so the referenced libraries were added to the
project. This fixes nothing. I´ve tried to change the order in the
project setup, this also fixes nothing.
A bit shamefull to be asking a simple question like this but,
what am i missing? Shouldn´t the default project created with the
wizard be able function without errors?
RE: Liferay 7.3.5 default MVC Portlet gives errors in liferay IDE
New Member Posts: 22 Join Date: 11/24/20 Recent PostsHi,
I am new in the Forum Community and had the same issue like you.
There is an issue with jdk higher than jdk8.
Look into this thread:
https://liferay.dev/ask#/questions/development/weird-ide-error-markers-liferay-7-3-5-ce