Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jetty 9.x, Logback, and Java 17 Dependency Issues #801

Closed
brown131 opened this issue Jan 25, 2024 · 2 comments
Closed

Jetty 9.x, Logback, and Java 17 Dependency Issues #801

brown131 opened this issue Jan 25, 2024 · 2 comments

Comments

@brown131
Copy link

There is a cross-dependency issue with Pedestal, Jetty, and Logback in newer versions of Java.

  1. Pedestal 0.6.3 requires Jetty 9.x because it uses an interface (Trie) that does not exist in Jetty 10+
  2. Jetty 9.x requires a class (HttpField$Mutable) that no longer exists in Logback after 1.3., that is 1.4.+
  3. Logback 1.3.x requires javax.* libraries and not jakarta.* libraries (fixed in Logback 1.4.*) so it cannot be used with Java 17
  4. Thus one cannot upgrade to Java 17 using Pedestal 0.6.3 and Logback until Pedestal starts using Jetty 10+

I saw that there was version 0.7.0 that used Jetty 10 but was jettisoned (jetty-soned?) it seems because it had breaking changes.
However, as shown above, breaking changes are required if you wish to maintain Pedestal going forward. (Or, I suppose, you wish to force users to no longer use Logback.) Nonetheless, Jetty 9.x has not been supported for over a year (jetty/jetty.project#7958) so you should be upgrading to Jetty 10+ anyways!

@hlship
Copy link
Contributor

hlship commented Feb 23, 2024

Upgrading Jetty to 11 is in-progress for upcoming Pedestal 0.7.

@hlship hlship closed this as completed Feb 23, 2024
@brown131
Copy link
Author

Great! Roughly when can we expect Pedestal 0.7 to be released? Is there a release candidate? We are awaiting these updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants