Import com.liferay.util.bridges cannot be resolved

I am using Eclipse IDE and I have the following line in my code:

import com.liferay.util.bridges.mvc.MVCPortlet;

      

But there is a red underline on this line and when I hover over it, it shows me this error:

The com.liferay.util.bridges imports cannot be resolved.

How can I fix this?

+3


source to share


1 answer


Add util-bridges-6.1.0

to your CLASSPATH. Select the version that is compatible with your project.



+5


source







All Articles