java - Problems running unit tests after upgrading from Netbeans 6.5 to Netbeans 6.7 -


In Netbeans 6.7 I am selecting files under "Test packages" with existing projects from Netbeen 6.5 and correct methods Clicking Working -> Debug, or Right Click -> Run Reported Error:

  java.lang.NoSuchMethodError: The main exception in thread "main" Java result : 1  

I am using JUnit 4.x

I have not changed any code since the upgrade and many more Iojanaon would have tried it are working and I am still experiencing problems. I am able to right-click -> test on the entire project.

Is anyone aware of any changes that would require me to upgrade, or do anything broken in Netbeans 6.7?

Thank you for your help,

bn

Found a solution to work

If the following settings have not been checked in Netbeans 6.7, then act as a test such as 6.5: Right click -> "Project Properties" -> "Build" - "Compiling" -> "Save On Compile"

Therefore, this is at least one task, unless the actual problem is understood .

-bn


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -