Message Boards
Getting an error 'Class file for javax.portlet.RenderURL not found'
Anu Narayanan, modified 3 Years ago.
Getting an error 'Class file for javax.portlet.RenderURL not found'
Junior Member Posts: 50 Join Date: 4/24/15 Recent PostsGetting 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