Can run app but not debug it
I have a project with multiple modules. I created an Application
Run/Debug Configuration that works fine when run, but that exits with :
Exception in thread "main" java.lang.NoClassDefFoundError:
Process terminated with exit code 1
No stacktrace.
Does anyone else see this? Build 963 on Linux.
]]> seems
similar.
--
Mark Scott
Please sign in to leave a comment.
On Wed, 12 Nov 2003 15:18:17 +0000, Mark Scott wrote:
Actually, it doesn't, sorry.
--
Mark Scott
Try this issue: 20358.
Tom
On Wed, 12 Nov 2003 16:33:29 +0100, Thomas Singer wrote:
Thanks. That one does seem similar.
--
Mark Scott
Hello,
I experienced the same behavior, Run works but Debug throws a NoClassDefined Exception.
There are at least two bugs open on this (I know I filed one). I basically can't use the debugger right now. Others might be working around this by not using modules?
Hopefully this will be addressed in the next build.
Hi,
A workaround is to put the needed classes in the VM parameters in the dialog 'Run/Debug Configurations (e.g. -classpath c:\project\classes;c:\project\libs\...). Then you should be able to debug the application.
On Wed, 12 Nov 2003 16:11:03 +0000, Tim wrote:
I didn't find those two, and the one that I did find wasn't related. Sigh.
--
Mark Scott
On Thu, 13 Nov 2003 06:57:25 +0000, David Kusche wrote:
An excellent suggestion, thanks. It works just fine and is quicker than
remote debugging too.
--
Mark Scott
Yeah, the same here -- build 963 on Win2k. I've noticed that happening if I have multiple modules defined in my project, and I need classes/libraries defined not in the main module to run my application.
It doesn't seems to happen when I have just one (main) module defined.