Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Getting an error 'Class file for javax.portlet.RenderURL not found'
Getting the error 'Class file for javax.portlet.RenderURL not found' while compiling the jar file. I am in Liferay 7.2 Enterprise edition.
I have the dependency,
"compileOnly group: "javax.portlet", name: "portlet-api", version: "2.0" " in the build.gradle and I see the portlet-api in the 'Project and External Dependencies'
The full error is as below :-
C:\Liferay72DXP\DXPWorkspace\gradebook\gradebook-web\src\main\java\com\liferay\training\gradebook\web\display\context\AssignmentsManagementToolbarDisplayContext.java:69:
error: cannot access RenderURL
dropdownItem.setHref(
^
class file for javax.portlet.RenderURL not found
thanks,
Anu
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™