天天看點

報錯java.lang.NoSuchMethodError: antlr.collections.AST.getLine()I

本人小白一個,為了寫畢設才學的java,今天在調試時出現了“”java.lang.NoSuchMethodError: antlr.collections.AST.getLine()I”錯誤,在網上查閱後發現是Struts2 core 裡面的antlr2.7.2與tomcat的antlr2.7.7沖突,在項目中把antlr2.7.2删掉就解決了,在此記錄一下

繼續閱讀