Netbeans 7.2.1中断参考:dist.jar(在JavaFX文件上编码时) [英] Netbeans 7.2.1 broken reference : dist.jar (when coding on a JavaFX file)

查看:124
本文介绍了Netbeans 7.2.1中断参考:dist.jar(在JavaFX文件上编码时)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试阅读一些教程来学习JavaFX,但我甚至无法实现helloworld应用程序。 NetBeans说:

I'm trying to learn JavaFX with reading some tutorials however, I couldn't even implement the "helloworld" application. The NetBeans said:


错误:无法找到或加载主类helloworld.NewFXMain
Java结果:1

Error: Could not find or load main class helloworld.NewFXMain Java Result: 1

然后当我选中Properties - > Libraries - > Run part时会出现一条警告,上面写着

and then when I checked Properties-->Libraries-->Run part there is a warning which says


参考文献:dist.jar

Broken reference : dist.jar

我该如何解决这个问题?

How can I solve this?

推荐答案

当您在java fx中创建一个新项目并希望运行该项目以进行演示时,会发生此错误。
您可以尝试下面给出: -
1.right点击项目。
然后点击清理和构建。
用netbeans运行你的项目。

when you create a new project in java fx and want to run the project for demo then this error occur . you can try it given below:- 1.right click on project. then click on clean and build. its running your project in netbeans.

这篇关于Netbeans 7.2.1中断参考:dist.jar(在JavaFX文件上编码时)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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