org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.icss.demo.dao.AreaDao.queryAreaById
運(yùn)行測(cè)試類報(bào)錯(cuò),網(wǎng)上的方法都沒(méi)用
運(yùn)行測(cè)試類報(bào)錯(cuò),網(wǎng)上的方法都沒(méi)用
2018-07-15
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.icss.demo.dao.AreaDao.queryAreaById
2018-07-15
表里應(yīng)該加一個(gè)isDelete字段,這樣可以邏輯刪除(通過(guò)0和1去區(qū)分是否是刪除的數(shù)據(jù)
)
)
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,應(yīng)該在<set>外加
<trim suffixOverrides = ","></trim>將sql最后一個(gè)參數(shù)的逗號(hào)去掉,不然可能會(huì)sql報(bào)錯(cuò)
<trim suffixOverrides = ","></trim>將sql最后一個(gè)參數(shù)的逗號(hào)去掉,不然可能會(huì)sql報(bào)錯(cuò)
2018-07-06
server.context-path= 已經(jīng)變?yōu)?br />
server.servlet.context-path=
2018-07-01