Giter Club home page Giter Club logo

Comments (7)

objectiser avatar objectiser commented on June 15, 2024

@mdvorak Thanks for reporting this - would you be interested in submitting a PR?

from java-spring-cloud.

pavolloffay avatar pavolloffay commented on June 15, 2024

This is the second issue associated with this auto-config. Issue #74 and fix #75. @objectiser could you please look at it?

@mdvorak what is your classpath for me this artifact works if websocket is not present. A reproducer would be handy.

from java-spring-cloud.

mdvorak avatar mdvorak commented on June 15, 2024

Will get back to it, be patient, thanks

from java-spring-cloud.

objectiser avatar objectiser commented on June 15, 2024

Looking at the dependencies in the cloud-starter with the two profiles:

[gbrown@localhost opentracing-spring-cloud-starter]$ mvn -Palldeps dependency:tree | grep websocket
[INFO] |  |  \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:8.5.23:test
[INFO] \- org.springframework.boot:spring-boot-starter-websocket:jar:1.5.8.RELEASE:test
[INFO]    \- org.springframework:spring-websocket:jar:4.3.12.RELEASE:test
[gbrown@localhost opentracing-spring-cloud-starter]$ mvn -Pnodeps dependency:tree | grep websocket
[INFO]    |  \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:8.5.23:test

I would have expected this issue to have occurred in the nodeps profile?

from java-spring-cloud.

objectiser avatar objectiser commented on June 15, 2024

Some work is required to support spring-boot 2 (see #111), but was able to run the cloud-starter tests against SB 2 and still didn't show up the issue.

Ran the following from the opentracing-spring-cloud-starter module:

mvn clean test -Dversion.org.springframework.boot=2.0.0.RELEASE -Pnodeps

from java-spring-cloud.

pavolloffay avatar pavolloffay commented on June 15, 2024

@mdvorak do you have any update? Maybe dependency tree of your project could help us to solve this.

from java-spring-cloud.

mdvorak avatar mdvorak commented on June 15, 2024

Problematic case is when you have only these three dependencies (tested with 1.5.11.RELEASE):

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-messaging</artifactId>
</dependency>
<dependency>
    <groupId>io.opentracing.contrib</groupId>
    <artifactId>opentracing-spring-cloud-starter</artifactId>
    <version>0.1.7</version>
</dependency>

and nothing else. #112 fixes this. Thanks @objectiser for the PR.

PS: Sorry for long response, I had another work engagement.

from java-spring-cloud.

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.