April 7, 2020
Estimated Post Reading Time ~

Installed the new CQ5.6 instance .Getting 500 error in login page ?

Question: Installed the new CQ5.6 instance.Getting 500 errors in the login page? 

Getting the error :
An error occurred at line: 98 in the jsp file: /libs/granite/core/components/login/login.jsp
The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files
95:             ? request.getParameter(PARAM_NAME_REASON)
96:             : "";
97:             
98:  if (!StringUtils.isEmpty(reason)) {
99:   if (validReasons.containsKey(reason)) {
100:    reason = validReasons.get(reason);
101:   } else {

Answer: Prerequisite says JDK 1.7, so please install 1.7
AEM 5.6.1 is not compatible with JDK 1.8.


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.