简体   繁体   English

NetBeans中的Java异常verifyError

[英]java exception verifyError in NetBeans

This question is similar, but didn't work. 这个问题是相似的,但是没有用。 I copied and pasted my project folder (because all I need is a different background image for a different client), then opened the copied project with NetBeans and run it. 我复制并粘贴了项目文件夹(因为我需要的是不同客户端的不同背景图像),然后使用NetBeans打开复制的项目并运行它。 This error arises on startup: 在启动时出现此错误:

Exception in thread "main" java.lang.VerifyError: Constructor must call super() or this() before return in method com.einge.scadaremotecontrol.ProgramacionAuto.<init>(Lorg/joda/time/DateTime;I)V at offset 0

The original project works just fine (I close one to run the other, so as not to get confused or have two identical programs running in the VM). 原始项目运行良好(我关闭了一个项目以运行另一个项目,以免混淆或在VM中运行两个相同的程序)。 What could be the problem? 可能是什么问题呢? NetBeans is 7.1.2 JDK is 7u5 Thanks in advance NetBeans是7.1.2 JDK是7u5预先感谢

Edit: I have just tried it in an other computer and it works fine (NB 7.1, JDK 7u3 it think) Still have no idea what happened back there. 编辑:我刚刚在另一台计算机上尝试过它,并且工作正常(NB 7.1,JDK 7u3认为)仍然不知道那里发生了什么。 If any solutions come up they will be welcomed. 如果有任何解决方案,将受到欢迎。

Rebuild the project first. 首先重建项目。 Most probably it will take care of it. 它很可能会照顾好它。

If not, rebuild it, exit netbeans. 如果没有,请重建它,退出netbeans。 Then reopen after few seconds. 然后几秒钟后重新打开。 This is what I do in JavaFX unexpected build errors. 这就是我在JavaFX中发生的意外生成错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 MySql连接错误(Java.lang.VerifyError)(IDE:Netbeans) - MySql Connection Error (Java.lang.VerifyError) (IDE: Netbeans) PDFbox异常-线程“ main”中的异常java.lang.VerifyError - PDFbox Exception - Exception in thread “main” java.lang.VerifyError Netbeans java 意外异常 - Netbeans java unexpected exception Java编译错误:线程“ main”中的异常java.lang.VerifyError: - Java Compilation Error: Exception in thread “main” java.lang.VerifyError: 捕获Java匿名类中的抽象异常时,Android VerifyError - Android VerifyError when catching an abstract exception in Java anonymous class java.lang.VerifyError:Vertx,Dse应用程序上的AbstractEpollUnsafe异常 - java.lang.VerifyError : AbstractEpollUnsafe exception on Vertx, Dse application 使用JDOM时获取java.lang.VerifyError异常 - Getting java.lang.VerifyError exception while using JDOM 使用 PowerMock 导致 java.lang.VerifyError 异常 - Using PowerMock causes java.lang.VerifyError exception java.lang.VerifyError:main()抛出异常:函数的参数不兼容 - java.lang.VerifyError: main() threw exception :Incompatible argument to function 异常的原因java.lang.VerifyError:操作数堆栈上的错误类型 - Reason for the exception java.lang.VerifyError: Bad type on operand stack
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM