Getting "Illegal argument exception" on EAP 7.2 when update Java 8 to Java 11

Solution Verified - Updated -

Issue

My web service won't deploy after upgrading to Java 11 from Java 8. I am receiving an Illegal argument exception from the undertow libraries.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 7.2.8
  • Jersey 2.26

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content