IllegalAnnotationsException in JAXB when dealing with Lists and Maps

Solution In Progress - Updated -

Issue

Given this interface:

@javax.jws.WebService
public interface Hello {
  public Map<String, List<String>> parseListMap(String data);
}

I get an IllegalAnnotationsException. How can I effectively work with collections and maps with JAXB and JAX-WS?

Environment

  • JAXB
  • JBoss Enterprise Application Platform (EAP)

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