1

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?

Mahmoud K.
  • 7,172
  • 1
  • 30
  • 43

1 Answers1

3

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

user7294900
  • 52,490
  • 20
  • 92
  • 189