idea下载数据库驱动太慢
将下载地址替换成阿里maven仓库地址
首先找到配置文件路径
windows版idea:
C:\Users${user}\AppData\Roaming\JetBrains\IntelliJIdea${idea.version}\jdbc-drivers\jdbc-drivers.xml
linux版idea
/home/ u s e r / . c o n f i g / J e t B r a i n s / I n t e l l i J I d e a {user}/.config/JetBrains/IntelliJIdea user/.config/JetBrains/IntelliJIdea{idea.version}/jdbc-drivers/jdbc-drivers.xml
标题更改此文件的对应内容
改之前的,用的中央仓库
<artifact name="Apache Phoenix Client">
<version version="4.15">
<item type="maven" url="org.apache.phoenix:phoenix-client:4.15.0-HBase-1.5"/>
<item type="license" url="https://download.jetbrains.com/idea/jdbc-drivers/Phoenix/LICENSE.txt"/>
</version>
</artifact>
改之后的,将重要窗口地址替换成阿里maven仓库地址
<artifact name="Apache Phoenix Client">
<version version="4.15">
<item url="https://maven.aliyun.com/repository/public/org/apache/phoenix/phoenix-client/4.15.0-HBase-1.5/phoenix-client-4.15.0-HBase-1.5.jar"/>
</version> </artifact>
再重启idea即可
更多推荐
所有评论(0)