报错了,是怎么回事啊
这是什么原因啊,求大神帮帮忙
public List<Message> queryMessageList(String Command,String Description){
DBAccess dbAccess=new DBAccess();
List<Message> messageList=new ArrayList<Message>();
SqlSession sqlSession=null;
try {
sqlSession=dbAccess.getSqlSession();
//通过sqlSession执行SQL语句
messageList=sqlSession.selectList("Message.queryMessageList");//查询语句
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}finally{
if(sqlSession!=null){
sqlSession.close();
}
}
return messageList;