- 博客(140)
- 资源 (19)
- 问答 (1)
- 收藏
- 关注
原创 nodejs
/打印当前所在目录。node js中引入外部,不能使用SE6中的import,会报。运行:node test.js。node -v 查看版本。nodemon插件使用。
2024-06-10 10:55:42 337
原创 DBeaver软件链接oracle-指定meven代码仓库
DBeaver 指定代码仓库window-->preferences--connections->drivers->meven。依照配置:我直填写了标红的地方,其它都是默认的值。1、首先选择oracle创建链接。设置仓库地址后,把顺序调整到顶位。
2024-05-22 22:25:34 254
原创 真机调试HarmonyOS应用报错
真机调试HarmonyOS应用报错Failure[MSG_ERR_INSTALL_FAILED_NO_BUNDLE_SIGNATURE]Open signing configs
2024-01-04 19:34:01 1196
原创 IDEA 设置文件头的注释信息author,date,description
IDEA 设置文件头的注释信息author,date,description
2023-07-02 11:23:08 781
原创 BeanFactory not initialized or already closed - call ‘refresh‘ before accessing beans via the Applic
spring启动报错:BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the Applic
2022-07-23 08:30:07 1199 1
原创 mysql 页面查询结果字符乱码
mysql在安装和设置字符集的方法方面网上已有很多,这里就暂时不写了,本次遇到的问题是由于两个问题撞在一起了,在解决问题时,刚开始一直以为是同一个问题影响,所以记一下,方便大家快速定位一、页面展示结果:二、排查:show variables like '%character%';show variables like 'collation%';数据库设置和表结构都是UAT-8三、解决问题1:应用的数据库链接jdbc_url 加上配置&...
2022-04-10 10:22:29 499
原创 python运行报error:please select a valid Python interpreter
今天在电脑上安装了一个PyCharm Community Edition 2021.3.2 来学习一下python,可能太着急,安装写一个demo就准备运行看看,结果就报:error:please select a valid Python interpreter解决方式是:按下面情况直接点OK,是不行的原来是我还没有下载python运行环境,PyCharm 只是一个IDEPython Releases for Windows...
2022-03-09 23:36:16 2026
原创 h5给input元素type=file的对象赋值报错
Failed to set the 'value' property on 'HTMLInputElement': This input element accepts a filename, which may only be programmatically set to the empty string <input type="file" class=" form-control hide" placeholder="文件地址" id="filePath" />$("#f.
2022-02-20 15:42:17 1470
原创 nested exception is java.lang.IllegalArgumentException: dataSource or dataSourceClassName or jdbcUrl
ror starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.2022-01-23 21:35:05.177 ERROR 2404 --- [ main] o.s.boot.SpringApplication : Application run failedorg.springframework....
2022-01-23 21:56:26 5742
原创 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught think\exception\ErrorException fail
系统运行一直正常,但在2021跨到2022的元旦时节,出问题了,经查询报错FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught think\exception\ErrorExceptionfailed to open stream: Permission denied#0 [internal function]: think\Error::appError(2, 'error_log(/www/...', '/www...
2022-01-01 16:45:44 4175
原创 启动报错 Caused by: com.mysql.cj.exceptions.UnableToConnectException: CLIENT_PLUGIN_AUTH is required
本地数据库:select version(); -- 查看数据库版本5.0.18-ntCaused by: com.mysql.cj.exceptions.UnableToConnectException: CLIENT_PLUGIN_AUTH is required at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_66] at sun.reflect.NativeCon
2021-12-26 21:16:47 4170
原创 git使用教程
git常见使用教程 Git 是一个开源的分布式版本控制系统,用于敏捷高效地处理任何或小或大的项目。 Git 是 Linus Torvalds 为了帮助管理 Linux 内核开发而开发的一个开放源码的版本控制软件。git 项目管理在需要git管理的地方 创建文件夹git init; //初始化目录中创建GIT文件,来管理目录下的所有文件需要配置:$ git config --global user.email"xxx@13...
2021-10-24 23:43:16 2670
原创 GIT软件win10安装教程
Git - Downloading Package window64 下载地址傻瓜式安装这个地方如果你电脑安装了notepad++ 可以改一下一路下一步
2021-10-10 15:30:46 191
原创 android中Handler使用教程
1、背景2、源码3、使用4、原理/* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licen
2021-07-26 16:43:05 1031
原创 android使用shape自定义Switch组件
Switch 组件在日常生常中比较常用,尤其是在配置页面网上也有很多自定义的例子,主要是原生的太。。。;用图片,在适配中,经常出现拉伸变形的情况, 试着用一下强大的shape话不多说,上代码UI xml <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_margin
2021-07-24 16:33:11 396 2
原创 Establishing SSL connection without server‘s identity verification is not recommended
mysql升级,由5.5升级为5.7版本,启动服务报错2021-07-19 11:23:08.847 INFO 13632 --- [nio-9010-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms2021-07-19 11:23:15.097 INFO 13632 --- [nio-9010-exec-5] com.zaxxer.hikari.HikariData...
2021-07-19 12:00:50 1946
原创 Loading class `com.mysql.jdbc.Driver‘. This is deprecated. The new driver class is `com.mysql.cj.jdb
eclipse启动springboot项目报Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary..
2021-07-19 11:21:41 150
原创 安装mysql-5.7.25时报error while loading shared libraries: libcrypt.so.1: cannot open shared object file:
安装mysql5.7时报 error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory方案1yum install -y libcryptui-develyum install -y libcryptui-devel.i686yum install -y libcryptui-devel.x86_64安装到下面这个时未成功
2021-07-17 15:22:24 3226
原创 springboot打包排除掉resources下的html,css,js,jpg图片等资源文件
用eclipse做springboot项目时,由于生产上是动静态分离配置,jar文件中不需要html,css,js等静态文件解决办法是:在pom.xml文件中加入配置指定排除的部分 <resources> <resource> <directory>src/main/resources</directory> <excludes>
2021-07-16 17:48:34 2193
原创 Waiting up to 10s to lock out/.lock to ensure no other Soong process is running in the same output
android9原码编译报错mmm packages/apps/Launcher3/media/disk_hd8t/qcom/SC200Y/packages/apps/Launcher3Restriction Checker not present, skipping..14:46:28 Waiting up to 10s to lock out/.lock to ensure no other Soong process is running in the same output dire.
2021-07-13 19:36:34 3687 2
原创 java数组复制System.arraycopy
System.arraycopy 是个本地库函数 /** * src 数组源 * srcPos 数组起始位置 * dest 目标数据(最终想得到的数据存放的数组) * destPos 启始位置 * length 需要取的数组元个数 */ System.arraycopy(src, srcPos, dest, destPos, length);例子:1、取...
2021-07-08 16:39:43 214
转载 YUV详解数据和格式
阅读目录一、YUV简介 二、历史 三、常用的YUV格式 四、存储方式 (1) YUVY 格式 (属于YUV422) (2) UYVY 格式 (属于YUV422) (3) YUV422P(属于YUV422) (4)YV12,YU12格式(属于YUV420) (5)NV12、NV21(属于YUV420) 正文我们在讲 FFmpeg 系列的时候,有提到 YUV 的。其中包括YUV播放器、简单的YUV格式介绍。回到顶部一、YUV简介YUV,是一种颜色编码方法。常使
2021-07-08 10:31:43 5109
原创 YUV视频流生成转成jpg图片
android9系统相机Camera类的PreviewCallback回调中,这个接口回调的是相机的预览图片,是YUV格式的数据,这是,利用YuvImage对象的compressToJpeg方法生成Jpeg格式的图片保存在本地。主要参数解析new YuvImage(data, ImageFormat.NV21, width, height, null);format:压缩格式,目前仅支持ImageFormat.NV21与ImageFormat.YUY2两个格式。width:Yuv
2021-07-07 17:28:10 4187 1
原创 Java中interrupt的使用和线程中断
停止一个线程的主要机制是中断,中断并不代表强迫终止一个线程,它是一种协作机制,是给线程传递一个取消的信号,但是让线程来决定如何以及何时退出。出现死锁,interrupt无法中断package demo.thread;public class ThreadTest { /** * 完全中止线程 -正确做法 * * 如果线程里面出现死锁并一直处于等待 interrupt就 中止不了了 */ private static volatile boolean ...
2021-07-02 15:46:15 157
原创 SE6模块引用报错(index):20 Uncaught SyntaxError: Cannot use import statement outside a module
SE6模块引用报错(index):20 Uncaught SyntaxError: Cannot use import statement outside a module<script type="module">//import [aa] from "a";import * as A from "/a.js";alert(A.aa);</script>错误原因: 从报错信息中获知:无法在模块外部使用 import语句。这是因为模块化(Modul...
2021-07-01 19:52:42 297
原创 Android 使用room报错here are multiple good constructors
\app\src\main\java\com\mw\app\demo\room\ProductVO.java:10: ����: There are multiple good constructors and Room will pick the no-arg constructor. You can use the @Ignore annotation to eliminate unwanted constructors.public class ProductVO { ^大致...
2021-07-01 14:56:36 3120
原创 android9反射失败api被隐藏了You have tried to change the API from what has been previously approved.
android9反射失败api被隐藏了,修改源码后报:You have tried to change the API from what has been previously approved.android 反射创建SharedMemory对象 Class<?> clz = Class.forName("android.os.SharedMemory"); Object sharedMemory = InvokeUtil.newInstanceOrThrow(...
2021-06-29 14:23:57 908
原创 android studio清除所有断点,批量删除断点
android studio清除所有断点,批量删除断点Run-->View Breakpoints选择所有的断点点击【减号】 点击 【done】
2021-06-28 10:20:42 643
原创 YUV格式视频流文件下载
https://media.xiph.org/vqeg/TestSeqences/Reference/http://trace.eas.asu.edu/yuv/index.html
2021-06-21 20:23:21 1925
原创 java.lang.IllegalArgumentException: Service Intent must be explicit: Intent
2021-06-15 11:34:10.868 9512-9512/com.zsj.aidlservice E/AndroidRuntime: FATAL EXCEPTION: main Process: com.zsj.aidlservice, PID: 9512 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.zsj.aidlservice/com.zsj.aidlservice.MainAct...
2021-06-15 11:48:26 2805 1
原创 android studio查看历史搜所记录
android studio按ctrl+F搜所,会自动显示上一个搜所记录如何查看前面几个?点击下面的小三角,在搜所图标旁边,就可以查看到
2021-06-11 17:10:24 787 1
原创 Failed to install app-debug.apk: Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]
使用adb 安装android studio生成的app-debug.apk包时抱以下错误adb install D:\app\android\project\DVR\app\build\outputs\apk\debug\app-debug.apkFailed to install D:\app\android\project\DVR\app\build\outputs\apk\debug\app-debug.apk: Failure [INSTALL_FAILED_TEST_ONLY: insta
2021-06-09 10:05:21 4002
原创 android studio新增syso快捷方式像eclipse一样
android studio中File->Settings->Editor->Live Templates输入完模板信息 点击Define就完成了
2021-06-03 11:51:02 184
原创 andorid系统layout、values、drawable适配
andorid屏幕适配密度类型 代表的分辨率(px) 屏幕密度(dpi) 换算(px/dp) 比例 低密度(ldpi) 240x320 120 1dp=0.75px 3 中密度(mdpi) 320x480 160 1dp=1px 4 高密度(hdpi) 480x800 240 1dp=1.5px 6 超高密度(xhdpi) 720x1280 320 1dp=2px 8
2021-05-26 18:15:29 353 1
原创 java 可执行的JAR包程序
1、对写好的java文件点右键导出导出成可运行的JAR文件launch configuration:启动配置(有时项目中有多个main函数的java文件,所以一定要看清是不是自已设定的那个)然后设置导出jar的文件路径点击【finish】2、创建bat文件并指定执行的jar文件自己创建一个记事本把下面的内容保存进去java -jar bat.jarpause并另存为exec.bat (注意这时已是bat文件了)用win...
2021-05-22 15:15:12 1080
原创 android studio软件报out of Memory详情There is not enough memory to perform the requested operation
本机安装android studio4.1软件,某天早上来,打开突然就报以下错误There is not enough memory to perform the requested operation.please increase 'Xmx' setting and restart the IDE for change to take effect网上搜了半天,都和我的软件版本不一致,而且 去试着修改 C:\Users\soft_pc5\AppData\Roaming\Googl..
2021-05-20 20:39:22 1672
原创 linux cat创建与退出
创建 text.txt文件1、cat < text.txt2、回车3、输入你的内容4、完成后准备退出---》输入回车5、键盘上按下快捷键Ctrl+D6、就可以成功创建并保存内容了备注:cat < 是没有文件就创建新的,有文件就覆盖 cat << 是没有文件就创建新的,有的话就追加内容...
2021-05-13 10:28:39 3892
原创 source insight项目导入和使用教程
一、引入已存在的源代码项目1、Project下创建新项目2、取一个项目名和一个项目存放文件路径(方便存放索引和一些设置)3、选择你准备查看或修改的项目源代码选择源代码文件夹 点击右边【add All】弹出提示include top level sub-directories表示将添加第一层子目录中 的文件Recursively add lowersub-directories” 、 表示递归的加入底层的子目录中 的文件两...
2021-05-12 11:29:03 25028 3
python tesseract ORC win10文字识别-中文-chi-sim.traineddata
2023-09-17
android系统.rc文件学习包含init.rc,init.usb.rc,init.zygote64.rc,init-debug.rc,ueventd.rc
2021-06-10
PermissionActivity.java
2021-06-08
sourceInsight.zip
2021-05-03
android8系统LinearLayout原代码
2020-09-17
支付宝生活号怎么判断用户是否已关注(java/js调用支付宝api)
2019-04-12
TA创建的收藏夹 TA关注的收藏夹
TA关注的人