org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 47 in the jsp file: /html/client.jsp
inname cannot be resolved to a variable
44: ret += "<InstCode>"+bulletin.getF_accounts()+"</InstCode>\r\n";
45: ret += "<InstSeq>"+applyid+"</InstSeq>\r\n";
46: ret += "<MatuDay>"+matuday+"</MatuDay>\r\n";
47: ret += "<InName>"+inname+"</InName>";
48: ret += "</body>\r\n";
49: ret += "</root>\r\n";
50:
An error occurred at line: 90 in the jsp file: /html/client.jsp
Duplicate local variable book
87: String[] tmp = text.split("&");
88:
89: if(tmp!=null && tmp[0]!=null && (tmp[0].equals("00")||tmp[0].equals("01"))){
90: ApplyBook book = null;
91:
92: ApplyBookDAO adao = new ApplyBookDAO();
93: book = (ApplyBook)adao.getOneByKey(Long.parseLong(applyid));
An error occurred at line: 92 in the jsp file: /html/client.jsp
Duplicate local variable adao
89: if(tmp!=null && tmp[0]!=null && (tmp[0].equals("00")||tmp[0].equals("01"))){
90: ApplyBook book = null;
91:
92: ApplyBookDAO adao = new ApplyBookDAO();
93: book = (ApplyBook)adao.getOneByKey(Long.parseLong(applyid));
94: ApplyBookMgr mgr = new ApplyBookMgr();
95: book.setF_acc(tmp[1]);
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:457)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:374)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:339)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:594)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
inname cannot be resolved to a variable
44: ret += "<InstCode>"+bulletin.getF_accounts()+"</InstCode>\r\n";
45: ret += "<InstSeq>"+applyid+"</InstSeq>\r\n";
46: ret += "<MatuDay>"+matuday+"</MatuDay>\r\n";
47: ret += "<InName>"+inname+"</InName>";
48: ret += "</body>\r\n";
49: ret += "</root>\r\n";
50:
An error occurred at line: 90 in the jsp file: /html/client.jsp
Duplicate local variable book
87: String[] tmp = text.split("&");
88:
89: if(tmp!=null && tmp[0]!=null && (tmp[0].equals("00")||tmp[0].equals("01"))){
90: ApplyBook book = null;
91:
92: ApplyBookDAO adao = new ApplyBookDAO();
93: book = (ApplyBook)adao.getOneByKey(Long.parseLong(applyid));
An error occurred at line: 92 in the jsp file: /html/client.jsp
Duplicate local variable adao
89: if(tmp!=null && tmp[0]!=null && (tmp[0].equals("00")||tmp[0].equals("01"))){
90: ApplyBook book = null;
91:
92: ApplyBookDAO adao = new ApplyBookDAO();
93: book = (ApplyBook)adao.getOneByKey(Long.parseLong(applyid));
94: ApplyBookMgr mgr = new ApplyBookMgr();
95: book.setF_acc(tmp[1]);
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:457)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:374)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:339)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:594)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
inname cannot be resolved to a variable
错误在这里么,是说“inname”这个变量,你自己检查下看“inname”这个变量有没有声明定义