- Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required
- 问题简述
- 问题解决
- Caused by: java.lang.ClassNotFoundException: feign.slf4j.Slf4jLogger
- 问题简述
- 问题解决
- Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.
- 问题简述
- 问题解决
- long精度丢失
- 问题简述
- 问题解决
https://www.dazhuanlan.com/jellybool/topics/1104831 错误的主要原因为在 Dao 的实现类中继承了SqlSessionDaoSupport来实现 SqlSessionFactory 的自动注入,然后通过 this.getSqlSession() 拿到 SqlSession。 但是这种写法在 mybatis-spring 整合包的版本为 1.2.0 之前是没有问题的,但后续的版本取消了自动注入,当引入的依赖包版本大于 1.2.0 后就会报错。 java.lang.IllegalStateException: No supported DataSource type found https://www.136.la/tech/show-42092.htmlCaused by: java.lang.ClassNotFoundException: feign.slf4j.Slf4jLogger 问题简述
niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit = 2147483647问题解决
依赖只需要这个
Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean. 问题简述org.springframework.cloud spring-cloud-starter-openfeign
Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.
问题解决缺少web依赖
long精度丢失 问题简述long精度丢失
问题解决使用fastjson的提供的注解,@JSONField(serializeUsing = ToStringSerializer.class)防止后端精度丢失



