Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Pavel Ivanov
Error with all com.liferay.portlet.imagegallery.* libraries
August 23, 2012 12:09 AM
Answer

Pavel Ivanov

Rank: New Member

Posts: 17

Join Date: August 21, 2012

Recent Posts

I see "The import com.liferay.portlet.imagegallery cannot be resolved" with everything i try to import in my portlet.
For example, <%@page import="com.liferay.portlet.imagegallery.service.IGFolderLocalServiceUtil" %> .
Whats wrong?
Pavel Ivanov
RE: Error with all com.liferay.portlet.imagegallery.* libraries
August 23, 2012 12:31 AM
Answer

Pavel Ivanov

Rank: New Member

Posts: 17

Join Date: August 21, 2012

Recent Posts

and
Only a type can be imported. com.liferay.portlet.imagegallery.service.IGFolderLocalServiceUtil resolves to a package
Matthieu R.
RE: Error with all com.liferay.portlet.imagegallery.* libraries
August 23, 2012 12:37 AM
Answer

Matthieu R.

Rank: Junior Member

Posts: 44

Join Date: July 18, 2012

Recent Posts

I had same problems.

It's just because Liferay don't find this class. Check your classpath and your dependencies.