No stack information - V (Unknown source)

I am having a problem with my application and wondering why I am not getting information about the stacks,

    java.lang.NoClassDefFoundError: org / apache / commons / logging / LogFactory
            at com.xyz () V (Unknown Source)

I am building with an Ant script - do I have to fiddle with some kind of compilation granularity option?

PS I'm not interested in NoClassDefFoundError, just the lack of a stack trace.

+2


source to share


1 answer


After some googling, I found it.

You need to add arguments;



debug="true" debuglevel="lines,vars,source"

      

to the javac task.

+6


source







All Articles