springboot+mybatis+oracle整合


https://blog.csdn.net/wangtong01/article/details/86680467

springboot+mybatis+oracle整合
一. 前期准备
1. 开发环境
JDK1.8
开发集成环境 Spring Tool Suite 简称STS,下载地址
apache-maven-3.6.0
2. 相关配置
2.1 maven相关配置
2.1.1 仓库配置 

打开apache-maven-3.6.0–>conf–>settings.xml文件
主要配置两点:本地仓库;在线镜像地址(如果不修改,默认连接境外地址,下载速度较慢。经测试连接阿里云仓库速度较快)。配置如下。

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">


E:/program/repository



alimaven
aliyun maven
  http://maven.aliyun.com/nexus/content/groups/public/
central

  

相关