Properties 在augeas中发生parse_failed错误,为什么会发生此错误以及如何解决此问题?

Properties 在augeas中发生parse_failed错误,为什么会发生此错误以及如何解决此问题?,properties,dependency-properties,properties-file,attached-properties,augeas,Properties,Dependency Properties,Properties File,Attached Properties,Augeas,我想使用augeas编辑文件“myfileDB.properties”。所以使用了Properties.lns。 但它会导致错误“parse_failed”和一段时间“parse_skel_failed”。解释此错误的根本原因并解决此问题 augtool> print /augeas/files/root/yog/myfileDB.properties/error/ /augeas/files/root/yog/myfileDB.properties/error = "parse_fa

我想使用augeas编辑文件“myfileDB.properties”。所以使用了Properties.lns。 但它会导致错误“parse_failed”和一段时间“parse_skel_failed”。解释此错误的根本原因并解决此问题

 augtool> print /augeas/files/root/yog/myfileDB.properties/error/
 /augeas/files/root/yog/myfileDB.properties/error = "parse_failed"
 /augeas/files/root/yog/myfileDB.properties/error/pos = "17835"
 /augeas/files/root/yog/myfileDB.properties/error/line = "318"
 /augeas/files/root/yog/myfileDB.properties/error/char = "0"
 /augeas/files/root/yog/myfileDB.properties/error/lens = "/usr/share  /augeas/lenses/dist/properties.aug:50.25-.100:"
 /augeas/files/root/yog/myfileDB.properties/error/message = "Iterated lens matched less than it should"

   /augeas/files/root/yog/myfileDB.properties/error = "parse_skel_failed"
   /augeas/files/root/yog/myfileDB.properties/error/pos = "4844943"
   /augeas/files/root/yog/myfileDB.properties/error/line = "53707"
   /augeas/files/root/yog/myfileDB.properties/error/char = "0"
   /augeas/files/root/yog/myfileDB.properties/error/lens = "/usr/share/augeas/lenses/dist/simplevars.aug:34.10-.46:"
   /augeas/files/root/yog/myfileDB.properties/error/message = "Iterated lens matched less than it should"

你能粘贴属性文件的第318行吗?另外,你的问题中似乎有两个不同的augtool运行的粘贴,并对它们之间的文件进行了修复。。。