Skip to content

OpenTelemetry Agent Extension: Outdated Version of io.pivotal.cfenv #205

@Felix-Griesau-SAP

Description

@Felix-Griesau-SAP

Version 2.5.0 is quite old already. After upgrading to a higher version in our own code, we receive an error due to the conflicting versions:

***************************
APPLICATION FAILED TO START
***************************

Description:

An attempt was made to call a method that does not exist. The attempt was made from the following location:

    io.pivotal.cfenv.jdbc.MySqlJdbcUrlCreator.isDatabaseService(MySqlJdbcUrlCreator.java:42)

The following method did not exist:

    'boolean io.pivotal.cfenv.core.CfService.existsByLabelStartsWith(java.lang.String[])'

The calling method's class, io.pivotal.cfenv.jdbc.MySqlJdbcUrlCreator, was loaded from the following location:

    jar:file:/home/vcap/app/BOOT-INF/lib/java-cfenv-jdbc-3.4.0.jar!/io/pivotal/cfenv/jdbc/MySqlJdbcUrlCreator.class

The called method's class, io.pivotal.cfenv.core.CfService, is available from the following locations:

    jar:file:/home/vcap/app/BOOT-INF/lib/cf-java-logging-support-opentelemetry-agent-extension-3.8.4.jar!/io/pivotal/cfenv/core/CfService.class
    jar:file:/home/vcap/app/BOOT-INF/lib/java-cfenv-3.4.0.jar!/io/pivotal/cfenv/core/CfService.class

The called method's class hierarchy was loaded from the following locations:

    io.pivotal.cfenv.core.CfService: file:/home/vcap/app/BOOT-INF/lib/cf-java-logging-support-opentelemetry-agent-extension-3.8.4.jar


Action:

Correct the classpath of your application so that it contains compatible versions of the classes io.pivotal.cfenv.jdbc.MySqlJdbcUrlCreator and io

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions