https://issues.apache.org/bugzilla/show_bug.cgi?id=44756
Summary: Can't get a class name or stack trace for
NoClassDefFoundError
Product: Ant
Version: 1.6.5
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: Core
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
Created an attachment (id=21782)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=21782)
Ant's -v log of the junit task, also the contents of my ant/lib
I am running the JUnit ant task. The output of the task is:
[junit] Exception in thread "main" java.lang.NoClassDefFoundError:
[junit] Tests FAILED
I've tried everything I can think of to get the class name or a stack trace
without success, including:
* -v and -debug flags
* loading up a console and looking in the ClassLoader for duplicates of Ant
classes (i'm not using anything suspect like weblogic.jar)
* running Ant in a debugger. I can't set a breakpoint for NoClassDefFoundError
because it's occurring in a forked process
I'm at a loss to figure out what's going on. There may be a problem with my
classpath but Ant doesn't give me enough information to figure out what it
might be.
Same problem occurs with Ant 1.6.2.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.