How do I solve EclipseLink's (MOXy) 'getting property “eclipselink.oxm.metadata-source” is not supported'?
问题 I've got the following piece of code which I've put together mainly based on tutorials on EclipseLink's website: Partner p = new Partner(); p.setId(1); p.setKey("a"); p.setName("this is the name"); Map<String, Source> metadataSourceMap = new HashMap<String, Source>(); metadataSourceMap.put("com.company.pas.entity.partner", new StreamSource("/com/company/pas/entity/mapping/partner-pojo2xml.xml")); Map<String, Object> properties = new HashMap<String, Object>(); properties.put