自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 Warning Using a password

描述[root@iZ2ze4vu541eoc2qjceilkZ ~]# redis-cli -h xxx -p xxx -a xxxWarning: Using a password with '-a' or '-u' option on the command line interface may not be safe.原因警告在命令中密码以明文写出来解决直接使用命令登录,屏蔽错误信息由于告警信息是标准错误,我们可以将标准错误的输出信息输出为空[root@iZ2ze4vu541eoc2

2022-04-11 10:20:33 2426

原创 GitHub Copilot使用教程

申请官网https://copilot.github.com/[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-XF9LTkXz-1649475544975)(img/1649126628411.png)][外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-0kOJqRVM-1649475544976)(img/1649126670911.png)]申请成功[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-FWOW

2022-04-09 11:40:35 2261

原创 active服务端属性

thingsboard.ymlstate: # Should be greater then transport.sessions.report_timeout #不活动超时时间 defaultInactivityTimeoutInSec: "${DEFAULT_INACTIVITY_TIMEOUT:120}" #检查间隔 defaultStateCheckIntervalInSec: "${DEFAULT_STATE_CHECK_INTERVAL:30}" #是否发送到遥测数据

2022-03-29 16:02:00 238

原创 isEmpty和isBlank

jar包 <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.7</version> </dependency>测试public class Main {

2022-03-21 11:52:37 121

原创 Linux后台运行Jar方法

在linux服务器上运行jar包java -jar test.jar后台运行nohup java -jar test.jar &加打印日志nohup java -jar test.jar > temp.txt &

2022-03-21 09:55:45 1842

原创 SpringSecurity跨域

SpringSecurityConfighttp.cors()用and()连接后边import org.springframework.context.annotation.Configuration;import org.springframework.web.servlet.config.annotation.CorsRegistry;import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;..

2022-03-21 09:54:06 46

原创 A component required a bean named ‘entityManagerFactory‘ that could not be found.

问题Description:A component required a bean named 'entityManagerFactory' that could not be found.Action:Consider defining a bean named 'entityManagerFactory' in your configuration.解决org\hibernate\hibernate-core删除hibernate-core文件夹...

2022-03-11 14:22:17 1081 2

原创 Spring Data Jpa 自动生成表结构

Spring Data Jpa 自动生成表结构#自动生成表结构spring.jpa.hibernate.ddl-auto=update

2022-03-05 14:01:07 570

原创 Caused by java.lang.RuntimeException java.lang.NoClassDefFoundError

Caused by java.lang.RuntimeException java.lang.NoClassDefFoundError javax原因原项目在jdk1.8下运行的,现在的环境是jdk11解决jdk换成jdk1.8

2022-03-04 09:46:12 1713

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除