Note that there are some explanatory texts on larger screens.

plurals
  1. POunable to compile class for jsp
    primarykey
    data
    text
    <pre><code>org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 10 in the jsp file: /index.jsp Mybean cannot be resolved to a type 7: &lt;title&gt;&lt;/title&gt; 8: &lt;/head&gt; 9: &lt;body&gt; 10: &lt;jsp:useBean id="bean1" class="Mybean"/&gt; 11: &lt;jsp:setProperty name="bean1" 12: property="name" 13: value="bean1" /&gt; An error occurred at line: 17 in the jsp file: /index.jsp Mybean cannot be resolved to a type 14: &lt;jsp:setProperty name="bean1" 15: property="id" 16: value="1" /&gt; 17: &lt;jsp:getProperty name="bean1" property="name" /&gt; 18: &lt;jsp:getProperty name="bean1" property="id" /&gt; 19: 20: &lt;/body&gt; org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439) org.apache.jasper.compiler.Compiler.compile(Compiler.java:334) org.apache.jasper.compiler.Compiler.compile(Compiler.java:312) org.apache.jasper.compiler.Compiler.compile(Compiler.java:299) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) </code></pre> <p>i have made a java class with Mybean name,i am making use of jsp to set attributes and get attributes ,i am getting an error which i am not able to resolve </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload