这是异常
nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.prs.dps.dao.IPoetDao.getPoetById
PoetMapper.xml
IPoetDao
package com.prs.dps.dao; import com.prs.dps.domain.Poet; import org.springframework.stereotype.Repository; import java.util.List; /** * Created by ffulauh on 2016/6/4. */ @Repository("poetDao") public interface IPoetDao { ListgetPoetById(Integer id) throws Exception; }
mybatis配置文件
http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd">
mybatis-configuration.xml