日期:2014-05-20  浏览次数:20777 次

java.lang.reflect.InvocationTargetException的错误求解
Java code
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:623)
    at cn.com.leadfar.cms.backend.view.BaseServlet.process(BaseServlet.java:85)
    at cn.com.leadfar.cms.backend.view.BaseServlet.doGet(BaseServlet.java:61)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    at cn.com.leadfar.cms.backend.view.BaseServlet.service(BaseServlet.java:51)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)
    at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
    at org.apache.jsp.index_jsp._jspService(index_jsp.java:79)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

昨晚项目可以运行 然后早上中了自动复制的病毒杀了500多个.发现myeclipse6.6也被杀得不完整了 就重新安装了次 进去后发现原来可以运行的项目基本都出了这个问题 .我JDK也改成我自己了 tomcat也重新安装过了..我源码昨晚改到三点是可以运行的啊....可以运行我才睡觉了.而且即使错了也不可能连着以前的报一样的错误.大牛们帮帮我吧.不想再三点睡觉了早上工作好困啊.......

------解决方案--------------------
电脑中毒最保险的就是重装系统了 再怎么杀又不彻底 弄得系统千疮百孔