struts2的nosuchmethodexception相关

struts.xml

 <action name="student_*" class="studentAction" method="{1}">
     <result name="init">/WEB-INF/page/student_query.jsp</result>
     <result name="queryByName">/WEB-INF/page/querytest.jsp</result>      

            <result name="queryById">/WEB-INF/page/sth.jsp</result>
        </action>

student action

 public String queryByName(){
        try {
//          Map<String,Object> store = new HashMap<String,Object>();            
            studentService.queryByName(iwname,super.getPage()); 
            List<Student> students = getPage().getDataList();           
            System.out.println(students.size());
//          store.put("list", students);
//          store.put("success", true);

        } catch (Exception e) {
            log.error("error:", e);
        }
        return "queryByName";
    }
    /**
     * 根据studentbaseId来查找
     */
    public String queryById(){
        try{
            Student student = studentService.selectById(studentbaseinfoId);
            System.out.println(student);
        }catch(Exception e){
            log.error("error:",e);
        }
        return "queryById"; 
    }

其中queryByName正常
图片说明

但是queryById的时候就报nosuchmethod错误
图片说明

求大牛提点一下,谢谢

你这是通过id查询一个实体类的功能吧!
exception:里说是方法内相关代码 的错误,代码能提供,能补贴图吗??

不会是添加配置后,没有重启吧?