Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Unable to open the maintenance page for Author AEM

Avatar

Avatar
Level 1
gauravp14126275
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
gauravp14126275
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
gauravp14126275
Level 1

19-01-2018

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* [103.43.112.97 [1516356864459] 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();

37:

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);

An error occurred at line: 39 in the jsp file: /libs/granite/operations/components/maintenance/windowentry/windowentry.jsp

MaintenanceConstants.SCHEDULE_DAILY cannot be resolved to a type

36:     String contextPath = request.getContextPath();

37:

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);

=========

What could be the approach needed to resolve this?

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Give Back 5
Level 2
homerfv
Level 2

Likes

0 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Validate 1
View profile

Avatar
Give Back 5
Level 2
homerfv
Level 2

Likes

0 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
homerfv
Level 2

16-05-2018

Hi Folks,

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?

Thanks,

Homer