不是很明白啊,从错误信息来看是没有找到ApplicationFilterChain.internalDoFilter 

解决方案 »

  1.   

    我在myeclpise调试程序啊!我没有写那个类啊!代码就是这样啊
    有人愿意帮个忙吗?不弟万分咸谢
    出现这个错误:Source not found for ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) line: 254
    代码如下:servlet中的Integer qid=Integer.valueOf(request.getParameter("qid"));
    String sql = "select AP,day from pinqueue where QID=?";

    PinqueueDAO pdao = new PinqueueDAO();
    Pinqueue pin = pdao.findDateSQL(sql, qid);
    int day=pin.getDay();
    int ap=pin.getAp();
    pdao.delete(qid);
    dao 中的 public  synchronized Pinqueue findDateSQL(String sql, int qid) {
    Pinqueue pin=null;
    try {
    DBConnect dbc = new DBConnect(sql, "mysql",
    ResultSet.TYPE_SCROLL_INSENSITIVE,
    ResultSet.CONCUR_READ_ONLY);
    dbc.setInt(1, qid);
    ResultSet rs= dbc.executeQuery();
    while(rs.next()){
    pin.setAp(rs.getInt("AP"));
    pin.setDay(rs.getInt("day"));
    }
    dbc.closeAlle();
    } catch (SQLException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    }
    return pin;
    }调试时候到这一行没问题。Pinqueue pin = pdao.findDateSQL(sql, qid);我在step over就出现这个错误》我没有用过滤器
      

  2.   

    我就是想从数据库中取得day,和AP,然后在根据取的值做下一步外理.我把取的值set 给对象.在servlet中直接取出.就是这样.可为什么有这个错误!
      

  3.   

    我想你是在debug程序,
    因为我也是在debug 中遇到 这个问题
    也不知道如何解决!!
      

  4.   

    我在debug的时候也出现与lz同样的问题,后来发现只要在项目中导入commons-logging.jar就不会再出现这样的错误了.希望对lz及遇到同样问题的朋友有所帮助!
      

  5.   


    有人说是tomcat 版本问题...
    这上面可能比较全
      

  6.   

    我也遇见了 至今还未解决。出现的是java.lang.NumberFormatException: For input string: ""错误。我进行int kid = Integer.parseInt(request.getParameter("kid"));在这里就过不去了。别的参数传过来就没有问题,这个就有问题,为什么呢,我传参的时候用的是下拉列表
    <select name="kid">
         <option value="">请选择类别</option>
                 <c:forEach items="${kind}" var="kind">
                    <option value="${kind.id}">${kind.content1}</option>
                 </c:forEach>
    </select>
           <input type="hidden" name="kid" value="<%=request.getParameter("kid")%>">
    还有我这不想用<%=%>的形式,想用el表达式,该怎么写呢??
      

  7.   

    Source not found for ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) line: 293
      

  8.   

    你点右上角的debug图标 取消所有的breakpoint
      

  9.   

    我也遇到这个问题了,纠结呀。我是struts2中用servlet出问题的