Sign in to Community
Sign in to view all badges
Expand my Community achievements bar.
I am very new to AEM. I have an environment where AEM 6.3 is installed. I am unable to open the Maintenance page for the author node at "http://x.y.z.w:4502/libs/granite/operations/content/maintenance.html " .
Below are some excerpts of the error in the error logs.
19.01.2018 05:14:24.476 *ERROR* [126.96.36.199  GET /libs/granite/operations/content/maintenance.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl ser
vice: Uncaught SlingException
org.apache.sling.scripting.jsp.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 7 in the generated java file
Only a type can be imported. com.adobe.granite.maintenance.MaintenanceConstants resolves to a package
An error occurred at line: 8 in the generated java file
Only a type can be imported. com.adobe.granite.maintenance.MaintenanceTaskInfo resolves to a package
An error occurred at line: 9 in the generated java file
Only a type can be imported. com.adobe.granite.maintenance.MaintenanceUtil resolves to a package
An error occurred at line: 39 in the jsp file: /libs/granite/operations/components/maintenance/windowentry/windowentry.jsp
MaintenanceConstants.PROPERTY_WINDOW_SCHEDULE cannot be resolved to a type
36: String contextPath = request.getContextPath();
38: String name = properties.get("name", String.class);
39: String scheduleInfo = properties.get(MaintenanceConstants.PROPERTY_WINDOW_SCHEDULE, MaintenanceConstants.SCHEDULE_DAILY).toLowerCase();
40: String windowStartTime = properties.get(MaintenanceConstants.PROPERTY_WINDOW_START_TIME, String.class);
41: String windowEndTime = properties.get(MaintenanceConstants.PROPERTY_WINDOW_END_TIME, String.class);
42: String windowSchedule = properties.get(MaintenanceConstants.PROPERTY_WINDOW_SCHEDULE, String.class);
MaintenanceConstants.SCHEDULE_DAILY cannot be resolved to a type
What could be the approach needed to resolve this?
I have the same issue but i only encountered this after i have installed the SP2 package. Is there anyone had encountered the same issue?