org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.icss.demo.dao.AreaDao.queryAreaById
运行测试类报错,网上的方法都没用
运行测试类报错,网上的方法都没用
2018-07-15
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.icss.demo.dao.AreaDao.queryAreaById
2018-07-15
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactoryConfiguration': Injection of autowired dependencies failed; nested exception is
2018-07-12
DataSourceTransactionManager
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>5.0.4.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>5.0.4.RELEASE</version>
</dependency>
2018-07-10
@EnableTransactionManagement
<dependency>
<groupId>org.springframework</groupId>
<artifactId>org.springframework.transaction</artifactId>
<version>3.1.2.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>org.springframework.transaction</artifactId>
<version>3.1.2.RELEASE</version>
</dependency>
2018-07-10
大佬,AreaDao.xml在updateArea的sql,应该在<set>外加
<trim suffixOverrides = ","></trim>将sql最后一个参数的逗号去掉,不然可能会sql报错
<trim suffixOverrides = ","></trim>将sql最后一个参数的逗号去掉,不然可能会sql报错
2018-07-06