摘要:CORS是一个W3C标准,全称是"跨域资源共享"(Cross-origin resource sharing) CORS需要浏览器和服务器同时支持。目前,所有浏览器都支持该功能,IE浏览器不能低于IE10。 浏览器端:目前,所有浏览器都支持该功能(IE10以下不行)。整个CORS通信过程,都是浏览器
阅读全文
摘要:项目结构: 1、导入依赖 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.5.1</version> <relati
阅读全文
摘要:1、引入依赖 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.5.1</version> <relativePath
阅读全文
摘要:1、导入依赖 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.5.1</version> <relativePath
阅读全文
摘要:PageHelper是国内非常优秀的一款开源的mybatis分页插件,它支持基本主流与常用的数据库,例如mysql、 oracle、mariaDB、DB2、SQLite、Hsqldb等。 1、下载了解 在 github 的项目地址:https://github.com/pagehelper/Myba
阅读全文
摘要:1、在maven > conf的settings.xml配置文件中的servers添加登录私服第三方登录信息 <server> <id>thirdparty</id> <username>admin</username> <!--nexus登陆账号 --> <password>admin123</p
阅读全文
摘要:安装第三方jar包到本地仓库 1、准备架包 进入jar包所在目录运行 mvn install:install-file -DgroupId=com.alibaba -DartifactId=fastjson -Dversion=1.1.37 -Dfile=fastjson-1.1.37.jar -D
阅读全文
摘要:提示:在操作本案列之前需要安装maven+nexus! 1、下载 第一步: 配置maven > conf > settings.xml 文件 在文件servers标签里添加代码: <server> <id>releases</id> <username>admin</username> <passw
阅读全文
摘要:首先从 http://nexus.sonatype.rog/downloads 下载最新版的Nexus 1、个人云盘下载: 链接:https://pan.baidu.com/s/14XpQhCKWQxUUeY9q2yHaHg 提取码:tjwk 2、将文件nexus-2.12.0-01-bundle.
阅读全文
摘要:创建maven web工程 在pom.xml中导入依赖: <dependencies> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.5</version>
阅读全文
摘要:maven配置了-DarchetypeCatalog=internal表示在没有网络情况下,也可以使用历史用过的maven骨架 操作步骤:idae 点击 File | Settings | Build, Execution, Deployment | Build Tools | Maven | Ru
阅读全文
摘要:1、数据类型 数据类型 参数 描述 char(n) n=1 to 2000字节 定长字符串,n字节长,如果不指定长度,缺省为1个字节长(一个汉字为2字节) varchar2(n) n=1 to 4000字节 可变长的字符串,具体定义时指明最大长度n,这种数据类型可以放数字、字母以及ASCII码字符集
阅读全文
摘要:1.Oracle的核心知识 Oracle的核心知识在于SQL语句上,各个数据也许命令不同,但是现在对于SQL语句的使用都是一样的 2.什么是Oracle: 1.Oracle是现在全世界最大的数据库提供商,程序语言的提供商,应用软件提供商,它的地位同等于微软的地位 2.Oracle在古希腊神话之中被称
阅读全文
摘要:这里以oracle为例 1、准备架包 ojdbc8-12.2.0.1.jar 2、导入指令 mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc8 -Dversion=12.2.0.1 -Dpackaging=jar -Df
阅读全文
摘要:1、下载资料 instantclient-basic-windows.x64-11.2.0.4.0.zip plsqldev1202x64.msi 链接:https://pan.baidu.com/s/1WQJY1EgnXQGUcMugeQ1tbA 提取码:78ha 2. 安装 输入plsql永久注
阅读全文
摘要:安装插件准备环境 1、安装gcc gcc是linux下的编译器在此不多做解释,感兴趣的小伙伴可以去查一下相关资料,它可以编译 C,C++,Ada,Object C和Java等语言 命令:查看gcc版本 gcc -v 一般阿里云的centOS7里面是都有的,没有安装的话会提示命令找不到, 安装命令:
阅读全文
摘要:1、查看NAT模式网络信息 确认GATEWAY,DNS1一样,填写你所在的网络可用的dns服务器地址即可 2、进入/etc/sysconfig/network-scripts目录,查看ifcfg-ens33文件是否存在 cd /etc/sysconfig/network-scripts 3、编辑if
阅读全文
摘要:设置开启启动 编辑设置启动文件 vim /etc/rc.local vim /etc/rc.d/rc.local 比如设置tomcat开机启动: 指令:vim /etc/rc.local 在文件内添加tomcat启动路径 授予执行权 chmod +x /etc/rc.localchmod +x /e
阅读全文
摘要:本笔记是centos6 + tomcat8的安装流程,务必按照流程安装!! 注意:安装tomcat前,确保jdk已经正确安装完毕! 1、 下载tomcat8 地址:https://tomcat.apache.org/download-80.cgi 2、将 apache-tomcat-8.5.66.t
阅读全文
摘要:yum更新报错:YumRepo Error: All mirror URLs are not using ftp, http[s] or file. 1、检查网络是否接通 ping www.baidu.com,如果没有ping成功请先检查网络问题 2、检查 /etc/yum.repos.d/Cent
阅读全文
摘要:MySQL5.7.35安装-Centos6 RPM安装 1. 下载MySQL :https://dev.mysql.com/downloads/mysql/5.7.html 下载后文件为: mysql-5.7.34-1.el6.i686.rpm-bundle.tar 2、卸载系统默认MySQL 查看
阅读全文