Netbeans没有运行我的项目 [英] Netbeans not running my project

查看:266
本文介绍了Netbeans没有运行我的项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次我尝试运行项目netbeans时,都会出现以下错误:

Everytime I try to run my project netbeans gives me the following error:

AppData \ Local \ NetBeans \ Cache \ 8.2 \ executor-snippets \ run.xml:53:Java返回:-1073740791

AppData\Local\NetBeans\Cache\8.2\executor-snippets\run.xml:53: Java returned: -1073740791

试图在另一台PC上运行并且可以运行,其他项目也可以运行. 我明天要交付这个项目,不知道该怎么办:/

Tried to run in another PC and it works, other projects also works. I gotta delivery this project tomorrow and don't know what to do :/

PS:对不起,我的英语不好.

PS: Sorry for my bad english.

推荐答案

这是xml中的第53行

Here is the line 53 from the xml

    <java classpath="${classpath-translated}" classname="${classname}" dir="${work.dir}" jvm="${platform.java}" fork="true" failonerror="${java.failonerror}">

在此基础上,我可以假定您应该检查以下内容:

Looking on it I can assume that you should check these:

  1. 检查项目中具有依赖项的库.
  2. 此处.也许您在项目属性中未定义主类.
  1. Check libs which your project have in dependencies.
  2. Take a look here. Maybe you have main class undefined in the project properties.

这篇关于Netbeans没有运行我的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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