在netbeans中运行应用程序会导致NoSuchMethodError [英] Running application in netbeans results in NoSuchMethodError

查看:86
本文介绍了在netbeans中运行应用程序会导致NoSuchMethodError的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在我的Netbeans 6.9.1中运行一个简单的应用程序时,它显示任务运行,点击查看详细信息很长一段时间。而且当netbeans底部出现错误意外异常时我点击了:

While I'm running a simple application in my Netbeans 6.9.1,it's showing "task running, click for details" for a long time .and also there is an error "unexpected exception" in the bottom of the netbeans when I'm clicking that:


NoSuchMethodError: org.apache.tools.ant.util.FileUtils.getFileUtils()Lorg/apache/tools/ant/util/FileUtils;

此错误即将发生。在此应用程序执行良好之前的几天,但现在所有应用程序出现此错误。主要错误是它没有运行,但它显示运行很长时间..

This error is coming. Few days before this application executed well, but now this error for all applications.The main error is it's not running,but it's showing "running" for a long time..

推荐答案

您应该转移到更新或至少稳定版本的netbeans(从我可以看到您使用的是测试版'6.9beta'。下载最新的netbeans稳定版并打开你的项目在那里。

You should move to the newer or at least stable version of netbeans (from what I can see you are using a beta version '6.9beta'. Download the latest stable release of netbeans and open your project there.

这篇关于在netbeans中运行应用程序会导致NoSuchMethodError的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆