I wanted to use the JaxB annotation in my class like this:
@XmlRootElement
public class ItemExtension implements Serializable {
But GWT complains when I put it in the client side.
[ERROR] Line 4: The import javax.xml.bind cannot be resolved
[ERROR] Line 14: XmlRootElement cannot be resolved to a type
Is there a workaround or am I doing something wrong?