Java_beginner_wx
Java_beginner_wx
2016-02-19 08:28
采纳率: 0%
浏览 1.7k

求助java.lang.NoSuchMethodException

at java.lang.Class.getMethod(Class.java:1605)
at com.zfsoft.struts.action.BaseAction.execute(BaseAction.java:65)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.zfsoft.util.CheckYhqxFilter.doFilter(CheckYhqxFilter.java:91)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.zfsoft.util.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:24)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:619)

将数据以excel文件格式导出,报错,找不到这个方法但是action里确实写了

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

9条回答 默认 最新

  • ldy13024770810
    永哥威武 2016-02-19 08:38

    查看方法是否为public

    点赞 评论
  • diaoliwei2
    DreamTHT 2016-02-19 08:39

    部署在tomcat里吗?是不是tomcat下缓存的问题

    点赞 评论
  • qq_28905485
    qq_28905485 2016-02-19 08:43

    怎么代码不贴出来呢?

    点赞 评论
  • luochoudan
    丑旦 2016-02-19 08:52

    action里面写了,没部署上?

    点赞 评论
  • zhihan_tu
    簸箕粄 2016-02-19 09:08

    代码贴出来看看先,行不

    点赞 评论
  • Java_beginner_wx
    Java_beginner_wx 2016-02-19 09:14

    我刚刚问同事找到原因了,action里写了,但是这个action不在我当前运行的项目中,在另一个项目中,将action所在的项目link过来,就好了

    点赞 评论
  • enpterexpress
    把分全给哥 2016-02-19 09:20

    调用了没有定义的方法

    点赞 评论
  • tanggao1314
    汤高 2016-02-19 09:46

    方法没有定义,看是不是定义了

    点赞 评论
  • Royal_lr
    Royal_lr 2016-02-19 11:45

    没有这个方法,,,,,

    点赞 评论

相关推荐