Giter Club home page Giter Club logo

Comments (11)

serpro69 avatar serpro69 commented on May 14, 2024 2

Great, thanks for confirming @rpmoore
Closing this for now. @ksinkar feel free to reopen if this is not fixed for you.

from kotlin-faker.

rpmoore avatar rpmoore commented on May 14, 2024 1

We're not using spring. I also tried down reving Jackson to 2.10.1 and that didn't resolve the issue. I can play with some of the other dependencies to see what it is.

from kotlin-faker.

serpro69 avatar serpro69 commented on May 14, 2024 1

@rpmoore please check if faker version 1.1.2 fixes it. I've bumped jackson dependencies to 2.11.0

from kotlin-faker.

rpmoore avatar rpmoore commented on May 14, 2024 1

Yeah, it's working like a champ now. This has been super helpful!

from kotlin-faker.

serpro69 avatar serpro69 commented on May 14, 2024

This could be caused by differences in 2.10.0 and 2.10.1

I've had the "need to fix dependencies" thought in the back of my head for awhile now (probably using the shadow plugin), but didn't have time as of late to add this. Feel free to submit a PR if you want.

For now upgrading your dependency seems like the best workaround. Else you can also try to exclude jackson-module-kotlin from faker's dependencies.

from kotlin-faker.

rpmoore avatar rpmoore commented on May 14, 2024

I'm also encountering the same issue but with Jackson 2.11. Exact same stack trace.

from kotlin-faker.

serpro69 avatar serpro69 commented on May 14, 2024

What springboot version are you using @rpmoore ? Will try to reproduce it.

from kotlin-faker.

rpmoore avatar rpmoore commented on May 14, 2024

Doing a little digging I found this issue FasterXML/jackson-module-kotlin#279

Seems like if you update to 2.10.2 that should resolve some of the issues going forward.

from kotlin-faker.

serpro69 avatar serpro69 commented on May 14, 2024

Thanks for digging that up @rpmoore Will update all of the dependencies and push the change on the weekend. Hopefully that will help.
I've also tried shading the dependencies, but there's no documentation on using gradle shade plugin with kotlin-dsl syntax, so that's still in progress.

from kotlin-faker.

rpmoore avatar rpmoore commented on May 14, 2024

I'll give it a try today and let you know.

from kotlin-faker.

rpmoore avatar rpmoore commented on May 14, 2024

That seemed to do the trick for me! I can run my tests without issue now.

from kotlin-faker.

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.