-
PageHelper父类PageMethod中使用了
LOCAL_PAGE = java.lang.ThreadLocal
共享线程Page变量。
在新版SpringBoot中,不再像以前普通的Spring项目或旧版SpringBoot那样,每个Request请求,都创建一个新的线程 -> new Thread(),而是使用了线程池来处理每个Request请求。这样就引发了一个问题(BU…
-
引用:
org.mybatis.spring.boot
mybatis-spring-boot-starter
1.3.1
tk.mybatis
mapper-spring-boot-s…
-
错误:Caused by: java.lang.InstantiationException: tk.mybatis.mapper.provider.SpecialProvider
at java.lang.Class.newInstance(Class.java:427)
at org.apache.ibatis.builder.annotation.ProviderSqlSource.…
-
The error occurred while setting parameters ### SQL: select count(0) from ( select distinct m.menuId, m.parentId, m.menuName, m.path, m.component, m.[query], m.visible, m.status, isnull(m.perms,'') as…
-
问题重现
pom.xml 中添加
`
org.springframework.boot
spring-boot-devtools
runtime
true
`
运行 spring-boot:run
点击 修改 操作,如访问http://localhost:8181/countries/view/1,出现java.lang.ClassCastException…
-
问题描述:参考http://blog.csdn.net/isea533/article/details/53011890
使用属性文件方式配置,可以正常使用devtools,但是使用配置文件方式不会配置uuid回显,因此使用了javaConfig
用了javaConfig配置后,导致项目无法启动,一直报错:
```
Error setting property values; ne…
-
### Error querying database. Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property '__frch_listItem_3'. It was either not specified and/or could not be found…
-
- [ ] 我已在 [issues](https://github.com/pagehelper/Mybatis-PageHelper/issues) 搜索类似问题,并且不存在相同的问题.
## 依赖模块
```
spring-boot-starter-web [3.0.6]
mysql-connector-java [5.1.46]
druid [1.2.17]
mybatis-…
-
http://www.ityouknow.com/springboot/2016/11/06/spring-boo-mybatis.html
这两天启动了一个新项目因为项目组成员一直都使用的是mybatis,虽然个人比较喜欢jpa这种极简的模式,但是为了项目保持统一性技术选型还是定了 mybatis。到网上找了一下关于spring boot和mybatis组合的相关资料,各种各样的形式都有,…
-
laidu updated
5 years ago