【问题标题】:Teradata tdgssconfig.jar and terajdbc4.jar, Transfer failed 500 Internal Server ErrorTeradata tdgssconfig.jar 和 terajdbc4.jar,传输失败 500 内部服务器错误
【发布时间】:2021-11-29 08:40:51
【问题描述】:

请提关于 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 获取这些 jar 的可能解决方法是什么?

谢谢

【问题讨论】:

  • 与您的问题没有直接关系,但请注意,从 16.20.00.11 开始,您只需要 terajdbc4.jar - 尽管在 17.00 之前仍提供“虚拟” tdgssconfig.jar 文件。
  • 学到了新东西,谢谢!

标签: java maven teradata


【解决方案1】:

500 问题意味着您尝试访问的网站通常有问题。如果您无法从 Web 浏览器访问 https://www.ebi.ac.uk/intact/maven/nexus/content/repositories/public/,则与该存储库无关。

【讨论】:

  • Teradata 官方指示开发人员使用 downloads.teradata.com 站点(或客户的 support.teradata.com 门户)下载驱动程序并安装到本地存储库。许可协议不允许上传到公共存储库。
猜你喜欢
  • 2018-01-02
  • 2013-11-01
  • 2012-10-11
  • 1970-01-01
  • 1970-01-01
  • 2013-09-02
  • 1970-01-01
  • 2012-01-11
  • 2019-06-26
相关资源
最近更新 更多