Giter Site home page Giter Site logo

not support jdk17? about orika HOT 9 OPEN

funky-eyes avatar funky-eyes commented on August 18, 2024 2
not support jdk17?

from orika.

Comments (9)

Chr3is avatar Chr3is commented on August 18, 2024 2

@thiagolvlsantos we managed to replace Orika with https://mapstruct.org/ successfully. It was straight forward but that depends on the complexity of your mappings.

from orika.

funky-eyes avatar funky-eyes commented on August 18, 2024 1

Sorry, I think this method is only a temporary solution, not a real support for jdk17

from orika.

thiagolvlsantos avatar thiagolvlsantos commented on August 18, 2024 1

I agree @a364176773!

Looks like the authors gave up Orika, unfortunately.

Looking for replacements already, no new projects with Orika from now on.

from orika.

KaseiHaku avatar KaseiHaku commented on August 18, 2024 1

@Chr3is mapstruct is too cumbersome and requires defining conversion classes for each pair of POJOs

from orika.

ToryZhou avatar ToryZhou commented on August 18, 2024 1

@thiagolvlsantos we managed to replace Orika with https://mapstruct.org/ successfully. It was straight forward but that depends on the complexity of your mappings.

MapStruct always requires the writing of mappers.

from orika.

a19930905a avatar a19930905a commented on August 18, 2024

Hi @a364176773 , Sadly same issue was open in 2021 and Orika hasn't response for that
u can see there is workaround in that discussion , #377

from orika.

numacanedo avatar numacanedo commented on August 18, 2024

@a364176773 There is a work around:

  • Just add this jvm args, here is the code if you are using gradle
    bootRun { jvmArgs = ["--add-opens=java.base/java.lang=ALL-UNNAMED"] }

from orika.

wenjiezhang2013 avatar wenjiezhang2013 commented on August 18, 2024

duplicate of #377

from orika.

ToryZhou avatar ToryZhou commented on August 18, 2024

When using .parallelStream(), the orika maper is not working

ma.glasnost.orika.MappingException: ma.glasnost.orika.MappingException: While attempting the following mapping:
Error occurred: java.lang.ClassCastException:

Remove the following dependency solved this issue.

org.springframework.boot
spring-boot-devtools
true

but sometimes:
Caused by: java.lang.ClassNotFoundException: ma.glasnost.orika.impl.GeneratedMapperBase

from orika.

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.