06 2021 档案
View.inflate、LayoutInflator.inflate
摘要:核心源码: public View inflate(XmlPullParser parser, ViewGroup root, boolean attachToRoot) { final Context inflaterContext = mContext; final AttributeSet a 阅读全文
posted @ 2021-06-30 13:48 汤姆猫8 阅读(62) 评论(0) 推荐(0)
License for package Android SDK Build-Tools 29.0.3 not accepted.
摘要:导入别人项目的时候,没有别人项目中应用的SDK版本。 解决方案: File--Setting-- 阅读全文
posted @ 2021-06-28 16:00 汤姆猫8 阅读(366) 评论(0) 推荐(0)
Attempt to invoke virtual method ‘java.io.FileOutputStream android.content.Context.openFileOutput(java.lang.String, int)' on a null object reference
摘要:Attempt to invoke virtual method ‘java.io.FileOutputStream android.content.Context.openFileOutput(java.lang.String, int)' on a null object reference 对 阅读全文
posted @ 2021-06-28 10:53 汤姆猫8 阅读(1108) 评论(0) 推荐(0)
关于mybatis的参数传入区别${column}、#{column}
摘要:有时候我们使用mybatis的Mapper.xml对数据库进行操作的时候,会出现这种情况: 先上数据库: ①:我们想传入两个参数,动态更新查询条件。 但是运行的时候发现,虽然数据库中有Name=1的数据,但是缺查不到???? 先说解决方案,文末再总结原因: xml中的数据库语句换成这样: 查询结果: 阅读全文
posted @ 2021-06-27 14:21 汤姆猫8 阅读(383) 评论(0) 推荐(0)
Invalid bound statement (not found): com.example.demo.mapper.B18040208Mapper.search
摘要:这种报错,启动的时候一般不会报错,在你调用到对应的服务的时候,找不到对应的mapper文件时,报错。 有一种原因是xxxMapper.xml文件编写有问题,这个原因这里不做讨论 第二种:对mapper.xml文件未加扫描 启动springboot对象上添加:@MapperScan("com.exam 阅读全文
posted @ 2021-06-25 23:45 汤姆猫8 阅读(2128) 评论(0) 推荐(0)
Spring Boot——Security(安全管理)
摘要:重要前提说明:Spring Boot项目中引入了Spring Security框架后,自动开启了CSRF防护功能(跨站请求伪造防护——get),所以要实现一些特定功能需要使用post请求。 WebSecurityConfigurerAdapter类中有 configure方法进行身份验证,实现安全控 阅读全文
posted @ 2021-06-22 15:47 汤姆猫8 阅读(766) 评论(0) 推荐(0)
Redis问题集
摘要:问题一:启动的时候 解决方案: 在命令行中输入如下命令即可: 1. redis-cli.exe 2. shutdown 3. exit 4. redis-server.exe redis.windows.conf 阅读全文
posted @ 2021-06-22 12:18 汤姆猫8 阅读(38) 评论(0) 推荐(0)
Mybati-Plus的用法 记录
摘要:参考文件下载地址: https://files.cnblogs.com/files/bulter/MyBatis-Plus.zip —————————————————————————————————————————————————————————————————————————— 如果在属性文件中添 阅读全文
posted @ 2021-06-22 12:00 汤姆猫8 阅读(58) 评论(0) 推荐(0)
知识点汇总。
摘要:Private Sub Combo18_AfterUpdate() Call 车损 Call 乘客保 Call 驾驶人保End Sub 解析:Combo18该控件更新后,执行车损、乘客保、驾驶人保方法。 Private Sub 车损() 车损基础保费.Value = CurrentDb.OpenRe 阅读全文
posted @ 2021-06-22 11:57 汤姆猫8 阅读(84) 评论(0) 推荐(0)
谷歌浏览器加载驱动(chromedriver)——selenium
摘要:http://chromedriver.storage.googleapis.com/index.html 可以到该网站下载对应的谷歌驱动器(注意:需要版本和操作系统对应,其中windows统一32的)。 阅读全文
posted @ 2021-06-14 10:35 汤姆猫8 阅读(388) 评论(0) 推荐(0)
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element
摘要:org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element(识别不到想要的元素) 想获取到收件箱中包含坚果云的字段 此处遇见的问题,网页中想要识别的元素在iframe框中,于是不能直接: 阅读全文
posted @ 2021-06-13 17:46 汤姆猫8 阅读(1282) 评论(0) 推荐(0)