Mahmoud
Mahmoud

Reputation: 11431

Jersey 1.19.4 on Java 11

Can Jersey 1.19.4 work on Java 11?

If not, Is there an equivalent to Jersey 1.19.4 that support the same api and still works on Java 11?

Upvotes: 2

Views: 7345

Answers (1)

Ori Marko
Ori Marko

Reputation: 58772

You should upgrade to version 2.29 (at least)

Since Jersey 2.29, all modules can be built using Java SE 11 and all distributed modules provide support for Java SE 8+ (9,11).

For Java 10 use at least 2.27

See the Jersey Migration Guide for some other issues you may face when migrating to version 2.27

Upvotes: 5

Related Questions