ScpCfHttpDestination 在 cloudplatform-connectivity-3.3 中不可用。1.jar

ScpCfHttpDestination not available in cloudplatform-connectivity-3.3.1.jar

我正在尝试使用 cloudplatform-connectivity-3.3 中的 ScpCfHttpDestination。1.jar,但它似乎在 3.0.0 到 3.3.1 的版本中不可用。我错过了什么吗?

您可以在依赖项中找到 class:

    <dependency>
        <groupId>com.sap.cloud.sdk.cloudplatform</groupId>
        <artifactId>cloudplatform-connectivity-scp-cf</artifactId>
    </dependency>

或者在(更通用、可传递的)依赖性内更好:

    <dependency>
        <groupId>com.sap.cloud.sdk.cloudplatform</groupId>
        <artifactId>scp-cf</artifactId>
    </dependency>

我还建议从原型创建一个新的(临时)项目以确定哪些依赖项最适合您。