org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSPWEB4125: An error occurred between lines: 2 and 55 in the JSP file: /tic/migtest/admin/./include/db.jsp WEB4126: Generated servlet error: /opt/SUNWwbsvr/https-devel/ClassCache/https-staging/default-webapp/_jsps/_tic/_migtest/_admin/_list_items_jsp.java:15: replace(char,char) in java.lang.String cannot be applied to (java.lang.String,java.lang.String) str = str.replace("'", "''"); ^ 1 error
Searched on Google with the first line of a JAVA stack trace?
We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.
Recommended solutions based on your search
Solutions on the web
via Oracle Community by 807567, 1 year ago
via Oracle Community by 807567, 1 year ago
via Oracle Community by 807581, 1 year ago
via Oracle Community by 807581, 1 year ago
via Oracle Community by 807581, 1 year ago
via Oracle Community by 843836, 1 year ago
org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSPWEB4125: An error occurred between lines: 2 and 55 in the JSP file: /tic/migtest/admin/./include/db.jsp WEB4126: Generated servlet error: /opt/SUNWwbsvr/https-devel/ClassCache/https-staging/default-webapp/_jsps/_tic/_migtest/_admin/_list_items_jsp.java:15: replace(char,char) in java.lang.String cannot be applied to (java.lang.String,java.lang.String) str = str.replace("'", "''"); ^ 1 error
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:778)
at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:636)
at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:413)
at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)