
#xml
小抠的菜鸟之路
写给以后的自己,希望以后的我可以回头来看看自己
展开
-
idea运行报Command line is too long. Shorten command line for JeecgSystemCloudApplication
报错信息 : Command line is too long. Shorten command line for JeecgSystemCloudApplication or also for Spring Boot default configuration. 通过翻译过来是命令行太长,导致项目启动失败报错, 解决方法 : 在idea中找到.idea.workspace.xml文件, 然后找到其中的<component name="PropertiesComponent">这条标签 并加入原创 2021-05-13 09:33:26 · 3915 阅读 · 2 评论 -
java去除xml文件中的标签
str = str.replaceAll("(?<=<ImgData)[\\s\\S]*?(?=</ImgData>)", ""); str = str.replaceAll("<ImgData</ImgData>", ""); 使用正则去除, str表示要操作的字符串, 需要去除哪个标签, 即可把标签换成哪个就好了。原创 2020-11-24 20:42:22 · 2421 阅读 · 0 评论