請詢問有關 Teradata 驅動程式的小問題。
Teradata 驅動程式在 Maven 中可用,鏈接在這里:
https://mvnrepository.com/artifact/com.teradata.jdbc.com.teradata.jdbc/terajdbc4/16.20.00.12
https://mvnrepository.com/artifact/com.teradata.jdbc/tdgssconfig/16.0.0.28
并且 maven 明確指出存盤庫:
Note: this artifact is located at EBIPublic repository (https://www.ebi.ac.uk/intact/maven/nexus/content/repositories/public/)
因此,在我的 Maven POM 中,我正在嘗試這個:
<dependencies>
<dependency>
<groupId>com.teradata.jdbc</groupId>
<artifactId>tdgssconfig</artifactId>
<version>16.0.0.28</version>
</dependency>
<dependency>
<groupId>com.teradata.jdbc.com.teradata.jdbc</groupId>
<artifactId>terajdbc4</artifactId>
<version>16.20.00.12</version>
</dependency>
<repositories>
<repository>
<id>teradata</id>
<name>teradata Snapshots</name>
<url>https://www.ebi.ac.uk/intact/maven/nexus/content/repositories/public/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>teradata</id>
<name>teradata Snapshots</name>
<url>https://www.ebi.ac.uk/intact/maven/nexus/content/repositories/public/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
但是,在下載依賴項時:
Could not transfer artifact com.teradata.jdbc:tdgssconfig:pom:16.0.0.28 from/to teradata (https://www.ebi.ac.uk/intact/maven/nexus/content/repositories/public/): Transfer failed for https://www.ebi.ac.uk/intact/maven/nexus/content/repositories/public/com/teradata/jdbc/tdgssconfig/16.0.0.28/tdgssconfig-16.0.0.28.pom 500 Internal Server Error
我很清楚罐子可以在這里下載,例如:https : //downloads.teradata.com/download/connectivity/jdbc-driver
但我想知道是什么問題,從 Maven 獲取這些 jars 的可能解決方法是什么?
謝謝
uj5u.com熱心網友回復:
500 問題意味著您嘗試訪問的網站通常有問題。如果您無法從 Web 瀏覽器訪問https://www.ebi.ac.uk/intact/maven/nexus/content/repositories/public/,則該存盤庫沒有任何關系。
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/321404.html
上一篇:部署Web應用程式時出現oracle-maven-sync插件(v14.1.1)錯誤:未找到“部署”目標
下一篇:ImageView導致來自Spotbugs的UI_INHERITANCE_UNSAFE_GETRESOURCE錯誤
