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.
Summary: | getting error message package org junit does not exit - do not know why | ||
---|---|---|---|
Product: | java | Reporter: | beverley |
Component: | JUnit | Assignee: | Yulia Novozhilova <ynov> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | mmirilovic |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
beverley
2010-12-04 15:41:45 UTC
Because of this error can not do testing or build projects. Full error message is as follows. C:\Documents and Settings\Beverley Hartland\.netbeans\6.9\var\cache\executor-snippets\junit.xml:80: The following error occurred while executing this line: C:\Documents and Settings\Beverley Hartland\.netbeans\6.9\var\cache\executor-snippets\junit.xml:63: The <classpath> for <junit> must include junit.jar if not in Ant's own classpath BUILD FAILED (total time: 0 seconds) It looks like junit library was somehow removed from your NetBeans project. It is easy to add it again. Please right-click the Test Libraries node, choose Add Library and add the JUnit 3.*/4 libraries to the project. You can find more info here: http://netbeans.org/kb/docs/java/junit-intro.html#Exercise_30 I downgrade the issue to P3 and close it as soon as you manage to resolve your issue. Hope the advice helped. Closing the issue. |