如何解决j2me打包遇到:Errors during build.Errors running builder ‘Preverification’ on project

昨天用了在j2me项目中用了一个外部的jar包,编译都没有问题,结果打包时发现有个这样的错误:

Errors during build.Errors running builder ‘Preverification’ on project ‘XXXXX’.org.eclipse.jdt.internal.core.JavaModel.getTarget(Lorg/eclipse/core/

resources/IContainer;Lorg/eclipse/core/runtime/IPath;Z)Ljava/lang/Object;

org.eclipse.jdt.internal.core.JavaModel.getTarget(Lorg/eclipse/core/resources

/IContainer;Lorg/eclipse/core/runtime/IPath;Z)Ljava/lang/Object;

这可能是Eclipseme的一个bug,解决方法比较简单,以eclipse3.6为例:

1、点击eclipse的help菜单

2、选择install new software

3、点击add按钮,在地址栏输入:http://eclipseme.org/testversions

4、更新Eclipseme到1.8版本,重启Eclipse IDE就可以了

你可能感兴趣的:(eclipse,jar,ide,j2me)