question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0.0-M1-Release-Notes#json-b

What needs to be done

Dependency management for Apache Johnzon has been removed in favor of Eclipse Yasson. A Jakarta EE 9-compatible version of Apache Johnzon can be used with Spring Boot 3, but you will now have to specify a version in your dependency declaration.

if dependency to Johnzon found on classpath…

  1. if the version is managed by Spring Boot 1.1 replace it with org.apache.johnzon:johnzon-core:1.2.18:jakarta 2 if the version is NOT managed by Spring Boot (declared) 2.1 replace it with org.apache.johnzon:johnzon-core:1.2.18:jakarta
  • Implement an Action with the described steps
  • Write a test using TestProjectContext for this Action
  • Find out what ‘compatible’ means, which version of Johnzon is used in Boot 2.7 and for which version of Johnzon a new Jakarta Compatible version exists
  • Implement the replacement

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tkvangordercommented, Nov 5, 2022

FYI, we have included a recipe in rewrite-migrate-java to make the appropriate changes to johnzon dependencies in maven:

https://github.com/openrewrite/rewrite-migrate-java/issues/139

0reactions
ravig-kantcommented, Jul 27, 2022

Hi @fabapp2

PR raised.

Ravi

Read more comments on GitHub >

github_iconTop Results From Across the Web

org.springframework.boot » spring-boot-starter-json » 3.0.0-M1
Spring Boot Starter JSON » 3.0.0-M1. Starter for reading and writing json. License, Apache 2.0. Tags, jsonspringstarter.
Read more >
Dependency Versions - Spring
Group ID Artifact ID Version antlr antlr 2.7.7 ch.qos.logback logback‑access 1.2.10 ch.qos.logback logback‑classic 1.2.10
Read more >
Overview (beanio 3.0.0.M1 API)
Base ParserFactory implementation for flat stream formats (CSV, delimited and fixed length). org.beanio.internal.compiler.json.
Read more >
grails - 3.0.0.M1 how to run on https connection - Stack Overflow
First of all, Grails 3.0.0.M1 is not production ready, if thinking about making the move. Major changes for Grails 3 include:.
Read more >
JSON-B Extensions – Plugin Updates Report - Apache Johnzon
org.apache.maven.plugins, maven-deploy-plugin, 2.8.2, 3.0.0-M1. org.apache.maven.plugins, maven-docck-plugin, 1.1. org.apache.maven.plugins ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found