这个名字应该不会重复吧 2018-12-22 18:35 采纳率: 83.3%
浏览 725
已采纳

#java web#在java web项目运行中,抛出了下面的异常,怎么解决啊

HTTP Status 500 - An exception occurred processing JSP page /Admin/adminUser.jsp at line 38
type Exception report

message An exception occurred processing JSP page /Admin/adminUser.jsp at line 38

description The server encountered an internal error that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: An exception occurred processing JSP page /Admin/adminUser.jsp at line 38

35:       </tr>
36:       <tr>
37:         <td height="30" align="center">     
38:             <display:table name="adminList" id="row" pagesize="15" export="true" class="displaytag" requestURI="/Admin/admin.do?method=browseAdmin" >
39:                 <display:column property="adminName" title="${label1}" sortable="true" headerClass="sortable" style="text-align:center;"/>
40:                 <display:column property="loginName" title="${label2}" sortable="true" headerClass="sortable" style="text-align:center;"/>
41:                 <display:column property="adminType" title="${label3}" sortable="true" headerClass="sortable" style="text-align:center;"/>


Stacktrace:
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:584)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:466)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
    org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    com.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:32)
    org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
root cause

javax.servlet.ServletException: java.lang.ExceptionInInitializerError
    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:909)
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:838)
    org.apache.jsp.Admin.adminUser_jsp._jspService(adminUser_jsp.java:301)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
    org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    com.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:32)
    org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
root cause

java.lang.ExceptionInInitializerError
    org.apache.commons.lang.builder.ToStringStyle$MultiLineToStringStyle.<init>(ToStringStyle.java:2119)
    org.apache.commons.lang.builder.ToStringStyle$MultiLineToStringStyle.<init>(ToStringStyle.java:2116)
    org.apache.commons.lang.builder.ToStringStyle.<clinit>(ToStringStyle.java:78)
    org.apache.commons.lang.builder.ToStringBuilder.<clinit>(ToStringBuilder.java:97)
    org.apache.commons.lang.ArrayUtils.toString(ArrayUtils.java:171)
    org.apache.commons.lang.ArrayUtils.toString(ArrayUtils.java:152)
    org.displaytag.export.ExportViewFactory.<init>(ExportViewFactory.java:61)
    org.displaytag.export.ExportViewFactory.getInstance(ExportViewFactory.java:79)
    org.displaytag.tags.TableTag.doStartTag(TableTag.java:753)
    org.apache.jsp.Admin.adminUser_jsp._jspService(adminUser_jsp.java:224)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
    org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    com.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:32)
    org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
root cause

java.lang.NumberFormatException: multiple points
    java.base/jdk.internal.math.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1914)
    java.base/jdk.internal.math.FloatingDecimal.parseFloat(FloatingDecimal.java:122)
    java.base/java.lang.Float.parseFloat(Float.java:455)
    org.apache.commons.lang.SystemUtils.getJavaVersionAsFloat(SystemUtils.java:1117)
    org.apache.commons.lang.SystemUtils.<clinit>(SystemUtils.java:817)
    org.apache.commons.lang.builder.ToStringStyle$MultiLineToStringStyle.<init>(ToStringStyle.java:2119)
    org.apache.commons.lang.builder.ToStringStyle$MultiLineToStringStyle.<init>(ToStringStyle.java:2116)
    org.apache.commons.lang.builder.ToStringStyle.<clinit>(ToStringStyle.java:78)
    org.apache.commons.lang.builder.ToStringBuilder.<clinit>(ToStringBuilder.java:97)
    org.apache.commons.lang.ArrayUtils.toString(ArrayUtils.java:171)
    org.apache.commons.lang.ArrayUtils.toString(ArrayUtils.java:152)
    org.displaytag.export.ExportViewFactory.<init>(ExportViewFactory.java:61)
    org.displaytag.export.ExportViewFactory.getInstance(ExportViewFactory.java:79)
    org.displaytag.tags.TableTag.doStartTag(TableTag.java:753)
    org.apache.jsp.Admin.adminUser_jsp._jspService(adminUser_jsp.java:224)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
    org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    com.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:32)
    org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
note The full stack trace of the root cause is available in the Apache Tomcat/8.5.9 logs.

Apache Tomcat/8.5.9
  • 写回答

1条回答 默认 最新

  • 专家-郭老师 Java领域新星创作者 2018-12-22 11:31
    关注

    /Admin/adminUser.jsp at line 38 这个页面38行,requestURI="/Admin/admin.do?method=browseAdmin" >你看看你的admin.do这个方法是不是报错了。先调试,try{}catch捕获异常

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 fluent模拟静态气体扩散
  • ¥15 java根据模板,生成word文档,需要带目录
  • ¥15 广告联盟的兜底广告是什么意思
  • ¥15 如何证明高斯噪声的包络公式
  • ¥150 寻找王者荣耀开发作者,合作或者解答
  • ¥15 关于cpci总线的几个问题,别用人工智能回答
  • ¥15 乳腺癌数据集 相关矩阵 特征选择
  • ¥15 我的游戏账号被盗取,请问我该怎么做
  • ¥15 通关usb3.0.push文件,导致usb频繁断连
  • ¥15 有没有能解决微信公众号,只能实时拍照,没有选择相册上传功能,我不懂任何技术,,有没有给我发个软件就能搞定的方法