Error staring microservice when using jackson-core

Hi,

I am currently migration from Payara 5 to 6. We have a maven project and using the payara micro version:

fish.payara.extras
payara-micro
${payara-micro.version}

All works ok when using payara 5, however payara 6 doesn’t scan correctly the beans, the error log shows:

aug. 29, 2024 8:52:01 A.M. org.glassfish.hk2.classmodel.reflect.Parser$5 on

SEVERE: Exception while visiting META-INF/versions/19/com/fasterxml/jackson/core/io/doubleparser/FastDoubleSwar.class of size 7793

java.lang.IllegalArgumentException: Unsupported class file major version 63

at org.objectweb.asm.ClassReader.(ClassReader.java:199)

I found similar issues on the internet related to gradle (which we don’t use)

The issue stated that they use multi-release classes . I don’t see this error in Payara 5. Can’t payara 6 handle this? |
The first version of payara 6 already gives this error, using the latest also. So it seems something introduced in 6

Can you share more details about your environment?

What JDK version are you running?
What version of Payara?
What version of jackson-core?

1 Like

Sorry, my mistake. Wrong version of some components in pom for version 6 of Payara micro