Installed the new CQ5.6 instance .Getting 500 error in login page. | Community
Skip to main content
ramyan60274153
Level 2
October 16, 2015
Solved

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

  • October 16, 2015
  • 2 replies
  • 794 views

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 { An error occurred at line: 98 in the jsp file: /libs/granite/core/components/login/login.jsp The method isEmpty(CharSequence) in the type StringUtils is not applicable for the arguments (String) 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 {
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by edubey

Hi,

Which version of java is installed on your machine. Prerequisite says JDK 1.7.

AEM 5.6.1 is not compatible with JDK 1.8.

Thanks

2 replies

ramyan60274153
Level 2
October 16, 2015

Thanks, issue is resolved after changing the java version to 1.7.

edubey
edubeyAccepted solution
Level 10
October 16, 2015

Hi,

Which version of java is installed on your machine. Prerequisite says JDK 1.7.

AEM 5.6.1 is not compatible with JDK 1.8.

Thanks