问题描述
我建了一个WEB工程,要求增加员工页面自动生成不重复ID号,想用UUID的方法生成唯一服务ID。但运行时报错2009-4-1715:23:48org.apache.catalina.core.StandardWrapperValveinvoke严重:Servlet.service()forservletjspthrewexceptionorg.apache.jasper.JasperException:UnabletocompileclassforJSP:Anerroroccurredatline:115inthejspfile:/appresource/jsp/safeCenter/sysadmin/service/ServicePermEdit.jspThemethodidcreate()isundefinedforthetypeid112:<tdwidth="20%">所属资源ID:</td>113:<tdwidth="30%"align="left"><inputclass="input"type="text"size="15"name="modelid"maxlength="15"readonlyvalue="<%=modelid%>"></td>114:<tdwidth="20%"><fontcolor="red">*</font>服务ID:</td>115:<tdwidth="30%"align="left"><inputclass="input"type="text"size="15"name="PERMISSIONID"value="<%if(!edit){out.println(id.idcreate());}else{perm.getPERMISSIONID();}%>"<%=edit?"readonly":""%>chname="模块ID"nullable="no"/></td>116:</tr>117:<trclass="monitorrownormalWin">118:<td><fontcolor="red">*</font>服务名称:</td>Stacktrace:atorg.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)atorg.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)atorg.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423)atorg.apache.jasper.compiler.Compiler.compile(Compiler.java:317)atorg.apache.jasper.compiler.Compiler.compile(Compiler.java:295)atorg.apache.jasper.compiler.Compiler.compile(Compiler.java:282)atorg.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)atorg.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)atorg.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)atorg.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)atjavax.servlet.http.HttpServlet.service(HttpServlet.java:717)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)atorg.extremecomponents.table.filter.AbstractExportFilter.doFilter(AbstractExportFilter.java:49)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)atcom.sictech.co.web.LocalEncoding.doFilter(LocalEncoding.java:37)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)atcom.digitalchina.smartssoclient.client.filter.SSOFilter.doFilter(SSOFilter.java:141)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)atorg.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)atorg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)atorg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)atorg.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)atorg.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)atorg.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)atorg.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)atorg.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)atjava.lang.Thread.run(Thread.java:595)大家都帮看看,非常感谢~~~~~~~
解决方案
解决方案二:
自己顶一下,呵呵
解决方案三:
没人呢??55555555谁帮帮我啊??