[英]Compile Error java project with netbeans8.2
I try to write a project with netbeans 8.2 on my computer.我尝试在我的计算机上使用 netbeans 8.2 编写一个项目。 when I copy it and import this project in another computer and try to compile it with netbeans 8.2 I see this error.please help me if possible: this is an error:
当我复制它并在另一台计算机中导入这个项目并尝试使用 netbeans 8.2 编译它时,我看到了这个错误。如果可能,请帮助我:这是一个错误:
"Could not load definitions from resource org/jetbrains/kotlin/ant/antlib.xml. It could not be found.
ant -f C:\\Users\\QUQNTOM\\Documents\\NetBeansProjects\\C hangefile -Dnb.internal.action.name=run run
init:
Deleting: C:\Users\QUQNTOM\Documents\NetBeansProjects\Change file\build\built-jar.properties
deps-jar:
Could not load definitions from resource org/jetbrains/kotlin/ant/antlib.xml. It could not be found.
Updating property file: C:\Users\QUQNTOM\Documents\NetBeansProjects\Change file\build\built-jar.properties"
This problem will be created when you install the IntelliJ from JetBrains and NetBeans at the same time.当您同时从 JetBrains 和 NetBeans 安装 IntelliJ 时,就会产生这个问题。 The .conf files are mixed, or whatever, I don't know what's happening behind the scenes.
.conf 文件是混合的,或者其他什么,我不知道幕后发生了什么。 The only solution I figured out that, I removed both of the IDEs, and reinstalled the JDK and the JRE also.
我想出的唯一解决方案是,我删除了两个 IDE,并重新安装了 JDK 和 JRE。 That will do the trick.
这样就行了。
In case it helps someone, having two versions of Netbeans, 8 and 12. In version 8, activate the Kotlin plug-in and create the file.reference.kotlin-runtime.jar = .. / .. / .. folder again.如果它对某人有帮助,有两个版本的 Netbeans,8 和 12。在版本 8 中,激活 Kotlin 插件并再次创建 file.reference.kotlin-runtime.jar = .. / .. / .. 文件夹。 /AppData/Roaming/NetBeans/8.1/kotlinc/lib/kotlin-runtime.jar and then work again
/AppData/Roaming/NetBeans/8.1/kotlinc/lib/kotlin-runtime.jar 然后再次工作
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.