![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
z1z7788
这个作者很懒,什么都没留下…
展开
-
java.lang.IllegalStateException: No ConfigurationProperties annotation found on
spring cloud 启动报错 java.lang.IllegalStateException: No ConfigurationProperties annotation found on 'org.springframework.cloud.client.loadbalancer.LoadBalancerProperties' 问题解决原创 2022-09-28 11:21:38 · 7836 阅读 · 7 评论 -
Mybatis之JSON篇:mysql查询结果转JSON篇(resultMap与resultType)
Mybatis之JSON篇:mysql查询结果转JSON篇(resultMap与resultType)今天因为前端方面的需求,需要把对mysql数据库的查询结果集转成JSON格式,结果就出现问题了,折腾了一下午才找到解决办法。首先先把遇到的问题说出来:<select id="listTicket" resultMap="hashmap" > select a,b,c from...原创 2018-10-14 00:38:32 · 14723 阅读 · 4 评论 -
springboot+mybatis+druid报错:Cannot determine embedded database driver class for database type NONE
springboot+mybatis报错:Cannot determine embedded database driver class for database type NONE1、项目中用到的注解和包扫描什么的都没有错,之前程序都正常运行,后来修改了一些代码再运行之后就报错了。2、报错之后首先上网百度了,查询到的答案都是叫加@SpringBootApplication(exclude={...原创 2019-02-03 12:18:13 · 720 阅读 · 1 评论