我想使用Java平面文件解析器(jffp),並試圖運行TestCase(JUnit)「LineFormatTest」,它位於src文件內部(並且在點擊一些內部文件「測試」)。 我得到的是這樣的錯誤:Java平面文件解析器(jffp)LineFormatTest
org.sadun.text.ffp.FieldDefinitionException: Programming error: the fields field_1_1 (from position 0 to position5, length 5, type numeric) and field_1_1 (from position 0 to position5, length 5, type numeric) intersect
有沒有人嘗試運行該測試用例和整個這個錯誤絆倒呢?
謝謝@salvezza。你爲我節省了很多時間。你對其他Java1.7兼容的fixedformat解析器有什麼建議嗎? – lava
不,但這裏有一些列表https://code.google.com/p/flapjack/wiki/OtherFileParsers – salvezza
謝謝@salvezza,你發現無論如何通過修改jffp源代碼來修復它? – Don