|
@@ -79,7 +79,7 @@ public class CqdxService {
|
|
|
break;
|
|
|
}
|
|
|
} catch (Exception e) {
|
|
|
- System.out.println("==>有错误的XML:" + filePath);
|
|
|
+ System.out.println("==>有错误的XML:" + filePath + " Error:" + e.getMessage());
|
|
|
break;
|
|
|
}
|
|
|
|
|
@@ -100,7 +100,6 @@ public class CqdxService {
|
|
|
okFile.renameTo(newFile);*/
|
|
|
|
|
|
System.out.println("第" + i + "个xml文件已经处理完,文件名为:" + filePath);
|
|
|
-// if (i > 50) break;
|
|
|
}
|
|
|
System.out.println("处理完成...");
|
|
|
}
|
|
@@ -557,7 +556,7 @@ public class CqdxService {
|
|
|
|
|
|
String base64 = ImgDataUtils.loadImageToBase64(url);
|
|
|
if (base64 == null) {
|
|
|
- throw new Exception("图片下载失败" + url);
|
|
|
+ throw new Exception("图片下载失败!" + url);
|
|
|
} else {
|
|
|
if (src.contains("jpg")) {
|
|
|
str = str.replace(parseImageSrc.get(0),
|