异常:
16:58:56,250 WARN BaseCallMarshaller:59 - Marshalling exception: Missing method or missing parameter converters: LoginServiceImpl.findByUserName
16:58:56,312 WARN BaseCallMarshaller:59 - --Erroring: batchId[0] message[java.lang.IllegalArgumentException: Missing method or missing parameter converters: LoginServiceImpl.findByUserName]
js代码
配置文件
被调用的后台类
public boolean findByUserName(Student stu){
String hql="from Student as s where s.username=?";
List l=commdao.findList(hql,stu.getUsername());
if(l!=null&&l.size()!=0)
{
System.out.println("可以注册!");
return true;
}
else
return false;
}
实体类字段
private int id;
private String username;
private String userpass;
异常:
16:58:56,250 WARN BaseCallMarshaller:59 - Marshalling exception: Missing method or missing parameter converters: LoginServiceImpl.findByUserName
16:58:56,312 WARN BaseCallMarshaller:59 - --Erroring: batchId[0] message[java.lang.IllegalArgumentException: Missing method or missing parameter converters: LoginServiceImpl.findByUserName]