日期:2014-05-18  浏览次数:20794 次

java.lang.ExceptionInInitializerError 这个错误  如何解决啊?请大侠赐教. 小弟刚入行 请说详细点


HTTP Status 500 - 

--------------------------------------------

type Exception report

message 

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

exception 

org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:413)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:319)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.common.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:37)


root cause 

javax.servlet.ServletException
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:854)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:783)
org.apache.jsp.finish_jsp._jspService(finish_jsp.java:87)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:319)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.common.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:37)


root cause 

java.lang.ExceptionInInitializerError
com.test.MakeImage.makeImage(MakeImage.java:20)
com.date.Guodu.guoDu(Guodu.java:8)
org.apache.jsp.finish_jsp._jspService(finish_jsp.java:71)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:319)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.common.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:37)


note The full stack trace of the root cause is available in the Apache Tomcat/6.0.0 logs.


--------------------------------------------

Apache Tomcat/6.0.0

------解决方案--------------------
给你代码贴上来看看
com.test.MakeImage.makeImage
我的异常网推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.aiyiweb.com/java-web/317.html