Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

java

liferay

I'm 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 hover on it it shows me this error:

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

How can I fix it?

like image 667
Karadous Avatar asked Dec 30 '25 01:12

Karadous


1 Answers

Add util-bridges-6.1.0 to your CLASSPATH. Choose version that is compatible with your project.

like image 131
Tomasz Nurkiewicz Avatar answered Dec 31 '25 17:12

Tomasz Nurkiewicz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!