Comments (4)
Initially, I used to have a following dependencies defined in pom.xml
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-common</artifactId>
<version>${io.netty.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport</artifactId>
<version>${io.netty.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-handler</artifactId>
<version>${io.netty.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-resolver-dns</artifactId>
<version>${io.netty.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-codec-dns</artifactId>
<version>${io.netty.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-resolver</artifactId>
<version>${io.netty.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-buffer</artifactId>
<version>${io.netty.version}</version>
<scope>runtime</scope>
</dependency>
but replacing it with the following worked.
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>${io.netty.version}</version>
<scope>compile</scope>
</dependency>
I didn't like to import all, so if there is a better solution please let me know.
from lettuce.
Hey @jigneshmpatel ,
Initially, I used to have a following dependencies defined in pom.xml
unfortunately it is very hard to give out a recommendation on this, as it is quite specific on the project and the environment you are using. The initial issue seems to indicate that a required dependency is missing (or with the wrong version), so it is definitely a maven configuration issue. Using the netty-all
package is valid in some situations and could be a problem in others ...
So as I said - quite specific to the project and environment.
I didn't like to import all, so if there is a better solution please let me know.
What is your concern with importing netty this way?
from lettuce.
Hey @jigneshmpatel ,
Initially, I used to have a following dependencies defined in pom.xml
unfortunately it is very hard to give out a recommendation on this, as it is quite specific on the project and the environment you are using. The initial issue seems to indicate that a required dependency is missing (or with the wrong version), so it is definitely a maven configuration issue. Using the
netty-all
package is valid in some situations and could be a problem in others ...So as I said - quite specific to the project and environment.
I didn't like to import all, so if there is a better solution please let me know.
What is your concern with importing netty this way?
It is the same concern as you mentioned previously sometime importing all creates problems. However, it worked for me, so I used netty-alll.
from lettuce.
Let me know if you have an issue with this approach, closing this for now
from lettuce.
Related Issues (20)
- Add support to get remaining TTL
- Flaky tests on the CI pipeline
- Improvements to the Redis connection/codec layer
- Distributed Lock with Lettuce HOT 1
- Cursor based operations not working properly with ReadFrom = ANY
- Connection remains in INACTIVE state for prolonged period of time. HOT 1
- Occasionally seeing NoSuchElementException HOT 1
- Seeing ArrayIndexOutOfBoundsException HOT 1
- event loop thread gets blocked during disconnection/reconnection HOT 3
- `resubscribe` logic looks ignoring sharded Pub/Sub (`shardChannels` Set of `PubSubEndpoint`) HOT 5
- CacheManager Not working with RedisCredentialsProviderFactory HOT 4
- enable auto batch flush
- Using Lettuce with Native Images Connection reset HOT 1
- CI is failing since yesterday HOT 1
- Revise the Advanced usage section
- fix: activation command may get retried in a different connection, or failed due to queue full or dangled due to auto flush is false
- Why bitField offset argument is int type?
- ClusterCommand error completeExceptionally cause OOM
- SPUBLISH not working for Reactive/Coroutines client when using pubsub connection HOT 1
- Hexpire and Httl function are not working with the 6.4.0.RELEASE
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 lettuce.