logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Spring Boot i18n国际化 MessageSource

转:https://www.jianshu.com/p/a354d3f849ecSpring 中对国际化文件支持的基础接口是MessageSource。一、SpringBoot中使用MessageSource国际化1. SpringBoot自动化配置国际化支持Spring Boot已经对i18n国际化做了自动配置,自动配置类为:org.springframework.boot.autoconfig

docker安装gitea

一、直接拉取镜像启动容器1、拉取镜像docker pull gitea/gitea2、启动gitea容器# 10022映射容器内22端口# 13000映射容器内3000端口# /usr/local/gitea挂载容器内/data目录# --privileged=true 使container内的root拥有真正的root权限# --restart=always 自动重启容器docker run -

#docker#git#gitea
Idea git local changes were not restore

转:https://blog.csdn.net/wgy1160754366/article/details/69547491https://www.oschina.net/question/948439_2231748https://www.jianshu.com/p/dbcf28202d15?from=timelinehttps://www.jetbrains.com/help/idea/201

SpringCloud bootstrap.yml和application.yml 不同环境下的配置

在 Spring Boot 中有两种上下文,一种是 bootstrap,另外一种是 application。bootstrap 是系统级的资源配置项,application是用户级的资源配置项。boostrap 由父 ApplicationContext 加载,比 applicaton 优先加载。bootStrap 具有更高优先级,它不会被本地配置覆盖。bootstrap 主要用于负责从外部源加载

#spring#bootstrap
RestTemplate 超时值

使用Spring的RestTemplate时,默认的超时值是无限的。默认情况下,RestTemplate使用SimpleClientHttpRequestFactory,然后使用HttpURLConnection。默认情况下为HttpURLConnection的超时时间为0 - 即无限的,除非它已经被设置这些属性:-Dsun.net.client.defaultConnectTimeout=Tim

#spring#java
CentOS el6 el7 el8

在centos安装gitlab,看到gitlab的安装包,有区分el6、el7、el8EL是Red HatEnterpriseLinux(EL)的缩写。el6 是Red Hat 6.x、CentOS 6.x 的下载el7 是Red Hat 7.x、CentOS 7.x 的下载el8 是Red Hat 8.x、CentOS 8.x 的下载...

Idea git local changes were not restore

转:https://blog.csdn.net/wgy1160754366/article/details/69547491https://www.oschina.net/question/948439_2231748https://www.jianshu.com/p/dbcf28202d15?from=timelinehttps://www.jetbrains.com/help/idea/201

android 模拟器无法访问网络

E/netmgr: Failed to open QEMU pipe 'qemud:network': Invalid argumentE/netmgr: WifiForwarder unable to open QEMU pipe: Invalid argumentE/memtrack: Couldn't load memtrack moduleThis issue was occurring

jenkins服务器出现Please wait while Jenkins is getting ready to work ...一直进不去

进入jenkins的工作目录打开 ----- hudson.model.UpdateCenter.xml将 url 中的https://updates.jenkins.io/update-center.json更改为 https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json 是国内的清华大学的镜像地址。或者更改为

js export default

es6中的export和export default:在提及export的时候一定少不了的是import的参与。但是,需要知道的是export命令和import命令,都属于es6中的module体系。、在使用export default的时候,就相当于export一个默认输出,这个时候使用import引入的时候自然也不需要知道export的函数名,因为是default。在这种情况下,import后

暂无文章信息