IllegalAnnotationsException in JAXB when dealing with Lists and Maps
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.