如何通过使用软件包为 - >尝试生成EXE Installer文件后遇到的以下错误。 Netbeans中的EXE安装程序?
这可能是重复的,但是即使在搜索之后,我也无法解决问题,所以这就是为什么我在这里寻求帮助的原因。
我已经在NetBeans 12.5中创建了Java项目,当我通过IDE运行它时,一切都可以运行良好并编译时,当我尝试创建EXE文件时,就会出现问题,并通过使用程序包为 - > EXE安装程序选项。 Error is following:
C:\Users\Aldin\Documents\NetBeansProjects\Java_CarF_Manager\nbproject\build-native.xml:519: typedef class com.sun.javafx.tools.ant.FXJar cannot be found
using the classloader AntClassLoader[]
When I click onto "C:\Users\Aldin\Documents\NetBeansProjects\Java_CarF_Manager\nbproject\build-native.xml:519:
" it opens me build-native.xml file which I have no clue what is it used for and it selects following part of .XML code:
<typedef name="fx_jar" classname="com.sun.javafx.tools.ant.FXJar" classpath="${javafx.ant.classpath}"/>
I've tried to google my problem and before asking question here I previously read that the reason why's this happening is because I am trying to compile a program没有必要的依赖项,现在如果在这里,我想请求一些深入的指南如何设置这些依赖项,或者有人走到我的项目中,因为我说的是我几乎不喜欢关于这些文件有线索。
我目前正在运行Windows 10 OS。
This might be a duplicate, but even after searching I wasn't able to fix my problem, so that's why I am asking here for help.
I have created Java project in NetBeans 12.5, everything runs fine and compiles when I run it through IDE, the problem occurs when I try to create EXE file, by using Package As -> EXE installer option.
Error is following:
C:\Users\Aldin\Documents\NetBeansProjects\Java_CarF_Manager\nbproject\build-native.xml:519: typedef class com.sun.javafx.tools.ant.FXJar cannot be found
using the classloader AntClassLoader[]
When I click onto "C:\Users\Aldin\Documents\NetBeansProjects\Java_CarF_Manager\nbproject\build-native.xml:519:
" it opens me build-native.xml file which I have no clue what is it used for and it selects following part of .XML code:
<typedef name="fx_jar" classname="com.sun.javafx.tools.ant.FXJar" classpath="${javafx.ant.classpath}"/>
I've tried to google my problem and before asking question here I previously read that the reason why's this happening is because I am trying to compile a program without required dependencies, now if that's case here I'd like to request some in-depth guide how to setup these dependencies or someone to walk-me-through the process of adding them into my Project, because as I said I pretty much don't have clue about these files.
I am currently running Windows 10 OS.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论