【发布时间】:2012-04-16 00:27:00
【问题描述】:
在我的 Google App Engine 应用程序中,我使用 jsoup 库 (jsoup.org)。 我在 Eclipse 上安装了 GAE 的 1.6.4 SDK,并且代码仅在 localhost 上停止工作。如果我使用 GAE 1.6.3,appspot.com 上的应用程序运行良好,并且相同的应用程序在 localhost 中运行良好。
代码是(例如):
string = Jsoup.clean(string, Whitelist.none());
例外情况是:
java.lang.ClassFormatError: Invalid method Code length 73191 in class file org/jsoup/nodes/Entities
或者(当我第二次执行代码时)
java.lang.NoClassDefFoundError: Could not initialize class org.jsoup.nodes.Entities$EscapeMode
有人有同样的问题吗?我该如何解决?
【问题讨论】:
标签: java google-app-engine localhost jsoup