Springfox与SpringDoc——swagger如何选择(SpringDoc入门)
本文分享自天翼云开发者社区@《》,作者:才开始学技术的小白0.引言之前写过一篇关于swagger(实际上是springfox)的使用指南(https://www.ctyun.cn/developer/article/371704742199365),涵盖了
Wesley13 Wesley13
4年前
Java操作ElasticSearch(基础篇)
1.前言   看本文前需要先对ElasticSearch有一定了解(比如什么是index什么是type)   本人推荐直接使用ElasticSearchJavaAPI来操作..本人最开始是用springbootspringdataelasticsearchstarter来作为orm的..操作是方便了很多.支持类spr
Easter79 Easter79
4年前
SpringCloud consul 微服务(注册到主机名的问题)
目前项目在使用consul做服务注册与发现,做SpringSecurityOAuth2权限认证的authorization\_code模式的时候发现一个异常坑爹的问题这是开始的服务注册代码块bootstrap.yml:spring:cloud:consul:port:8500
Stella981 Stella981
4年前
Android Studio 3.0 下 Cordova 打包时 Gradle 兼容性问题解决
升级到AndroidStudio3.0,Gradle升级为4.3.1版本,使用cordovabuildandroid出错.解决方案:windows系统以下命令行在MINGW的bash窗口中执行1.下载文件https://downloads.gradle.org/distributions/gradle4.3.1
Stella981 Stella981
4年前
Nginx与uWSGI交互
1\.更改uwsgi的配置文件uwsgi.iniuwsgi...使用nginx连接时,监控地址socket127.0.0.1:8080直接做web服务器时,所监控地址http127.0.0.1:80802\.在nginx配置文件中的路由模块添加uwsgi支持.
Wesley13 Wesley13
4年前
dubbo
作者|铁城  dubbogo社区committer本文将手把手教你使用dubbogo调用dubbogo或dubbo提供的服务提供方。前言本文基于dubbogo1.5.4版本(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F
Stella981 Stella981
4年前
Beyond Compare 命令行生成目录下所有文件比对的Html网页report
MAC环境下,使用BeyondCompare命令行生成两个文件夹差异的html,按目录递归生成。1.创建compare2.创建compare/old3.compare/new4.shtree.sh~/Desktop/compare5.生成~/Desktop/report
Wesley13 Wesley13
4年前
VirtualBox虚拟机读取U盘
1概述使用VirtualBox虚拟机(系统Win10)读取宿主机(系统Manjaro)中的U盘。2安装扩展戳这里(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fdownload.virtualbox.org%2Fvirtualbox%
Easter79 Easter79
4年前
SpringMVC与页面之间的参数传递&高级参数的绑定&日期类型的转换
参数传递:1原生方式:使用Servlet API , request.getParameter("id");!(https://oscimg.oschina.net/oscnet/277c3b8485caa502ae1ce314c1cf6c1ccf5.bmp)2直接将请求参数作为Controll
Stella981 Stella981
4年前
CentOS7 安装 httpd 服务
安装httpd服务输入下面命令安装httpd服务,注意要使用带有root权限的用户,我是从普通用户切回超级用户root再开始执行命令的:yumyinstallhttpd报错:Cannotfindavalidbaseurlforrepo:base/7/x86\_6上网查找问题,