
【随笔】工作问题
包含代码、框架整合
努力的阳光蓝孩
学习一时爽,一直学习一直爽
展开
-
Datasource error: Access denied for user ‘root‘@
1、在链接的驱动属性中,增加allowPublicKeyRetrieval=true。原创 2025-01-07 21:15:00 · 321 阅读 · 0 评论 -
MySQL 8(docker) Public Key Retrieval is not allowed
或者 ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'root';原创 2024-12-26 20:30:00 · 222 阅读 · 0 评论 -
pnpm : 无法加载文件
pnpm : 无法加载文件 C:\Users\user\AppData\Roaming\npm\pnpm.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。所在位置 行:1 字符: 1。原创 2024-12-24 19:00:00 · 451 阅读 · 0 评论 -
Srping 配置不打印复杂的日志输出
application.yml中添加配置。原创 2024-12-20 22:45:00 · 145 阅读 · 0 评论 -
Please verify you invoked Maven from the correct directory
因为maven 仓库xml地址没有修改修改,会打包到C:\Users\user\.m2\repository。打包之后发现没有打到自己配置的仓库。换了cmd 窗口执行正常。原创 2024-12-20 22:45:00 · 234 阅读 · 0 评论 -
安装了docker >docker images ‘docker‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件。
将环境变量添加到工作环境中。终端工具需要退出重新进入。原创 2024-12-19 20:15:00 · 282 阅读 · 0 评论 -
Failed to save ‘package.json‘: The content of the file is newer. Please compare your version with th
Failed to save 'package.json': The content of the file is newer. Please compare your version with the file contents or overwrite the content of the file with your changes.1) 修改配置。原创 2024-12-02 12:01:37 · 333 阅读 · 0 评论 -
Cannot find module ‘@/components/Test.vue‘ or its corresponding type declarations.ts-plugin(2307)
一、新版本ts配置路径报错。2 重启vscode。原创 2024-10-13 14:09:17 · 1399 阅读 · 0 评论 -
warning: `/Users/flame/.cargo/config` is deprecated in favor of `config.toml`
2 如果你不想本地支持的rust 的1.38版本 可以直接将 /Users/flame/.cargo/config 命名为config.toml。1 解决方法, 执行下面的命令 创建一个软连接。原创 2024-08-31 23:49:45 · 2530 阅读 · 0 评论 -
error: failed to run custom build command for `openssl-sys v0.9.103` Cargo install cargo-edit
三、再次执行 安装成功。原创 2024-08-16 16:15:42 · 1011 阅读 · 0 评论 -
tar (child): bzip2: Cannot exec: No such file or directory
【代码】tar (child): bzip2: Cannot exec: No such file or directory。原创 2024-08-02 22:30:00 · 422 阅读 · 0 评论 -
Error creating bean with name ‘namedParameterJdbcTemplate‘ defined in class path resource
问题因为自己没有做统一依赖。Spring 启动错误。原创 2024-08-01 22:30:00 · 433 阅读 · 0 评论 -
SpringBoot Running 404 (容器启动 接口调用404)
二、问题原因注解引起的。原创 2024-08-01 22:15:00 · 142 阅读 · 0 评论 -
error obtaining VCS status: directory “/Users/flame/Documents/GoCode/src/studyProject“ is not using
1 go 执行编译报错。原创 2024-07-12 16:07:33 · 283 阅读 · 0 评论 -
Docker 搭建Gitlab Could not resolve hostname
1本地解析不了Docker 内部设置的域名。搭建后git push 提交代码。原创 2023-12-03 11:59:52 · 537 阅读 · 0 评论 -
03 Mac 系统升级错误 (xcrun: error: invalid active developer path )
中间网络超时的话只需要 重新下载就好。原创 2023-11-05 00:05:55 · 184 阅读 · 0 评论 -
01 解决Mac安装软件已经损坏的问题
苹果从macOS Sierra 10.12 开始,已经去除了允许“任何来源”的选项,如果不开启“任何来源”的选项,会直接影响到无法运行的第三方应用。接着打开【系统偏好设置】,选择【安全性与隐私】,选择【通用】,可以看到【任何来源】已经选定。二、发现还是显示“已损坏,无法打开。然后回车,继续输入密码(密码输入时是不可见的),然后回车。回到终端窗口按回车,输入系统密码回车即可。接着重新打开安装软件,就可以正常安装了。一、允许“任何来源”开启。原创 2023-11-05 00:04:03 · 1682 阅读 · 0 评论 -
04 Mac brew update err
执行他所提到的命令即可。原创 2023-11-05 00:02:21 · 126 阅读 · 0 评论 -
05 yapi docker-compose 报错 (yaml: line 2: did not find expected <document start>)
一、按照官方文档git clone 之后 修改配置。是因为ymal 格式有问题。使用格式化工具修改后再执行。原创 2023-11-04 23:58:40 · 1194 阅读 · 0 评论 -
No ‘Access-Control-Allow-Origin‘ header is present on the requested resource.
跨域问题原创 2022-09-03 11:40:15 · 262 阅读 · 0 评论 -
npm WARN config global --global, --local are deprecated. Use --location=global instead.
npm WARN config global --global, --local are deprecated原创 2022-09-03 11:32:54 · 327 阅读 · 0 评论 -
No matching version found for create-vue@last.
vue 创建项目原创 2022-09-03 11:28:43 · 3579 阅读 · 0 评论 -
Update your application to remove the dependency cycle between beans
Spring boot 高版本循环依赖问题原创 2022-09-03 11:25:12 · 1485 阅读 · 1 评论 -
win10上修改docker的镜像文件存储位置
docker 安装的C 盘存储不够用了原创 2022-08-11 21:01:37 · 466 阅读 · 0 评论 -
java.sql.SQLSyntaxErrorException: Table ‘H_PERSION‘ doesn‘t exist
MySQL 表不存在原创 2022-08-04 19:33:56 · 410 阅读 · 0 评论 -
Error invoking remote method ‘fetch-data‘: FetchError: request to https://desktop.docker.com/tips.js
Docker原创 2022-07-19 11:35:45 · 2353 阅读 · 4 评论 -
ERROR: role “admin“ cannot be dropped because some objects depend on itDETAIL:
PLSQL 问题原创 2022-07-14 10:05:01 · 1034 阅读 · 0 评论 -
Go get LibreSSL SSL_connect: SSL_ERROR_SYSCALL
# cd .; git clone -- https://github.com/gogf/gf /Users/flame/Downloads/GoCode/src/github.com/gogf/gfCloning into '/Users/flame/Downloads/GoCode/src/github.com/gogf/gf'...fatal: unable to access 'https://github.com/gogf/gf/': LibreSSL SSL_connect: SSL_ERR原创 2022-01-20 09:27:04 · 1726 阅读 · 0 评论 -
go get:~~~~~~~ i/o timeout
➜ ~ go env -w GOPRIVATE=https://mirrors.aliyun.com➜ ~ go env -w GOPROXY=https://goproxy.cn原创 2022-01-19 23:30:08 · 319 阅读 · 0 评论 -
go get: net/http: TLS handshake timeout
go: downloading github.com/gogf/gf v1.16.6go get: github.com/gogf/gf@v1.16.6: verifying module: github.com/gogf/gf@v1.16.6: Get "https://sum.golang.google.cn/lookup/github.com/gogf/gf@v1.16.6": net/http: TLS handshake timeoutgo env -w GOSUMDB=...原创 2022-01-19 23:28:22 · 2932 阅读 · 0 评论 -
Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate (default-
一、MySQL 8.0 版本集成 逆向生成失败的报错信息Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate (default-cli) on project dianping: Execution default-cli of goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.2:generate fa原创 2021-02-22 22:58:55 · 8939 阅读 · 5 评论 -
[2020-10-10 10:14:54,336] [ERROR] [] org.jboss.resteasy.resteasy_jaxrs.i18n - RESTEASY002005: Failed
一、dubbo访问报错[2020-10-10 10:14:54,336] [ERROR] [] org.jboss.resteasy.resteasy_jaxrs.i18n - RESTEASY002005: Failed executing GET /userorg.jboss.resteasy.core.NoMessageBodyWriterFoundFailure: Could not find MessageBodyWriter for response object of type: med原创 2020-10-26 09:21:48 · 918 阅读 · 0 评论 -
3780 - Referencing column ‘assagement_id‘ and referenced column ‘id‘ in foreign key constraint ‘FKhl
一、操作1、修改表的类型alter table t_user modify column assagement_id VARCHAR(111);2、错误3780 - Referencing column 'assagement_id' and referenced column 'id' in foreign key constraint 'FKhlaffssam5nthcbq199w4tccp' are incompatible., Time: 0.009000s3、解决方法删除外键原创 2020-10-26 09:18:09 · 5697 阅读 · 1 评论 -
Mac外接键盘修饰键设置 Ctrl 和 Command 替换
替换前替换后原创 2020-10-08 22:28:09 · 4012 阅读 · 0 评论 -
warning: GOPATH set to GOROOT (/usr/local/go) has no effect
这个有两种原因1、环境变量已经配置好 但是配置文件没有生效Bash # source ~/.bash_profileZsh# source ~/.zshrc2、环境变量没有配置好#Goexport GOROOT=/usr/local/go // 程序安装的位置export GOPATH=~/Downloads/GoCode // 项目位置export PATH=$PATH:$M3_HOME/bin:$GOROOT/bin:$GOPATH //总的路径3、查看环境变原创 2020-10-06 21:26:16 · 54452 阅读 · 0 评论 -
Go 运行 程序 test.go:1:1: expected ‘package‘, found ‘EOF‘
因为自己没有在VSCode 中保存保存再次运行即可原创 2020-10-06 21:19:04 · 4238 阅读 · 3 评论 -
Cannot load settings from file ‘/Users/flame/Git/gullmall/renren-generator/renren-generator.iml‘: Fi
项目启动失败错误不能加载 文件Cannot load settings from file ‘/Users/flame/Git/gullmall/renren-generator/renren-generator.iml’: File /Users/flame/Git/gulimall/renren-generator/renren-generator.iml does not exist Please correct the file content我的解决办法删除idea 下面的参考文章参原创 2020-09-24 00:34:44 · 329 阅读 · 0 评论 -
Docker run WARNING: IPv4 forwarding is disabled. Networking will not work.
解决方法# vi /etc/sysctl.conf#内容后面添加这段代码net.ipv4.ip_forward=1 #重启network服务# systemctl restart network && systemctl restart docker# docker stop nginx# docker rm nginx# docker run nginx....原创 2020-09-08 00:17:41 · 96 阅读 · 0 评论 -
Loaded plugins: fastestmirror File contains no section headers. file: file:///etc/yum.repos.d/CentOS
错误Loaded plugins: fastestmirrorFile contains no section headers.file: file:///etc/yum.repos.d/CentOS-Base.repo, line: 1'<html>\r\n'解决方法删除原文件重新下载删除原有的文件 # rm -f /etc/yum.repos.d/CentOS-Base.repo 重新下载,# wget -O /etc/yum.repos.d/CentOS-Ba原创 2020-09-07 21:58:05 · 6000 阅读 · 1 评论 -
yum Failed to set locale, defaulting to C Loaded plugins: fastestmirror
问题是由于系统没有正确设置locale环境,echo "export LC_ALL=en_US.UTF-8" >> ~/.bashrcsource ~/.bashrc参考文章https://blog.youkuaiyun.com/ice_actor/article/details/85129057原创 2020-09-07 21:56:01 · 2225 阅读 · 3 评论