解决maven项目不会预读xml文件,Invalid bound statement (not found): com.starry.dao.IUserDao.selAll
2017-09-20 11:21
1056 查看
Invalid bound statement (not found): com.starry.dao.IUserDao.selAll
dao层中xml文件不会被预读
在pom.xml文件中加入在<build>标签中插入下面的代码:
<resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</include> </includes> <filtering>false</filtering> </resource> </resources>
然后这个错误就会解决
相关文章推荐
- mybaties错误解决Invalid bound statement (not found): com.yealink.example.dao.UserMapper.getUserByUserInf
- mybatis:Invalid bound statement (not found):com.me.dao.UserDAO.insertRecord
- mybatis错误:Invalid bound statement (not found): com.prcsteel.peanut.dao.UserDao.selectById
- 【spring boot Mybatis】报错:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.newhope.interview.dao.UserMapper.add
- IDEA的maven项目出现org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)错误解决方法
- maven搭建web项目中org.apache.ibatis.binding.BindingException:Invalid bound statement ( not found)
- 转:Maven项目编译后classes文件中没有dao的xml文件以及没有resources中的配置文件的问题解决
- maven项目中,遇到org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
- SSMF maven项目 mybatis报错org.apache.ibatis.binding.BindingException: Invalid bound statement (not found
- Invalid bound statement (not found): com.xs.vote.dao.UserDao.get
- maven打包项目后org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.png.mapper.User
- 运行Maven项目:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
- "Invalid bound statement (not found): com.sitech.admin.dao.TbOpenAbilityInfoDao.findAbilityReadyUp"mybatis配置文件bug
- Invalid bound statement (not found): com.taotao.search.dao.SearchItemDao.getItemList
- maven 项目,mybatis报错org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
- 【问题解决】Maven搭建Web项目中org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)问
- BindingException: Invalid bound statement (not found): com.ssm.blog.dao.BlogDAO.getBlogList
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.yj.dao.TrailerA
- Maven项目mybatis Invalid bound statement (not found)解决方法