![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringBoot
Derr1ckRose
这个作者很懒,什么都没留下…
展开
-
No serializer found for class edu.hut.lh.POJO.Dept and no properties discovered to create BeanSerial
No serializer found for class edu.hut.lh.POJO.Dept and no properties discovered to create BeanSerializer这是由于使用了RestController注解将查询的POJO类装转化为JSON字符串时报错。解决方法:要么将POJO类的属性设为public,或者提供属性的public的get()方法。...原创 2020-08-15 19:31:16 · 330 阅读 · 0 评论 -
errorCode 1045,state 28000: Access denied for user ‘mysql‘@‘localhost‘ (using password: YES)
errorCode 1045,state 28000: Access denied for user ‘mysql’@‘localhost’ (using password: YES)springboot连接mysql的时候出现登录失败的错误errorCode 1045,state 28000 java sql.SQLException:Access denied for user 'root'@'localhost'原因是yml配置文件中密码没有使用引号。第一:在密码上加上单引号spring:原创 2020-08-15 19:24:24 · 943 阅读 · 0 评论 -
Springboot-SpringSecurity结合mybatis-进行数据库验证
Springboot-SpringSecurity结合mybatis-进行数据库验证需要的jar包POJO类Security主要配置类Service所使用的表效果展示其中特别要注意的点需要的jar包 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf&原创 2020-08-13 16:18:21 · 524 阅读 · 2 评论