- 博客(9)
- 收藏
- 关注
原创 @EnableConfigServer找不到,IDEA下载jar包损坏解决方法
1.问题1.1如上图, 我已经导入dependencies,但是还是不能解决。1.2发现问题点击上图的spring-cloud-config-server,进入一个html页面如下可以看到html文件有问题,我从来没有改过呀,我手动纠正的错误,但还是不能导入@EnableConfigServer。在网上看了很多资料,有的说是spring-cloud-config-server版本问题,我整了一天,发现不对。最后再看到这个界面时,我估计是maven下载的jar包出现了问题。2.解决2.1去ma
2020-11-01 12:27:31
1185
原创 Mybaits学习笔记
一、什么是Mybatis?** Mybatis原来叫ibatis,时apache的一个开源项目,后来迁移到google code,才交Mybatis.它是一个持久层框架。封装了jdbc对数据库的操作,如不需要手动注解驱动,手动设置参数,建立connection,创建statment,结果集检索等。Mybatis通过xml或注解把要执行的sql语句配置起来,通过java对象与sql语句映射形成最...
2020-09-29 09:34:45
963
原创 SpringBoot整合Mybatis遇到个天大的坑(自己坑自己)org.apache.ibatis.binding.BindingException: Invalid bound statement
1、org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)** 仔细看看这两个mapper文件,由于新建的时候没有写.xml后缀,但是,IDEA却默认显示这是一个xml文件,结果在配置文件里mybatis.mapper locations=classpath:mybatis/mapper/*.xml**扫描的是.xml文件,这就导致了扫描不到上图红色的ProviderMapper这个文件,结果报错
2020-09-26 23:34:53
982
2
原创 Mybaitis文件里mapper文件注释
1.出现错误如下There is no getter for property named ‘bill_code’ in 'class com.mystudy.springbootstudydatamybatis2.entities.Bill’2.原因查找1.先去检测有没有写get或set方法,检查结果,写了,那是哪出了问题呢?.
There was an unexpected error (type=Method Not Allowed, status=405).springboot使用自定义servlet配置时采的坑
1.需要的模块sudo pip3 install simpleaudio安装过程中如果速度过慢,可以把手机开热点分享网络给树莓派,速度可能会快些2.使用,只限于wav音频文件import simpleaudio as sa def playAlarm(filename): wave_obj = sa.WaveObject.from_wave_file(filename) ...
2020-03-12 22:21:19
1380
原创 树莓派raspibian安装虚拟键盘教程
1. 安装虚拟键盘sudo apt-get install matchbox-keyboard如果出现键盘乱码,请接着第二步,安装中文包2.安装中文包sudo apt-get install ttf-wqy-zenhei重启即可正常sudo reoot效果如下...
2020-03-12 22:08:39
1941
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅