我正在尝试预先验证“signpost-commonshttp4-1.2.1.1.jar”文件以在 BlackBerry 项目中使用它
这是我正在尝试的命令。因为它还需要“signpost-core-1.2.1.1.jar”到已经预先验证的类路径。
C:\Eclipse_bb\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.25\components\bin> preverify.exe -classpath "C:\Eclipse_bb\plugins\net.rim.ejde.componentpack5.0.0_5. 0.0.25\components\lib\net_rim_api.jar;C:\Program Files\Java\jdk1.6.0_25\jre\lib\ rt.jar;C:\Eclipse_bb\plugins\net.rim.ejde.componentpack5.0.0_5 .0.0.25\components\bin\output\signpost-core-1.2.1.1.jar" signpost-commonshttp4-1.2.1.1.jar
在这里,我添加了 net_rim_api.jar、rt.jar 和 signpost-core-1.2.1.1.jar 的类路径
它抛出错误
错误预验证类
oauth.signpost.commonshttp.CommonsHttpOAuthConsumer
VERIFIER ERROR
oauth/signpost/commonshttp/CommonsHttpOAuthConsumer.wrap(Ljava/lang/Object;)Loauth/signpost/http/HttpRequest;:
常量池中的非法类型