我将一个 netbeans 项目导入 Eclipse(Pulsar for Mobile Developers.Version:Helios Service Release 1,Build id:20100917-0705)。我多次出现两个错误-
- Random 类型中的 nextInt() 方法不适用于参数 (int)
- 未为 String 类型定义方法 equalsIgnoreCase(String)
该项目在netbeans中运行良好,但由于OutOfMemoryError,我无法调试它,因此切换到eclipse。
我已经看到了,但它并没有解决我的问题。
任何其他提示来解决这个问题?
- 萨利尔