Comments (7)
@mdvorak Thanks for reporting this - would you be interested in submitting a PR?
from java-spring-cloud.
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.
Will get back to it, be patient, thanks
from java-spring-cloud.
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.
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.
@mdvorak do you have any update? Maybe dependency tree of your project could help us to solve this.
from java-spring-cloud.
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)
- Application Context fails to start due to dependency on org.springframework:spring-web
- spring-ws
- Application won't start with opentracing.spring.cloud.reactor.enabled=true HOT 1
- NoClassDefFoundError: org/springframework/cloud/openfeign/ribbon/LoadBalancerFeignClient when using spring-cloud-dependencies:2020.0.0 HOT 15
- DefaultAsyncAutoConfiguration override a implicit AsyncTaskExecutor
- Could not report to Jaeger when using spring cloud apigw
- Trace Span logs not appended to the loggers HOT 2
- What's the plan for supporting Spring Cloud 2020 HOT 1
- Spring boot messaging Failed to serialize object caused by jaeger HOT 1
- Does this support Honeycomb open tracing?
- Release of version 0.6.0 to maven central HOT 5
- TraceRequestHttpHeadersFilter Overrides headers
- not support ConcurrentTaskScheduler?
- Using OT side-by-side with NewRelic
- Update jaeger-client dependency due to CVE-2020-13949 HOT 4
- java.lang.NoSuchMethodError: 'io.opentracing.Scope io.opentracing.Tracer$SpanBuilder.startActive(boolean) HOT 1
- ignoreStatements not working for opentracing-spring-cloud-mongo-starter
- `opentracing-spring-cloud-redis-starter` RedisClusterConnection wrapped in TracingRedisConnection
- Dependency to opentracing-spring-jaeger-cloud-starter removes "http_server_requests_seconds_count" metric since SpringBoot 2.7.0
- `uber-trace-id` from incoming request overwrites client span in spring cloud gateway tracing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-spring-cloud.