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

0
8 comments

On Wed, 12 Nov 2003 15:18:17 +0000, Mark Scott wrote:


<http://www.intellij.net/tracker/idea/viewSCR?publicId=20785> seems
similar.


Actually, it doesn't, sorry.

--
Mark Scott

0

Try this issue: 20358.

Tom

0

On Wed, 12 Nov 2003 16:33:29 +0100, Thomas Singer wrote:

Try this issue: 20358.


Thanks. That one does seem similar.

--
Mark Scott

0

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.

0

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.

0

On Wed, 12 Nov 2003 16:11:03 +0000, Tim wrote:

There are at least two bugs open on this (I know I filed one).


I didn't find those two, and the one that I did find wasn't related. Sigh.

--
Mark Scott

0

On Thu, 13 Nov 2003 06:57:25 +0000, David Kusche wrote:

A workaround is to put the needed classes in the VM parameters in the
dialog


An excellent suggestion, thanks. It works just fine and is quicker than
remote debugging too.

--
Mark Scott

0

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.

0

Please sign in to leave a comment.