From 00761394f04a2c9a15362afdfc8e9d41a190a2eb Mon Sep 17 00:00:00 2001 From: linsm Date: Wed, 6 Jan 2021 15:36:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 9950815..78e1b27 100644 --- a/README.md +++ b/README.md @@ -9,3 +9,11 @@ You can use the JAXB xjc command to convert XSD to bean. See below for details ``` xjc H:\springsts_workspaces_pro\wezone-thirdparty-master\amazon\amazon-selling-partner-data-xsds\src\main\resources\xsds\Product.xsd -d H:\springsts_workspaces_pro\wezone-thirdparty-master\amazon\amazon-selling-partner-data-xsds\src\main\java\ -b H:\springsts_workspaces_pro\wezone-thirdparty-master\amazon\amazon-selling-partner-data-xsds\src\main\resources\binding.xml -p com.amazon.SellingPartnerAPI.model -encoding UTF-8 ``` + +--- + +**# 注意实现 ** +
+- 1、重新生成时,需更改内部类嵌套重名问题,可通过mvn install定位异常类,并逐一解决;
+- 2、BBFCRatingType与BBFCRatingType1内容一致,删除BBFCRatingType1,并更改影响受影响的类。
+ (出现这种情况的原因是:多个xsd存在相同类时,无法生成,只能通过更改类名解决。