Comments (10)
I think I have solved this issue this morning. The issue was introduced in jackson-databind:jar:2.15.x
. There are two solutions, to back port to jackson-databind:jar:2.14.x
or explicitly import jackson-annotations with the 2.15.x libraries.
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${dep.jackson.version}</version>
</dependency>
I have tested both and receive valid results for both. I will move forward with the explicit import for now.
Let me know if you want me to try something different to confirm.
I appreciate your help with debugging this issue.
from merge-java-client.
It looks like this may be a dependency issue around your Jackson libraries
Could you share the following to help me look into this further?
- output of
mvn dependency:tree
- any parts of your
pom.xml
where Jackson dependencies are defined
from merge-java-client.
Yes, here are my Jackson versions
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${dep.jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${dep.jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
<version>${dep.jackson.version}</version>
</dependency>
<dep.jackson.version>2.15.4</dep.jackson.version>
from merge-java-client.
Thanks! Could I get the mvn dependency:tree
output as well?
from merge-java-client.
I'm having trouble running that command.
from merge-java-client.
Could you share what the issue with the command is? We'll need this output to continue troubleshooting
from merge-java-client.
I had an old version of maven-dependency-plugin
. Problem fixed.
Here is part of the dependency tree. Prefer not to post the whole dependency tree here.
+- dev.merge:merge-java-client:jar:1.0.8:compile
[INFO] | +- com.squareup.okhttp3:okhttp:jar:4.12.0:compile
[INFO] | | +- com.squareup.okio:okio:jar:3.6.0:compile
[INFO] | | | \- com.squareup.okio:okio-jvm:jar:3.6.0:compile
[INFO] | | | \- org.jetbrains.kotlin:kotlin-stdlib-common:jar:1.9.10:compile
[INFO] | | \- org.jetbrains.kotlin:kotlin-stdlib-jdk8:jar:1.8.21:compile
[INFO] | | +- org.jetbrains.kotlin:kotlin-stdlib:jar:1.8.21:compile
[INFO] | | \- org.jetbrains.kotlin:kotlin-stdlib-jdk7:jar:1.8.21:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.15.4:compile
[INFO] | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.12.3:compile
[INFO] | \- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.12.3:compile
from merge-java-client.
Based on the dependency tree, I updated my POM to the following:
<dep.jackson.version>2.15.4</dep.jackson.version>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${dep.jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${dep.jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
<version>${dep.jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jdk8</artifactId>
<version>${dep.jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
<version>${dep.jackson.version}</version>
</dependency>
Which created the following dependency tree:
``
[INFO] +- dev.merge:merge-java-client:jar:1.0.8:compile
[INFO] | +- com.squareup.okhttp3:okhttp:jar:4.12.0:compile
[INFO] | | +- com.squareup.okio:okio:jar:3.6.0:compile
[INFO] | | | - com.squareup.okio:okio-jvm:jar:3.6.0:compile
[INFO] | | | - org.jetbrains.kotlin:kotlin-stdlib-common:jar:1.9.10:compile
[INFO] | | - org.jetbrains.kotlin:kotlin-stdlib-jdk8:jar:1.8.21:compile
[INFO] | | +- org.jetbrains.kotlin:kotlin-stdlib:jar:1.8.21:compile
[INFO] | | - org.jetbrains.kotlin:kotlin-stdlib-jdk7:jar:1.8.21:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.15.4:compile
[INFO] | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.15.4:compile
[INFO] | - com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.15.4:compile
But I still get the same error.
`java.lang.NoSuchFieldError: READ_UNKNOWN_ENUM_VALUES_USING_DEFAULT_VALUE`
from merge-java-client.
Where are you running this, locally? If you haven't already, could you run mvn clean
, rebuild the project, and try again?
from merge-java-client.
This looks like a good fix, glad you were able to figure out it!
from merge-java-client.
Related Issues (7)
- Fetching a category agnostic link token HOT 1
- Creating a Ticketing Comment Fails with a 400 Bad Request. HOT 1
- accessToken required in v1.0.6 for linkToken creation HOT 2
- Extended Employee Api
- merge-java-client#1.0.8: LinkTokenClient has No Such method error
- Default value of `timeout` in RequestOptions should be Optional.empty(), not null HOT 1
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 merge-java-client.