GithubHelp home page GithubHelp logo

Comments (7)

iocanel avatar iocanel commented on July 19, 2024

@liborfuka: With the provided input I am unable to reproduce the issue.

More specifically I used the spring-boot-on-kubernetes-example and added the dekorate and spring boms:

  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>io.dekorate</groupId>
        <artifactId>dekorate-bom</artifactId>
        <version>3.6.1</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-dependencies</artifactId>
        <version>3.1.4</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>

from dekorate.

iocanel avatar iocanel commented on July 19, 2024

The error message itself most probably means that https://github.com/fabric8io/kubernetes-client/blob/main/httpclient-okhttp/pom.xml is not present in your class path.

The dependency should be brought in by io.fabric8:kubernetes-client:6.6.2 which is used by dekorate-core.
Check that a bom is not somehow forcing different version or add the dependency explicitly to your project if it does.

from dekorate.

liborfuka avatar liborfuka commented on July 19, 2024

I have parent BOM which brings org.springframework.cloud.spring-cloud-starter-kubernetes-fabric8 3.0.4 and it brings fabric8.kubernetes-client 6.2.0 but this should be ok.

from dekorate.

liborfuka avatar liborfuka commented on July 19, 2024

I tested the same application with dekorate-spring-bom 2.11.5.redhat-00017 and it does not raise the exception Provider io.fabric8.kubernetes.client.okhttp.OkHttpClientFactory not found.
It raises the exception with dekorate-spring-bom 3.6.1.

from dekorate.

liborfuka avatar liborfuka commented on July 19, 2024

They changed it in kubernetes-client pom: https://github.com/fabric8io/kubernetes-client/blob/v6.6.2/kubernetes-client/pom.xml.

<dependency>
      <groupId>io.fabric8</groupId>
      <artifactId>kubernetes-httpclient-okhttp</artifactId>
      <scope>runtime</scope>
 </dependency>

It is scope runtime now.

from dekorate.

liborfuka avatar liborfuka commented on July 19, 2024

Fixed in 3.7.6

from dekorate.

liborfuka avatar liborfuka commented on July 19, 2024

This issue is back from 4.0.0 tag.

from dekorate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.