This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE 7.0 (Build 201104080000) Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.6.0_26 Runtime = Java HotSpot(TM) Client VM 20.1-b02 The Unit Test Libraries folder of the modules have an exclamation mark. So I right click and select add missing dependencies. Then IDE says that JUnit needs to be installed when it already is. I'll attach pictures in a bit.
Created attachment 109623 [details] Prompt 1
Created attachment 109624 [details] Prompt 2
Any update/additional information I can provide?
It looks the same issue as http://netbeans.org/bugzilla/show_bug.cgi?id=199953. Please follow the instructions from http://netbeans.org/bugzilla/show_bug.cgi?id=199953#c3 and let me know if that helps.
No, it doesn't help. From the files in the nbm it expects it on the modules folder with the junit jar files in the modules/ext folder. What I don't see a reference for is the org-netbeans-libs-junit4.jar file which only contains a Bundle file.
Please try the following: 1) reinstall/install JUnit module via Update Center (Menu Tools-> Plugins->Available Plugins/Installed Plugins) 2) start NetBeans with clean userdir (http://wiki.netbeans.org/FaqWhatIsUserdir) and see if that helps
Tried that yesterday, for another issue I reported, but the same issue is still present.
Have you checked your target platform? Does it have JUnit module installed? Please go to the Project Properties menu and make sure the NetBeans Platform that is used as target platform for your module contains org-netbeans-libs-junit4 and junit4 jars. If not, please install it or change the platform.
The custom platform does. Even if I switch to default platform the issue is there.
I found this when I accepted the IDE prompt to download and install JUnit: INFO [org.netbeans.core.startup.NbEvents]: Turning on modules: org.netbeans.libs.junit4 [1.13 201107282000] org.netbeans.modules.junitlib [1.0 201107282000] WARNING [org.netbeans.modules.project.libraries.LibrariesStorage]: Cannot load library from file org-netbeans-api-project-libraries/Libraries/junit-4.8.2.xml in Default System, reason: LibraryDeclarationHandlerImpl: Cannot create library: junit_4 of unknown type: j2se WARNING [org.netbeans.modules.project.libraries.LibrariesStorage]: Cannot load library from file org-netbeans-api-project-libraries/Libraries/junit-3.8.2.xml in Default System, reason: LibraryDeclarationHandlerImpl: Cannot create library: junit of unknown type: j2se
Please attach the full log here. Thanks.
Hi, I had this problem and I think it may be related to windows file permissions problems (under program files) when Netbeans tries to copy jars when installing/updating them. I remember having a similar problem with Netbeans 6.9 after installing an update and the jar not being copied. First time I could solve it by manually copying jars from C:\Users\Eduardo\.netbeans but it is tricky, so I ended up using Netbeans zip distributions and this problem dose not happen again. This problem is happening very often to our netbeans application users. This bug is also the same as bug 196500
*** This bug has been marked as a duplicate of bug 196500 ***