Omitir navegación

Oficina central de herramientas y hazlo tú mismo de Estados Unidos



Categorías destacadas  ver todo sobre


Craftsman - Herramientas  ver todo sobre

500Unable to compile class for JSP: An error occurred at line: 22 in the jsp file: /apps/shc/global/components/content/billboard/billboard.jsp The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files 19: 20: <% 21: EncodersForXssProtectionUtil encodersForXssPro = sling.getService(EncodersForXssProtectionUtil.class); 22: pageContext.setAttribute("bbHeroLink", encodersForXssPro.getEncodedHTMLAttr(properties.get("shc:bbHeroImage-link", "").replace("http://", "//").replace("https://", "//"))); 23: pageContext.setAttribute("bbAltLink", encodersForXssPro.getEncodedHTMLAttr(properties.get("shc:bbAltImage-link", "").replace("http://", "//").replace("https://", "//"))); 24: pageContext.setAttribute("bilLinkTarget", properties.get("shc:bilLinkTarget", "")); 25: pageContext.setAttribute("altLinkTarget", properties.get("shc:altLinkTarget", "")); An error occurred at line: 22 in the jsp file: /apps/shc/global/components/content/billboard/billboard.jsp The method replace(char, char) in the type String is not applicable for the arguments (String, String) 19: 20: <% 21: EncodersForXssProtectionUtil encodersForXssPro = sling.getService(EncodersForXssProtectionUtil.class); 22: pageContext.setAttribute("bbHeroLink", encodersForXssPro.getEncodedHTMLAttr(properties.get("shc:bbHeroImage-link", "").replace("http://", "//").replace("https://", "//"))); 23: pageContext.setAttribute("bbAltLink", encodersForXssPro.getEncodedHTMLAttr(properties.get("shc:bbAltImage-link", "").replace("http://", "//").replace("https://", "//"))); 24: pageContext.setAttribute("bilLinkTarget", properties.get("shc:bilLinkTarget", "")); 25: pageContext.setAttribute("altLinkTarget", properties.get("shc:altLinkTarget", "")); An error occurred at line: 23 in the jsp file: /apps/shc/global/components/content/billboard/billboard.jsp The method replace(char, char) in the type String is not applicable for the arguments (String, String) 20: <% 21: EncodersForXssProtectionUtil encodersForXssPro = sling.getService(EncodersForXssProtectionUtil.class); 22: pageContext.setAttribute("bbHeroLink", encodersForXssPro.getEncodedHTMLAttr(properties.get("shc:bbHeroImage-link", "").replace("http://", "//").replace("https://", "//"))); 23: pageContext.setAttribute("bbAltLink", encodersForXssPro.getEncodedHTMLAttr(properties.get("shc:bbAltImage-link", "").replace("http://", "//").replace("https://", "//"))); 24: pageContext.setAttribute("bilLinkTarget", properties.get("shc:bilLinkTarget", "")); 25: pageContext.setAttribute("altLinkTarget", properties.get("shc:altLinkTarget", "")); 26: pageContext.setAttribute("bbHeroImg", properties.get("shc:bbHeroImage-reference", "").replace("http://", "https://").replace("s7.sears.com", "s.shld.net")); An error occurred at line: 26 in the jsp file: /apps/shc/global/components/content/billboard/billboard.jsp The method replace(char, char) in the type String is not applicable for the arguments (String, String) 23: pageContext.setAttribute("bbAltLink", encodersForXssPro.getEncodedHTMLAttr(properties.get("shc:bbAltImage-link", "").replace("http://", "//").replace("https://", "//"))); 24: pageContext.setAttribute("bilLinkTarget", properties.get("shc:bilLinkTarget", "")); 25: pageContext.setAttribute("altLinkTarget", properties.get("shc:altLinkTarget", "")); 26: pageContext.setAttribute("bbHeroImg", properties.get("shc:bbHeroImage-reference", "").replace("http://", "https://").replace("s7.sears.com", "s.shld.net")); 27: pageContext.setAttribute("bbAltImg", properties.get("shc:bbAltImage-reference", "").replace("http://", "https://").replace("s7.sears.com", "s.shld.net")); 28: pageContext.setAttribute("bbHeroTxt", encodersForXssPro.getEncodedHTMLAttr(properties.get("shc:bbHeroImage-alttext", ""))); 29: pageContext.setAttribute("bbAltTxt", encodersForXssPro.getEncodedHTMLAttr(properties.get("shc:bbAltImage-alttext", ""))); An error occurred at line: 27 in the jsp file: /apps/shc/global/components/content/billboard/billboard.jsp The method replace(char, char) in the type String is not applicable for the arguments (String, String) 24: pageContext.setAttribute("bilLinkTarget", properties.get("shc:bilLinkTarget", "")); 25: pageContext.setAttribute("altLinkTarget", properties.get("shc:altLinkTarget", "")); 26: pageContext.setAttribute("bbHeroImg", properties.get("shc:bbHeroImage-reference", "").replace("http://", "https://").replace("s7.sears.com", "s.shld.net")); 27: pageContext.setAttribute("bbAltImg", properties.get("shc:bbAltImage-reference", "").replace("http://", "https://").replace("s7.sears.com", "s.shld.net")); 28: pageContext.setAttribute("bbHeroTxt", encodersForXssPro.getEncodedHTMLAttr(properties.get("shc:bbHeroImage-alttext", ""))); 29: pageContext.setAttribute("bbAltTxt", encodersForXssPro.getEncodedHTMLAttr(properties.get("shc:bbAltImage-alttext", ""))); 30: pageContext.setAttribute("sywRedirect",properties.get("shc:bbHeroSYW-link", ""));

Unable to compile class for JSP: An error occurred at line: 22 in the jsp file: /apps/shc/global/components/content/billboard/billboard.jsp The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files 19: 20: <% 21: EncodersForXssProtectionUtil encodersForXssPro = sling.getService(EncodersForXssProtectionUtil.class); 22: pageContext.setAttribute("bbHeroLink", encodersForXssPro.getEncodedHTMLAttr(properties.get("shc:bbHeroImage-link", "").replace("http://", "//").replace("https://", "//"))); 23: pageContext.setAttribute("bbAltLink", encodersForXssPro.getEncodedHTMLAttr(properties.get("shc:bbAltImage-link", "").replace("http://", "//").replace("https://", "//"))); 24: pageContext.setAttribute("bilLinkTarget", properties.get("shc:bilLinkTarget", "")); 25: pageContext.setAttribute("altLinkTarget", properties.get("shc:altLinkTarget", "")); An error occurred at line: 22 in the jsp file: /apps/shc/global/components/content/billboard/billboard.jsp The method replace(char, char) in the type String is not applicable for the arguments (String, String) 19: 20: <% 21: EncodersForXssProtectionUtil encodersForXssPro = sling.getService(EncodersForXssProtectionUtil.class); 22: pageContext.setAttribute("bbHeroLink", encodersForXssPro.getEncodedHTMLAttr(properties.get("shc:bbHeroImage-link", "").replace("http://", "//").replace("https://", "//"))); 23: pageContext.setAttribute("bbAltLink", encodersForXssPro.getEncodedHTMLAttr(properties.get("shc:bbAltImage-link", "").replace("http://", "//").replace("https://", "//"))); 24: pageContext.setAttribute("bilLinkTarget", properties.get("shc:bilLinkTarget", "")); 25: pageContext.setAttribute("altLinkTarget", properties.get("shc:altLinkTarget", "")); An error occurred at line: 23 in the jsp file: /apps/shc/global/components/content/billboard/billboard.jsp The method replace(char, char) in the type String is not applicable for the arguments (String, String) 20: <% 21: EncodersForXssProtectionUtil encodersForXssPro = sling.getService(EncodersForXssProtectionUtil.class); 22: pageContext.setAttribute("bbHeroLink", encodersForXssPro.getEncodedHTMLAttr(properties.get("shc:bbHeroImage-link", "").replace("http://", "//").replace("https://", "//"))); 23: pageContext.setAttribute("bbAltLink", encodersForXssPro.getEncodedHTMLAttr(properties.get("shc:bbAltImage-link", "").replace("http://", "//").replace("https://", "//"))); 24: pageContext.setAttribute("bilLinkTarget", properties.get("shc:bilLinkTarget", "")); 25: pageContext.setAttribute("altLinkTarget", properties.get("shc:altLinkTarget", "")); 26: pageContext.setAttribute("bbHeroImg", properties.get("shc:bbHeroImage-reference", "").replace("http://", "https://").replace("s7.sears.com", "s.shld.net")); An error occurred at line: 26 in the jsp file: /apps/shc/global/components/content/billboard/billboard.jsp The method replace(char, char) in the type String is not applicable for the arguments (String, String) 23: pageContext.setAttribute("bbAltLink", encodersForXssPro.getEncodedHTMLAttr(properties.get("shc:bbAltImage-link", "").replace("http://", "//").replace("https://", "//"))); 24: pageContext.setAttribute("bilLinkTarget", properties.get("shc:bilLinkTarget", "")); 25: pageContext.setAttribute("altLinkTarget", properties.get("shc:altLinkTarget", "")); 26: pageContext.setAttribute("bbHeroImg", properties.get("shc:bbHeroImage-reference", "").replace("http://", "https://").replace("s7.sears.com", "s.shld.net")); 27: pageContext.setAttribute("bbAltImg", properties.get("shc:bbAltImage-reference", "").replace("http://", "https://").replace("s7.sears.com", "s.shld.net")); 28: pageContext.setAttribute("bbHeroTxt", encodersForXssPro.getEncodedHTMLAttr(properties.get("shc:bbHeroImage-alttext", ""))); 29: pageContext.setAttribute("bbAltTxt", encodersForXssPro.getEncodedHTMLAttr(properties.get("shc:bbAltImage-alttext", ""))); An error occurred at line: 27 in the jsp file: /apps/shc/global/components/content/billboard/billboard.jsp The method replace(char, char) in the type String is not applicable for the arguments (String, String) 24: pageContext.setAttribute("bilLinkTarget", properties.get("shc:bilLinkTarget", "")); 25: pageContext.setAttribute("altLinkTarget", properties.get("shc:altLinkTarget", "")); 26: pageContext.setAttribute("bbHeroImg", properties.get("shc:bbHeroImage-reference", "").replace("http://", "https://").replace("s7.sears.com", "s.shld.net")); 27: pageContext.setAttribute("bbAltImg", properties.get("shc:bbAltImage-reference", "").replace("http://", "https://").replace("s7.sears.com", "s.shld.net")); 28: pageContext.setAttribute("bbHeroTxt", encodersForXssPro.getEncodedHTMLAttr(properties.get("shc:bbHeroImage-alttext", ""))); 29: pageContext.setAttribute("bbAltTxt", encodersForXssPro.getEncodedHTMLAttr(properties.get("shc:bbAltImage-alttext", ""))); 30: pageContext.setAttribute("sywRedirect",properties.get("shc:bbHeroSYW-link", ""));

Cannot serve request to /content/shc/sears/en_us/tools.html on this server


ApacheSling/2.2 (Day-Servlet-Engine/4.1.42, Java HotSpot(TM) 64-Bit Server VM 1.8.0_92, Linux 2.6.18-409.el5 amd64)