0
我正在嘗試安裝AEM。我可以首先打開快速入門。但是,當在瀏覽器中打開它時(https://localhost:8080),它給我一個錯誤「無法編譯JSP的類」。請找到完整的錯誤:無法在瀏覽器中爲AEM打開本地主機
Unable to compile class for JSP: An error occurred at line: 95 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
92: ?request.getParameter(PARAM_NAME_REASON)
93: : "";
94:
95: if (!StringUtils.isEmpty(reason)) {
96: if (validReasons.containsKey(reason)) {
97: reason = validReasons.get(reason);
98: } else {
An error occurred at line: 95 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)
92: ? request.getParameter(PARAM_NAME_REASON)
93: : "";
94:
95: if (!StringUtils.isEmpty(reason)) {
96: if (validReasons.containsKey(reason)) {
97: reason = validReasons.get(reason);
98: } else {
Cannot serve request to /libs/granite/core/content/login.html in /libs/granite/core/components/login/login.jsp
請幫助我一樣。
您使用的是哪個版本的Java和AEM? – rakhi4110
[問題與安裝AEM 6]可能重複(http://stackoverflow.com/questions/28404003/issue-with-installing-aem-6) 請檢查在那裏發佈的答案解決方案。投票結束這個問題的重複。 – toniedzwiedz