I've just downloaded the quickstart and followed installation steps, when I visit http://localhost:4502/ I get? Not sure where to go from here.
org.apache.sling.scripting.jsp.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 267 in the jsp file: /libs/granite/core/components/login/login.jsp
Type mismatch: cannot convert from Object to String
264: }
265:
266: private String getText(ValueMap cfg, I18n i18n, String name, String defaultText) {
267: String text = cfg.get(name, String.class);
268: return text != null ? i18n.getVar(text) : defaultText;
269: }
270:
An error occurred at line: 282 in the jsp file: /libs/granite/core/components/login/login.jsp
Syntax error, parameterized types are only available if source level is 1.5 or greater
279: Resource configRoot = null;
280: if (configs != null) {
281: long maxOrder = Long.MIN_VALUE;
282: for (Iterator<Resource> cfgs = configs.listChildren() ; cfgs.hasNext() ; ) {
283: Resource cfg = cfgs.next();
284: ValueMap props = ResourceUtil.getValueMap(cfg);
285: Long order = props.get("order", Long.class);
An error occurred at line: 285 in the jsp file: /libs/granite/core/components/login/login.jsp
Type mismatch: cannot convert from Object to Long
282: for (Iterator<Resource> cfgs = configs.listChildren() ; cfgs.hasNext() ; ) {
283: Resource cfg = cfgs.next();
284: ValueMap props = ResourceUtil.getValueMap(cfg);
285: Long order = props.get("order", Long.class);
286: if (order != null) {
287: if (order > maxOrder) {
288: configRoot = cfg;
An error occurred at line: 287 in the jsp file: /libs/granite/core/components/login/login.jsp
The operator > is undefined for the argument type(s) Long, long
284: ValueMap props = ResourceUtil.getValueMap(cfg);
285: Long order = props.get("order", Long.class);
286: if (order != null) {
287: if (order > maxOrder) {
288: configRoot = cfg;
289: maxOrder = order;
290: }
An error occurred at line: 289 in the jsp file: /libs/granite/core/components/login/login.jsp
Type mismatch: cannot convert from Long to long
286: if (order != null) {
287: if (order > maxOrder) {
288: configRoot = cfg;
289: maxOrder = order;
290: }
291: }
292: }
An error occurred at line: 343 in the jsp file: /libs/granite/core/components/login/login.jsp
The method getRequestSpecificAPI(SlingHttpServletRequest) is undefined for the type ServiceType
340: i18n = new I18n(slingRequest);
341: }
342:
343: final XSSAPI xssAPI = sling.getService(XSSAPI.class).getRequestSpecificAPI(slingRequest);
344: final UserManagementService userManagementService = sling.getService(UserManagementService.class);
345: final ValueMap cfg = ResourceUtil.getValueMap(configs);
346:
An error occurred at line: 344 in the jsp file: /libs/granite/core/components/login/login.jsp
Type mismatch: cannot convert from Object to UserManagementService
341: }
342:
343: final XSSAPI xssAPI = sling.getService(XSSAPI.class).getRequestSpecificAPI(slingRequest);
344: final UserManagementService userManagementService = sling.getService(UserManagementService.class);
345: final ValueMap cfg = ResourceUtil.getValueMap(configs);
346:
347: final String authType = request.getAuthType();
An error occurred at line: 352 in the jsp file: /libs/granite/core/components/login/login.jsp
Syntax error, parameterized types are only available if source level is 1.5 or greater
349: final String contextPath = slingRequest.getContextPath();
350:
351: // used to map readable reason codes to valid reason messages to avoid phishing attacks through j_reason param
352: Map<String,String> validReasons = new HashMap<String, String>();
353: validReasons.put(REASON_KEY_INVALID_LOGIN, printProperty(cfg, i18n, xssAPI, "box/invalidLoginText", i18n.get("User name and password do not match")));
354: validReasons.put(REASON_KEY_SESSION_TIMED_OUT, printProperty(cfg, i18n, xssAPI, "box/sessionTimedOutText", i18n.get("Session timed out, please login again")));
355: // load custom error types
An error occurred at line: 352 in the jsp file: /libs/granite/core/components/login/login.jsp
Syntax error, parameterized types are only available if source level is 1.5 or greater
349: final String contextPath = slingRequest.getContextPath();
350:
351: // used to map readable reason codes to valid reason messages to avoid phishing attacks through j_reason param
352: Map<String,String> validReasons = new HashMap<String, String>();
353: validReasons.put(REASON_KEY_INVALID_LOGIN, printProperty(cfg, i18n, xssAPI, "box/invalidLoginText", i18n.get("User name and password do not match")));
354: validReasons.put(REASON_KEY_SESSION_TIMED_OUT, printProperty(cfg, i18n, xssAPI, "box/sessionTimedOutText", i18n.get("Session timed out, please login again")));
355: // load custom error types
An error occurred at line: 358 in the jsp file: /libs/granite/core/components/login/login.jsp
Syntax error, parameterized types are only available if source level is 1.5 or greater
355: // load custom error types
356: Resource errors = resource.getChild("errors");
357: if (errors != null) {
358: for (Iterator<Resource> customErrors = errors.listChildren() ; customErrors.hasNext() ; ) {
359: Resource customError = customErrors.next();
360: validReasons.put(customError.getName(), printProperty(customError.adaptTo(ValueMap.class), i18n, xssAPI, "/text", i18n.get("Error")));
361: }
An error occurred at line: 360 in the jsp file: /libs/granite/core/components/login/login.jsp
The method printProperty(ValueMap, I18n, XSSAPI, String, String) in the type login_jsp is not applicable for the arguments (AdapterType, I18n, XSSAPI, String, String)
357: if (errors != null) {
358: for (Iterator<Resource> customErrors = errors.listChildren() ; customErrors.hasNext() ; ) {
359: Resource customError = customErrors.next();
360: validReasons.put(customError.getName(), printProperty(customError.adaptTo(ValueMap.class), i18n, xssAPI, "/text", i18n.get("Error")));
361: }
362: }
363:
An error occurred at line: 378 in the jsp file: /libs/granite/core/components/login/login.jsp
Syntax error, parameterized types are only available if source level is 1.5 or greater
375: }
376: }
377:
378: List<String> selectors = Arrays.asList(slingRequest.getRequestPathInfo().getSelectors());
379:
380: boolean isLogin = ! selectors.contains(CHANGE_PWD_SELECTOR);
381: boolean isError = selectors.contains(ERROR_SELECTOR);
An error occurred at line: 391 in the jsp file: /libs/granite/core/components/login/login.jsp
Type mismatch: cannot convert from Object to ImsConfigProvider
388: <meta name="viewport" content="width = device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
389: <meta http-equiv="X-UA-Compatible" content="chrome=1" />
390:
391: <% ImsConfigProvider imsConfigProvider = sling.getService(ImsConfigProvider.class);
392: if (imsConfigProvider != null) {
393: imsLoginUrl = imsConfigProvider.getImsLoginUrl();
394: %><meta name="granite.login.imsLoginUrl" content="<%= xssAPI.getValidHref(imsLoginUrl) %>"><%
An error occurred at line: 402 in the jsp file: /libs/granite/core/components/login/login.jsp
Type mismatch: cannot convert from Object to HtmlLibraryManager
399: <title><%= printProperty(cfg, i18n, xssAPI, "title", i18n.get("Adobe Experience Cloud")) %></title>
400: <style type="text/css">
401: <%
402: HtmlLibraryManager htmlMgr = sling.getService(HtmlLibraryManager.class);
403: HtmlLibrary lib = htmlMgr.getLibrary(LibraryType.CSS, "/libs/granite/core/content/login/clientlib");
404: IOUtils.copy(lib.getInputStream(true), out, "utf-8");
405: %>
An error occurred at line: 409 in the jsp file: /libs/granite/core/components/login/login.jsp
The method getValidHref(String) in the type XSSAPI is not applicable for the arguments (T)
406: </style>
407: <ui:includeClientLib categories="coralui3" />
408: <%
409: String favicon = xssAPI.getValidHref(cfg.get("favicon", "login/adobe-logo.png"));
410: favicon = xssAPI.getValidHref(favicon);
411: %>
412: <link rel="shortcut icon" href="<%= favicon %>" type="image/png">
An error occurred at line: 444 in the jsp file: /libs/granite/core/components/login/login.jsp
The method getVar(String) in the type I18n is not applicable for the arguments (T)
441: </div>
442: <p>
443: <%= printProperty(cfg, i18n, xssAPI, "box/text", i18n.get("All the tools you need to solve these complex digital business challenges.")) %>
444: <a class="coral-Link" id="learnmore" href="<%= xssAPI.getValidHref(i18n.getVar(cfg.get("box/learnMore/href", "#"))) %>" x-cq-linkchecker="skip"><%= printProperty(cfg, i18n, xssAPI, "box/learnMore/text", i18n.get("Learn More")) %></a>
445: </p>
446: </div>
447:
An error occurred at line: 472 in the jsp file: /libs/granite/core/components/login/login.jsp
The method get(String, Class) in the type ValueMap is not applicable for the arguments (String, boolean)
469: <coral-alert-content><%= reason %></coral-alert-content>
470: </coral-alert>
471: <% } else { %>
472: <% String autocomplete = cfg.get("box/autocomplete", false) ? "on" : "off" ; %>
473: <form class="coral-Form coral-Form--vertical" name="login" method="POST" id="login" action="<%= xssAPI.getValidHref(urlLogin) %>" novalidate="novalidate">
474: <input type="hidden" name="_charset_" value="UTF-8">
475: <input type="hidden" name="errorMessage" value="<%= validReasons.get(REASON_KEY_INVALID_LOGIN) %>">
An error occurred at line: 532 in the jsp file: /libs/granite/core/components/login/login.jsp
The method get(String, Class) in the type ValueMap is not applicable for the arguments (String, boolean)
529: <coral-alert-content><%= reason %></coral-alert-content>
530: </coral-alert>
531: <% } else { %>
532: <% String autocomplete = cfg.get("box/autocomplete", false) ? "on" : "off" ; %>
533: <form class="coral-Form coral-Form--vertical" name="login" method="POST" id="login" action="<%= xssAPI.getValidHref(urlLogin) %>" novalidate="novalidate">
534: <input type="hidden" name="_charset_" value="UTF-8">
535: <input type="hidden" name="errorMessage" value="<%= validReasons.get(REASON_KEY_INVALID_LOGIN) %>">
An error occurred at line: 588 in the jsp file: /libs/granite/core/components/login/login.jsp
Type mismatch: cannot convert from Object to ProductInfoProvider
585: <div class="legal-footer"><%
586: // Footer: default copyright (removable)
587: if (cfg.containsKey("footer/copy/text")) {
588: ProductInfoProvider productInfoProvider = sling.getService(ProductInfoProvider.class);
589: String year = productInfoProvider == null ? null : productInfoProvider.getProductInfo().getYear();
590: if (year == null) {
591: year = String.valueOf(Calendar.getInstance().get(Calendar.YEAR));
An error occurred at line: 593 in the jsp file: /libs/granite/core/components/login/login.jsp
Type mismatch: cannot convert from Object to String
590: if (year == null) {
591: year = String.valueOf(Calendar.getInstance().get(Calendar.YEAR));
592: }
593: String text = cfg.get("footer/copy/text","");
594: %><span><%= xssAPI.encodeForHTML(i18n.getVar(text, "{0} is the product year", year)) %></span><%
595: }
596: %><ul id="usage-box"><%
An error occurred at line: 594 in the jsp file: /libs/granite/core/components/login/login.jsp
The method getVar(String, String, Object[]) in the type I18n is not applicable for the arguments (String, String, String)
591: year = String.valueOf(Calendar.getInstance().get(Calendar.YEAR));
592: }
593: String text = cfg.get("footer/copy/text","");
594: %><span><%= xssAPI.encodeForHTML(i18n.getVar(text, "{0} is the product year", year)) %></span><%
595: }
596: %><ul id="usage-box"><%
597:
An error occurred at line: 600 in the jsp file: /libs/granite/core/components/login/login.jsp
Syntax error, parameterized types are only available if source level is 1.5 or greater
597:
598: // Footer: dynamic items (config/footer/items)
599: if (configs.getChild("footer/items") != null) {
600: Iterator<Resource> footerItems = configs.getChild("footer/items").listChildren();
601: while (footerItems.hasNext()) {
602: %>
603: <li><%
An error occurred at line: 605 in the jsp file: /libs/granite/core/components/login/login.jsp
The method getVar(String) in the type I18n is not applicable for the arguments (T)
602: %>
603: <li><%
604: String itemName = footerItems.next().getName();
605: String href = i18n.getVar(cfg.get("footer/items/" + itemName + "/href", String.class));
606: if (href != null) {
607: %><a href="<%= xssAPI.getValidHref(href) %>"><%
608: }
</title></head><body><h1>
org.apache.sling.scripting.jsp.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 267 in the jsp file: /libs/granite/core/components/login/login.jsp
Type mismatch: cannot convert from Object to String
264: }
265:
266: private String getText(ValueMap cfg, I18n i18n, String name, String defaultText) {
267: String text = cfg.get(name, String.class);
268: return text != null ? i18n.getVar(text) : defaultText;
269: }
270:
An error occurred at line: 282 in the jsp file: /libs/granite/core/components/login/login.jsp
Syntax error, parameterized types are only available if source level is 1.5 or greater
279: Resource configRoot = null;
280: if (configs != null) {
281: long maxOrder = Long.MIN_VALUE;
282: for (Iterator<Resource> cfgs = configs.listChildren() ; cfgs.hasNext() ; ) {
283: Resource cfg = cfgs.next();
284: ValueMap props = ResourceUtil.getValueMap(cfg);
285: Long order = props.get("order", Long.class);
An error occurred at line: 285 in the jsp file: /libs/granite/core/components/login/login.jsp
Type mismatch: cannot convert from Object to Long
282: for (Iterator<Resource> cfgs = configs.listChildren() ; cfgs.hasNext() ; ) {
283: Resource cfg = cfgs.next();
284: ValueMap props = ResourceUtil.getValueMap(cfg);
285: Long order = props.get("order", Long.class);
286: if (order != null) {
287: if (order > maxOrder) {
288: configRoot = cfg;
An error occurred at line: 287 in the jsp file: /libs/granite/core/components/login/login.jsp
The operator > is undefined for the argument type(s) Long, long
284: ValueMap props = ResourceUtil.getValueMap(cfg);
285: Long order = props.get("order", Long.class);
286: if (order != null) {
287: if (order > maxOrder) {
288: configRoot = cfg;
289: maxOrder = order;
290: }
An error occurred at line: 289 in the jsp file: /libs/granite/core/components/login/login.jsp
Type mismatch: cannot convert from Long to long
286: if (order != null) {
287: if (order > maxOrder) {
288: configRoot = cfg;
289: maxOrder = order;
290: }
291: }
292: }
An error occurred at line: 343 in the jsp file: /libs/granite/core/components/login/login.jsp
The method getRequestSpecificAPI(SlingHttpServletRequest) is undefined for the type ServiceType
340: i18n = new I18n(slingRequest);
341: }
342:
343: final XSSAPI xssAPI = sling.getService(XSSAPI.class).getRequestSpecificAPI(slingRequest);
344: final UserManagementService userManagementService = sling.getService(UserManagementService.class);
345: final ValueMap cfg = ResourceUtil.getValueMap(configs);
346:
An error occurred at line: 344 in the jsp file: /libs/granite/core/components/login/login.jsp
Type mismatch: cannot convert from Object to UserManagementService
341: }
342:
343: final XSSAPI xssAPI = sling.getService(XSSAPI.class).getRequestSpecificAPI(slingRequest);
344: final UserManagementService userManagementService = sling.getService(UserManagementService.class);
345: final ValueMap cfg = ResourceUtil.getValueMap(configs);
346:
347: final String authType = request.getAuthType();
An error occurred at line: 352 in the jsp file: /libs/granite/core/components/login/login.jsp
Syntax error, parameterized types are only available if source level is 1.5 or greater
349: final String contextPath = slingRequest.getContextPath();
350:
351: // used to map readable reason codes to valid reason messages to avoid phishing attacks through j_reason param
352: Map<String,String> validReasons = new HashMap<String, String>();
353: validReasons.put(REASON_KEY_INVALID_LOGIN, printProperty(cfg, i18n, xssAPI, "box/invalidLoginText", i18n.get("User name and password do not match")));
354: validReasons.put(REASON_KEY_SESSION_TIMED_OUT, printProperty(cfg, i18n, xssAPI, "box/sessionTimedOutText", i18n.get("Session timed out, please login again")));
355: // load custom error types
An error occurred at line: 352 in the jsp file: /libs/granite/core/components/login/login.jsp
Syntax error, parameterized types are only available if source level is 1.5 or greater
349: final String contextPath = slingRequest.getContextPath();
350:
351: // used to map readable reason codes to valid reason messages to avoid phishing attacks through j_reason param
352: Map<String,String> validReasons = new HashMap<String, String>();
353: validReasons.put(REASON_KEY_INVALID_LOGIN, printProperty(cfg, i18n, xssAPI, "box/invalidLoginText", i18n.get("User name and password do not match")));
354: validReasons.put(REASON_KEY_SESSION_TIMED_OUT, printProperty(cfg, i18n, xssAPI, "box/sessionTimedOutText", i18n.get("Session timed out, please login again")));
355: // load custom error types
An error occurred at line: 358 in the jsp file: /libs/granite/core/components/login/login.jsp
Syntax error, parameterized types are only available if source level is 1.5 or greater
355: // load custom error types
356: Resource errors = resource.getChild("errors");
357: if (errors != null) {
358: for (Iterator<Resource> customErrors = errors.listChildren() ; customErrors.hasNext() ; ) {
359: Resource customError = customErrors.next();
360: validReasons.put(customError.getName(), printProperty(customError.adaptTo(ValueMap.class), i18n, xssAPI, "/text", i18n.get("Error")));
361: }
An error occurred at line: 360 in the jsp file: /libs/granite/core/components/login/login.jsp
The method printProperty(ValueMap, I18n, XSSAPI, String, String) in the type login_jsp is not applicable for the arguments (AdapterType, I18n, XSSAPI, String, String)
357: if (errors != null) {
358: for (Iterator<Resource> customErrors = errors.listChildren() ; customErrors.hasNext() ; ) {
359: Resource customError = customErrors.next();
360: validReasons.put(customError.getName(), printProperty(customError.adaptTo(ValueMap.class), i18n, xssAPI, "/text", i18n.get("Error")));
361: }
362: }
363:
An error occurred at line: 378 in the jsp file: /libs/granite/core/components/login/login.jsp
Syntax error, parameterized types are only available if source level is 1.5 or greater
375: }
376: }
377:
378: List<String> selectors = Arrays.asList(slingRequest.getRequestPathInfo().getSelectors());
379:
380: boolean isLogin = ! selectors.contains(CHANGE_PWD_SELECTOR);
381: boolean isError = selectors.contains(ERROR_SELECTOR);
An error occurred at line: 391 in the jsp file: /libs/granite/core/components/login/login.jsp
Type mismatch: cannot convert from Object to ImsConfigProvider
388: <meta name="viewport" content="width = device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
389: <meta http-equiv="X-UA-Compatible" content="chrome=1" />
390:
391: <% ImsConfigProvider imsConfigProvider = sling.getService(ImsConfigProvider.class);
392: if (imsConfigProvider != null) {
393: imsLoginUrl = imsConfigProvider.getImsLoginUrl();
394: %><meta name="granite.login.imsLoginUrl" content="<%= xssAPI.getValidHref(imsLoginUrl) %>"><%
An error occurred at line: 402 in the jsp file: /libs/granite/core/components/login/login.jsp
Type mismatch: cannot convert from Object to HtmlLibraryManager
399: <title><%= printProperty(cfg, i18n, xssAPI, "title", i18n.get("Adobe Experience Cloud")) %></title>
400: <style type="text/css">
401: <%
402: HtmlLibraryManager htmlMgr = sling.getService(HtmlLibraryManager.class);
403: HtmlLibrary lib = htmlMgr.getLibrary(LibraryType.CSS, "/libs/granite/core/content/login/clientlib");
404: IOUtils.copy(lib.getInputStream(true), out, "utf-8");
405: %>
An error occurred at line: 409 in the jsp file: /libs/granite/core/components/login/login.jsp
The method getValidHref(String) in the type XSSAPI is not applicable for the arguments (T)
406: </style>
407: <ui:includeClientLib categories="coralui3" />
408: <%
409: String favicon = xssAPI.getValidHref(cfg.get("favicon", "login/adobe-logo.png"));
410: favicon = xssAPI.getValidHref(favicon);
411: %>
412: <link rel="shortcut icon" href="<%= favicon %>" type="image/png">
An error occurred at line: 444 in the jsp file: /libs/granite/core/components/login/login.jsp
The method getVar(String) in the type I18n is not applicable for the arguments (T)
441: </div>
442: <p>
443: <%= printProperty(cfg, i18n, xssAPI, "box/text", i18n.get("All the tools you need to solve these complex digital business challenges.")) %>
444: <a class="coral-Link" id="learnmore" href="<%= xssAPI.getValidHref(i18n.getVar(cfg.get("box/learnMore/href", "#"))) %>" x-cq-linkchecker="skip"><%= printProperty(cfg, i18n, xssAPI, "box/learnMore/text", i18n.get("Learn More")) %></a>
445: </p>
446: </div>
447:
An error occurred at line: 472 in the jsp file: /libs/granite/core/components/login/login.jsp
The method get(String, Class) in the type ValueMap is not applicable for the arguments (String, boolean)
469: <coral-alert-content><%= reason %></coral-alert-content>
470: </coral-alert>
471: <% } else { %>
472: <% String autocomplete = cfg.get("box/autocomplete", false) ? "on" : "off" ; %>
473: <form class="coral-Form coral-Form--vertical" name="login" method="POST" id="login" action="<%= xssAPI.getValidHref(urlLogin) %>" novalidate="novalidate">
474: <input type="hidden" name="_charset_" value="UTF-8">
475: <input type="hidden" name="errorMessage" value="<%= validReasons.get(REASON_KEY_INVALID_LOGIN) %>">
An error occurred at line: 532 in the jsp file: /libs/granite/core/components/login/login.jsp
The method get(String, Class) in the type ValueMap is not applicable for the arguments (String, boolean)
529: <coral-alert-content><%= reason %></coral-alert-content>
530: </coral-alert>
531: <% } else { %>
532: <% String autocomplete = cfg.get("box/autocomplete", false) ? "on" : "off" ; %>
533: <form class="coral-Form coral-Form--vertical" name="login" method="POST" id="login" action="<%= xssAPI.getValidHref(urlLogin) %>" novalidate="novalidate">
534: <input type="hidden" name="_charset_" value="UTF-8">
535: <input type="hidden" name="errorMessage" value="<%= validReasons.get(REASON_KEY_INVALID_LOGIN) %>">
An error occurred at line: 588 in the jsp file: /libs/granite/core/components/login/login.jsp
Type mismatch: cannot convert from Object to ProductInfoProvider
585: <div class="legal-footer"><%
586: // Footer: default copyright (removable)
587: if (cfg.containsKey("footer/copy/text")) {
588: ProductInfoProvider productInfoProvider = sling.getService(ProductInfoProvider.class);
589: String year = productInfoProvider == null ? null : productInfoProvider.getProductInfo().getYear();
590: if (year == null) {
591: year = String.valueOf(Calendar.getInstance().get(Calendar.YEAR));
An error occurred at line: 593 in the jsp file: /libs/granite/core/components/login/login.jsp
Type mismatch: cannot convert from Object to String
590: if (year == null) {
591: year = String.valueOf(Calendar.getInstance().get(Calendar.YEAR));
592: }
593: String text = cfg.get("footer/copy/text","");
594: %><span><%= xssAPI.encodeForHTML(i18n.getVar(text, "{0} is the product year", year)) %></span><%
595: }
596: %><ul id="usage-box"><%
An error occurred at line: 594 in the jsp file: /libs/granite/core/components/login/login.jsp
The method getVar(String, String, Object[]) in the type I18n is not applicable for the arguments (String, String, String)
591: year = String.valueOf(Calendar.getInstance().get(Calendar.YEAR));
592: }
593: String text = cfg.get("footer/copy/text","");
594: %><span><%= xssAPI.encodeForHTML(i18n.getVar(text, "{0} is the product year", year)) %></span><%
595: }
596: %><ul id="usage-box"><%
597:
An error occurred at line: 600 in the jsp file: /libs/granite/core/components/login/login.jsp
Syntax error, parameterized types are only available if source level is 1.5 or greater
597:
598: // Footer: dynamic items (config/footer/items)
599: if (configs.getChild("footer/items") != null) {
600: Iterator<Resource> footerItems = configs.getChild("footer/items").listChildren();
601: while (footerItems.hasNext()) {
602: %>
603: <li><%
An error occurred at line: 605 in the jsp file: /libs/granite/core/components/login/login.jsp
The method getVar(String) in the type I18n is not applicable for the arguments (T)
602: %>
603: <li><%
604: String itemName = footerItems.next().getName();
605: String href = i18n.getVar(cfg.get("footer/items/" + itemName + "/href", String.class));
606: if (href != null) {
607: %><a href="<%= xssAPI.getValidHref(href) %>"><%
608: }
ApacheSling/2.6 (jetty/9.3.22.v20171030, Java HotSpot(TM) 64-Bit Server VM 10.0.1, Mac OS X 10.13.4 x86_64)
Views
Replies
Total Likes
The issue was JDK version, I was using 10, needed 8