当前位置:网站首页>idea使用
idea使用
2022-06-29 06:37:00 【inspire121】




注意,我把这两个mysql分别放置在两个centos虚拟机里面,这样可以省略很多麻烦。
在用Maven做项目时有一个很头疼的问题,就是在给项目导入jar包时需在pom.xml文件中进行jar包的配置,如果jar包很多的话在pom.xml中添加配置真的非常繁琐麻烦,经过几次探索我终于找到了一个好方法
打开网络上的远程Maven仓库,网址:http://mvnrepository.com/,这个网站是这个样子的
红线中是搜索框,用来搜索目标jar包,比如,我想在Maven项目中导入common-io包,我就搜索common-io
选一个最新版的,点进就有pom.xml文件的配置,复制粘贴即可
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.21</version>
</dependency>
<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.38</version>
</dependency>
边栏推荐
- Fault: display Storport driver out of date in component health
- Why are keys unordered in golang map
- Games101 Lecture 10 geometry 1 Notes
- 力扣每日一题-第30天-1281.整数的各位积和之差
- Servlet version conflict causes page 404
- What is the "danksharding" of V God Kop on Valentine's day?
- IDEA常用插件
- Yyds dry goods inventory meituan's two-sided experience, and finally there was a surprise?
- Rich material libraries make modeling easy and efficient for developers
- MySQL add / delete / modify query SQL statement exercise yyds dry goods inventory
猜你喜欢

2022.02.14 - 239. A single element in an ordered array

Pointer from beginner to advanced (2)

Maximum ascending subarray sum of leetcode simple problem

Installing modules in pycharm

MySQL add / delete / modify query SQL statement exercise yyds dry goods inventory

Labor skills courses integrated into steam Education

分享 10 个 JS Promise 相关的面试题

关于 localStorage 的一些高阶用法

二叉树的迭代法前序遍历的两种方法

Clickhouse data type
随机推荐
Why should enterprises do more application activities?
How to change the password after forgetting the MySQL password (the latest version of 2022 detailed tutorial nanny level)
Benign competition will promote each other
flutter配置国内镜像,连接真机
json tobean
Json对象和Json字符串的区别
Client and server working modes of JVM
Part 63 - interpreter and compiler adaptation (II)
[MySQL technology topic] technical analysis and guide for analyzing the high availability architecture of MySQL
Principle of screen printing adjustment of EDA (cadence and AD) software
Leetcode simple problem building arrays with stack operation
关于DDNS
Vite快速上手
[C language] flexible array
package.json的所有配置项及其用法,你都熟悉么
What should I learn before learning programming?
Sum of digits under k-ary representation of leetcode simple problem
I would like to ask what securities dealers recommend? Is it safe to open an account online?
力扣每日一题-第30天-594.最长和谐子序列
JDBC连接数据库,socket发送客户端。