Hide
Does this portlet work with Liferay 6.
I get the following error when compiling.
compile-java:
[javac] Compiling 3 source files to /Users/cfox570/Documents/Knowledge/Development/LiferayDev/liferay-plugins-sdk-6/portlets/awpr-1.5.1/docroot/WEB-INF/classes
[javac] /Users/cfox570/Documents/Knowledge/Development/LiferayDev/liferay-plugins-sdk-6/portlets/awpr-1.5.1/docroot/WEB-INF/src/org/rivetlogic/rivet/portlet/awpr/util/Utils.java:37: unreported exception com.liferay.portal.kernel.exception.PortalException; must be caught or declared to be thrown
[javac] User user = UserServiceUtil.getUserById(Long.parseLong(userId));
[javac] ^
[javac] /Users/cfox570/Documents/Knowledge/Development/LiferayDev/liferay-plugins-sdk-6/portlets/awpr-1.5.1/docroot/WEB-INF/src/org/rivetlogic/rivet/portlet/awpr/util/Utils.java:38: unreported exception com.liferay.portal.kernel.exception.PortalException; must be caught or declared to be thrown
[javac] userName = user.getLogin();
[javac] ^
[javac] Note: /Users/cfox570/Documents/Knowledge/Development/LiferayDev/liferay-plugins-sdk-6/portlets/awpr-1.5.1/docroot/WEB-INF/src/org/rivetlogic/rivet/portlet/awpr/util/Utils.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 2 errors
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;