ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 44756] New: Can' t get a class name or stack trace for NoClassDefFoundError
Date Fri, 04 Apr 2008 14:43:51 GMT

           Summary: Can't get a class name or stack trace  for
           Product: Ant
           Version: 1.6.5
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Core

Created an attachment (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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message