報(bào)錯(cuò)了,是怎么回事啊
這是什么原因啊,求大神幫幫忙
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();
? ? ? ? //通過(guò)sqlSession執(zhí)行SQL語(yǔ)句
messageList=sqlSession.selectList("Message.queryMessageList");//查詢語(yǔ)句
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}finally{
if(sqlSession!=null){
sqlSession.close();
}
}
?return messageList;
2017-04-02
ClassNotFound很明顯是mybatis的jar包沒(méi)導(dǎo)入,或者是導(dǎo)入了沒(méi)正確引用。
2017-06-19
是什么問(wèn)題;怎么解決的;可以說(shuō)一下嗎