You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "hunter (Jira)" <ji...@apache.org> on 2023/05/18 12:48:00 UTC
[jira] [Created] (RANGER-4243) java.util.Map is an interface, and JAXB can't handle interfaces
hunter created RANGER-4243:
------------------------------
Summary: java.util.Map is an interface, and JAXB can't handle interfaces
Key: RANGER-4243
URL: https://issues.apache.org/jira/browse/RANGER-4243
Project: Ranger
Issue Type: Improvement
Components: plugins
Affects Versions: 2.4.0
Reporter: hunter
{code:java}
@XmlAccessorType(XmlAccessType.FIELD)
public class RangerPolicy extends RangerBaseModelObject implements java.io.Serializable {
...
private List<Map<String, RangerPolicyResource>> additionalResources;
}{code}
java.util.Map is an interface, and JAXB can't handle interfaces, whether the class that implements the XmlAdapter interface should be configured?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)