Running application in netbeans results in NoSuchMethodError

依然范特西╮ 提交于 2019-12-30 14:24:13

问题


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..


回答1:


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.



来源:https://stackoverflow.com/questions/7387477/running-application-in-netbeans-results-in-nosuchmethoderror

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!