Spring Cloud Config:外部集中化配置管理 摘要 Spring Cloud Config 可以为微服务架构中的应用提供集中化的外部配置支持,它分为服务端和客户端两个部分 。 Spring Cloud Config 简介 Spring Cloud Config 分为服务端和客户端两个部 ...
分类:
编程语言 时间:
2021-02-16 12:08:08
阅读次数:
0
一、跨域问题 当通过一个地址去访问另一个地址的过程中,有三个地方的任何一个不一样就会存在跨域问题,前后端交互的项目经常遇到跨域问题。 协议 ip地址 端口号 本项目前端: http://localhost:9528/ ? 后端: http://localhost:8989/ 端口号不一致存在跨域问题 ...
分类:
其他好文 时间:
2021-02-15 12:12:12
阅读次数:
0
spring.datasource.url=jdbc:oracle:thin:@localhost:1521:orclspring.datasource.username=zhouriyuespring.datasource.password=13768184197spring.datasource ...
分类:
数据库 时间:
2021-02-15 11:56:11
阅读次数:
0
SpringMVC的执行流程 简要分析执行流程 DispatcherServlet表示前端控制器,是整个SpringMVC的控制中心。用户发出请求,DispatcherServlet接收请求并拦截请求。 我们假设请求的url为 : http://localhost:8080/SpringMVC/he ...
分类:
编程语言 时间:
2021-02-09 12:30:34
阅读次数:
0
Eclipse启动server报错Failed to start component [NonLoginAuthenticator[StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]] 1、查看对应JRE,这里使用的 ...
分类:
系统相关 时间:
2021-02-08 12:33:20
阅读次数:
0
下载war包 http://mirrors.jenkins.io/war-stable/latest/ 上传到服务器 开启服务 [root@localhost jenkins]# java -jar jenkins.war Running from: /opt/jenkins/jenkins.war ...
分类:
其他好文 时间:
2021-02-08 12:28:14
阅读次数:
0
官方参考文档 https://docs.docker.com/engine/install/centos/ 1、安装 [root@localhost opt]# yum install -y yum-utils device-mapper-persistent-data lvm2[root@loca ...
分类:
其他好文 时间:
2021-02-08 12:24:35
阅读次数:
0
1 底层原理不一样: 1 browserRouter使用的是H5的history API,不兼容IE9以下的版本。(H5新增的) 2 HashRouter使用的是URL的哈希值。(锚点,会发送历史记录) 2 url表现形式不宜用: 1 BrowserRouter 的路径中没有#,localhost: ...
分类:
其他好文 时间:
2021-02-04 12:13:30
阅读次数:
0
1.安装debugger for chrome插件 2.正常启动项目, 如项目访问地址为localhost:9000 3.点击左侧的几个按钮中的 RUN 4.在左侧窗体中选择创建launch.json文件, 就会自动在项目根目录下.vscode文件夹中创建一个json文件,修改其中的url为你的项目 ...
分类:
其他好文 时间:
2021-02-03 10:50:01
阅读次数:
0
createWebHistory路由模式路径不带#号(生产环境下不能直接访问项目,需要nginx转发) http://localhost:8080/#/ const router = createRouter({ history: createWebHistory(), routes }); cre ...
分类:
其他好文 时间:
2021-02-02 11:14:24
阅读次数:
0