我在使用 commons-digester 解析 xml 文件时遇到 java.lang.NumberFormatException。
不知道这意味着什么:
Caused by: java.lang.NumberFormatException: For input string: "flickrmeetup rochester dan totheright 200701"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:449)
...
这是完整的错误消息:http://pastie.org/1708720
这是代码:http://codepad.org/tw39paE1
谢谢
最佳答案
看来您已将 flickrmeetup rochester dan totheright 200701
传递给 Integer.parseInt()
,这是 Not Acceptable
关于使用 commons-digester 进行解析时出现 java.lang.NumberFormatException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5422219/