logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

JAVA阿里云OSS文件上传

阿里云官方文档:https://help.aliyun.com/document_detail/84781.htm?spm=a2c4g.11186623.2.12.36fa14a0wZl0rR#concept-84781-zhOSS 工具类/*** @author: wang.xf* @description:oss 上传工具类* @create: 2021/4/1 9:35*/@Componen

#阿里云
docker 启功spring boot 报错could not create Vfs.Dir from url, no matching UrlType was found

org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/libatk-wrapper.so]either use fromURL(final UR

#spring
集成SpringSecurity,访问接口报401 unauthorization无权限

集成了spring Security的时候启动项目,如果没有设置默认的账号密码,系统会自动给你生成一个密码,默认用户为user在postman中访问的时候只需要设置这样就可以简单的访问接口并正确返回。因为你没有设置密码,这样每次重启会给你一个随机新的密码,这样很不方便,那么我们可以在配置文件中定义固定的账号密码当然也可以直接在java文件中定义账号密码,首先需要我们...

BigDecimail 转为负数

BigDecimail 转负数negate()new BigDecimail().negate()返回负数源码:/*** Returns a {@code BigDecimal} whose value is {@code (-this)},* and whose scale is {@code this.scale()}.*...

The operation was rejected by your operating system Module build failed: Error: ENOENT: no such file

问题一:npm ERR! The operation was rejected by your operating system.npm ERR! It's possible that the file was already in use (by a text editor or antivirus),npm ERR! or that you lack permissions to acce..

#npm#vscode
VScode代码格式自动修正,自动排版

下载插件ESLint文件->首选项->设置复制粘贴进去:{// vscode默认启用了根据文件类型自动设置tabsize的选项"editor.detectIndentation": false,// 重新设定tabsize"editor.tabSize": 2,// #每次保存的时候自动格式化"edit...

#vscode
服务器创建虚拟机并开启ssh服务和修改ip

我是通过VMware Workstation Pro 连接的公司服务器,然后开始创建虚拟机然后就创建了一个Ubuntu系统的虚拟机首先,查看是否有网络,开始安装ssh服务,这样就可以连接xshell远程操作安装openssh-server。直接输入命令:sudo apt-get install openssh-server输入y确认下载,并等待安装完成...

Mysql如何开启大小写敏感

lower_case_table_names = 2这条语句插入到mysql的配置文件my.ini如何到到文件呢方法:可以运行sql语句show variables like "%char%";找不到的话,在C:\promgranData中(文件夹是隐藏的)C:\ProgramData\MySQL\MySQL Server 5.7Linux下MySQL的配置文件是my.cnf,

#mysql
使用命令添加window和Linux端口规则和ip规则iptables ,netsh advfirewall firewall

windows添加端口规则(入站规则):单个端口:netsh advfirewall firewall add rule name ="1111111111111" dir=in localport=8888 protocol=tcp action=allownetsh advfirewall firewall add rule name=1111111111111 dir=in ...

查看docker 容器日志大小

找到docker 的目录进入containersdu -sh *

#docker#linux
    共 26 条
  • 1
  • 2
  • 3
  • 请选择